[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: "after" variable watchers
From: |
Stefan Monnier |
Subject: |
Re: "after" variable watchers |
Date: |
Mon, 17 May 2021 14:54:27 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
>> > window_updeco_window is called indirectly from all places that change a
>> > window's decorations, font or size.
>>
>> Would it make sense to call it more lazily, e.g. as part of redisplay
>> (basically, the watchpoints would just set some dirty bits and then at
>> the beginning of redisplay you'd then run `window_updeco_window` on
>> those windows with the dirty bit set)?
>
> You don't need a watcher to set flags on windows. Each change in the
> dimensions of windows and their decorations is already preformed by
> functions.
You're asking for a watcher, right?
I's telling you to make this watcher set a dirty flag rather than
immediately reacting to that variable value's change.
Stefan
- "after" variable watchers, martin rudalics, 2021/05/17
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/17
- Re: "after" variable watchers, martin rudalics, 2021/05/17
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/17
- Re: "after" variable watchers, martin rudalics, 2021/05/18
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/20
- Re: "after" variable watchers, martin rudalics, 2021/05/24
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/27
- Re: "after" variable watchers, Stefan Monnier, 2021/05/17
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/17
- Re: "after" variable watchers,
Stefan Monnier <=
- Re: "after" variable watchers, Stefan Monnier, 2021/05/17
- Re: "after" variable watchers, martin rudalics, 2021/05/18
- Re: "after" variable watchers, Stefan Monnier, 2021/05/18
- Re: "after" variable watchers, martin rudalics, 2021/05/18
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/20
- Re: "after" variable watchers, martin rudalics, 2021/05/24
- Re: "after" variable watchers, Eli Zaretskii, 2021/05/27
Re: "after" variable watchers, Matt Armstrong, 2021/05/17