[Top][All Lists]

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

Re: Window change functions

From: Eli Zaretskii
Subject: Re: Window change functions
Date: Thu, 27 Dec 2018 17:56:10 +0200

> Date: Thu, 27 Dec 2018 10:36:33 +0100
> From: martin rudalics <address@hidden>
>  >> address@hidden window-state-change-functions
>  >> +This variable specifies functions called at the end of redisplay when
>  >> +window states have changed.  The value should be a list of functions
>  >> +that take one argument
>  >
>  > If it's run "at the end of redisplay", then I think it's too late: those
>  > hooks will often want to change something visual, and they will want it
>  > to appear right away, so it should be run just *before* redisplay.
> Note that 'window-size-change-functions' are currently already run
> right in the middle of redisplay.  Often, window sizes are correct
> only *after* redisplay.  Think of minibuffer window resizing or
> changes in the fringes, margins or modeline sub-structures.  But a
> final word on the location of the call will have to be told by Eli.

I don't think I can utter that final word, primarily because I don't
understand Stefan's concerns.  Stefan, could you please elaborate?

reply via email to

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