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 Thanks, Josh
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4