bug#81589: 31.0.91; Regression: window-buffer-change-functions no longer firing on set-window-configuration

"J.D. Smith" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
Eli Zaretskii <[email protected]> writes:

>> From: "J.D. Smith" <[email protected]>
>> Date: Sun, 09 Aug 2026 08:16:30 -0400
>> 
>> 
>> In the latest v31, upon using `set-window-configuration' (e.g. via
>> `tab-bar-history-back') to change the buffer in a window, the
>> `window-buffer-change-functions' are not run.  Neither global nor
>> buffer-local values of this hook are run, in contrast to earlier
>> versions.
>> 
>> I have verified that this is a recent regression caused by commit
>> d6f7b2d99bd in bug#81097.  With this commit, the hook does not run.
>> Without it, it does.
>
> You already reported this in that bug, so I wonder what was the
> purpose of submitting another bug report with the same information?

I received a report that the bug was closed and archived, and concluded
a new report would be more visible, given the pending v31 release.
Also, I had not yet verified the specific commit which causes the
regression.  I now have.  Otherwise, you can ignore the reply on the
archived bug.

The concern isn't purely academic.  This affects a new feature slated
for Org v10.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.