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

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

Re: `auto-dim-other-windows` -- scrutiny invited


From: Stefan Monnier
Subject: Re: `auto-dim-other-windows` -- scrutiny invited
Date: Wed, 03 Apr 2013 18:23:43 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> The problem with `window-configuration-change-hook` is that it isn't called
> all the times we would need it. For example, it's not called when you do
> `other-window` via `C-x o`.

It's not sufficient, indeed: it's the hook needed to know when an overlay
needs to be added.  But you additionally need a post-command-hook to
disable the overlay of the selected window (and enable the overlay of
the previously selected window).


        Stefan



reply via email to

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