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: 19 Nov 2003 09:48:12 -0500
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

I tried loading e-other-window without the cm-other-window function
defined or mapped, and it had no effect by itself. 

cm-other-window is the only way I know to get it working... I'd
welcome any suggestions :)

- Chris

François Fleuret <francois.fleuret@inria.fr> writes:

> Hi people,
> 
> Chris McMahan wrote on 18 Nov 2003 22:12:35 MET:
> 
> > e-other-window can be found at:
> > http://relativity.yi.org/el/e-other-window.el
> 
> > ;;; 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)
> 
> Isn't it precisely what e-other-window does ?
> 
> Btw, I had this problem several times already: what is the standard
> way to change one window background color ? In e-other-window, they
> use an overlay to change the color of the face. The problem with that
> solution is that it changes the color of non-empty lines only ...
> (which lead to ugliness such as *modifying* empty buffer by inserting
> a '\n', cf. e-other-window-blink).
> 
> Regards,
> 
> -- 
> François Fleuret

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


reply via email to

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