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: Kevin Rodgers
Subject: Re: highlight current window/modeline after switching to it
Date: Fri, 14 Nov 2003 09:37:31 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

clemens fischer wrote:

with at least two windows open, i often have trouble to find the
active one, ie. the one where the curser is ready to accept commands.
so i want eg. the modeline swap fore- and background colors or parts
of it.  my older versions (this is a GNU Emacs 21.3.1
(i386-unknown-freebsd4.8, X toolkit, Xaw3d scroll bars)) did this
without any extra elisp.

i couldn't find a ready-made function, so my question continues with
"is there a hook called on each `other-window'"?  i think i could take
it from there with the elisp snippets already collected :)

(defadvice other-window (after my-hook activate)
  ...)

--
Kevin Rodgers



reply via email to

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