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

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

bug#32637: 27.0.50; window-size-change-functions not run from local hook


From: martin rudalics
Subject: bug#32637: 27.0.50; window-size-change-functions not run from local hook
Date: Mon, 10 Sep 2018 10:29:11 +0200

> I'm not sure this is TRT.  In particular, for buffers that are shown
> in more than one window, this will run the hook in a window that is
> basically randomly chosen out of those displaying the buffer.  How can
> we justify such a behavior?

By design, the hook is run in the frame and not in a window showing
the buffer.  The designer of a buffer-local function for that hook now
can be sure that

(1) whenever something happens the function should care about, the
function gets called, and

(2) whenever the function gets called, something happened the function
should care about.

That's all a patch for this can accomplish given the design limits of
'window-size-change-functions'.

martin





reply via email to

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