[Top][All Lists]

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

Re: [PATCH] frame.c: focus hooks

From: Josh
Subject: Re: [PATCH] frame.c: focus hooks
Date: Thu, 9 Jan 2014 09:01:24 -0800

On Tue, Nov 19, 2013 at 11:34 PM, martin rudalics <address@hidden> wrote:
>> Yes, that's a fair point.  Is there some way we could distinguish
>> between such ephemeral selected-window changes and transitions from
>> one steady state to another?
> If the NORECORD argument is non-nil as in `with-selected-window', the
> call is usually an ephemeral one.  `buffer-list-update-hook' is called
> only when NORECORD is nil.

Sorry I failed to follow up on this earlier.  Stefan, do I understand
correctly that you'd be amenable to a new `select-window-hook'
provided that it did not come into play for the ephemeral changes of
selected-window that can occur within a single command?  If so, I'd
like to take a stab at implementing this (I realize that any such hook
could not be checked in until the feature thaw).  Unless anything has
changed since your earlier comment[0], I'd start with your suggestion
of adding the new run_hooks call to Fselect_window after verifying
that all of its current callers can tolerate running arbitrary Elisp.

[0] http://debbugs.gnu.org/cgi/bugreport.cgi?bug=7381#59


reply via email to

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