help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: highlight current window/modeline after switching to it


From: Chris McMahan
Subject: Re: highlight current window/modeline after switching to it
Date: 18 Nov 2003 16:12:35 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I've got the following code that flashes the newly-selected
window. The latest version of emacs has faces for mode-line and
mode-line-inactive that will allow you to change their appearance.

e-other-window can be found at:
http://relativity.yi.org/el/e-other-window.el

;;;============================================================
;;; e-other-window flashes the window when traversing windows within a
;;; fram to help locat the cursor
;;;============================================================
(require 'e-other-window)
(setq e-other-window-interval .05)
(set-face-background 'e-other-window-overlay-face "LightSteelBlue")

;;; map it to the standard keybinding to swith windows
(defun cm-other-window ()
  (interactive)
  (other-window 1)
  (e-other-window-blink)
  )
(global-set-key "\C-xo" 'cm-other-window)

- Chris McMahan

Kevin Rodgers <address@hidden> writes:


-- 
     (.   .)
  =ooO=(_)=Ooo========================
  Chris McMahan | cmcmahan-at-one.net
  ====================================


reply via email to

[Prev in Thread] Current Thread [Next in Thread]