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

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

bug#7381: 24.0.50; Provide a hook run when a window is selected


From: martin rudalics
Subject: bug#7381: 24.0.50; Provide a hook run when a window is selected
Date: Fri, 12 Nov 2010 14:05:31 +0100
User-agent: Thunderbird 2.0.0.21 (Windows/20090302)

> Any reason not to have `get-mru-window' in the trunk (I actually
> searched for exactly that before resorting to the advice hack)?

In general it's not very useful because the mru-window is usually the
selected one (unless it was selected with NORECORD non-nil).  I use it
only in `delete-other-windows' when the selected window gets deleted.

> (And I guess the hook proposal still stands as well, or are there any
> arguments against that? One might want to do other things triggered by
> window selection.)

Can't you use `window-configuration-change-hook'?

martin





reply via email to

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