emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] frame.c: focus hooks


From: martin rudalics
Subject: Re: [PATCH] frame.c: focus hooks
Date: Sat, 11 Jan 2014 11:25:27 +0100

>> 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.

Can you telll me whether/why `buffer-list-update-hook' doesn't work for
you?

martin



reply via email to

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