Am 04.04.2013 22:12, schrieb Steven Degutis:
I wrote auto-dim-other-buffers.el (
https://github.com/sdegutis/auto-dim-other-buffers.el) a few days ago,
which applies a "dimmed" face to non-current buffers.
It adds to post-command-hook and after-change-major-mode-hook, the first as
a catch-all "something changed" and the second as a hacky way of saying "a
new buffer just got created".
This mostly works. But sometimes new buffers are created that don't change
major modes.
Hi Steven,
AFAIU it's quite simple: there is only one buffer current, where all other will be
subject to "dimmed".
If right, solution will not be to look what others do, but run-with-idle timer
a routine dimming
everything except the current buffer.
Just my thoght,
Andreas