emacs-devel
[Top][All Lists]
Advanced

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

Re: Use cases for post-redisplay hooks


From: Stefan Monnier
Subject: Re: Use cases for post-redisplay hooks
Date: Tue, 05 Jul 2016 04:12:30 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux)

> The implementation of the `window-start-end-hook` is probably easier to
> explain with a diff, which is attached.

Hmm... my understanding of the redisplay code is sufficiently fuzzy that
your patch doesn't actually tell me how it's supposed to work.
More specifically the timing is unclear to me: the overlays you add from
your hook affect the display, so you need to run (the bulk of) the
redisplay code *after* running your hook.

So sounds more like a pre-redisplay-hook.  Except that you pre-compute
the expected window-end somehow.


        Stefan



reply via email to

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