[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Highlighting current window
From: |
Francesco Mazzoli |
Subject: |
Highlighting current window |
Date: |
Sat, 30 Jun 2012 11:30:29 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi list,
I was looking for ways to make the focused window clearer. The best
way would probably a slightly lighter background.
However, I couldn't find any hooks to easily do that. I was expecting
something along the lines of `window-leave-hook' and
`window-focus-hook' but I couldn't find anything similar.
The best suggestion that the IRC people came up with is to use
`post-command-hook' and match `switch-buffer', but that sounds a bit
ugly. Is there a better way?
--
Francesco * Often in error, never in doubt
- Highlighting current window,
Francesco Mazzoli <=