[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Debouncing slow mode line constructs (was: Emacs design and architec
From: |
Ihor Radchenko |
Subject: |
Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?) |
Date: |
Fri, 22 Sep 2023 13:19:42 +0000 |
Eli Zaretskii <eliz@gnu.org> writes:
>> redisplay optimizations may decide to not refresh the mode-line when
>> typing.
>
> If they do, it's a bug.
You are right. Typing appears to trigger mode-line redisplay.
What I thought is a redisplay optimization is different - `vc-mode'
variable used to display VC status is not updated on every redisplay.
Instead, it is modified when visiting a file and when saving a file.
The end result is the same - VC status is not always up-to-date.
Similar approach is often used by other well-optimized mode-line
constructs, leading to sometimes-outdated mode-line.
--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,
or support my work at <https://liberapay.com/yantar92>
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), (continued)
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/23
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/21
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?),
Ihor Radchenko <=
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Eli Zaretskii, 2023/09/22
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Ihor Radchenko, 2023/09/23
- Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Dmitry Gutov, 2023/09/22
- RE: [External] : Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?), Drew Adams, 2023/09/22
- Re: Emacs design and architecture. How about copy-on-write?, Eli Zaretskii, 2023/09/21
- Re: Emacs design and architecture. How about copy-on-write?, Dmitry Gutov, 2023/09/21
- Re: Emacs design and architecture. How about copy-on-write?, Eli Zaretskii, 2023/09/21
- Re: Emacs design and architecture. How about copy-on-write?, Dmitry Gutov, 2023/09/21
- Re: Emacs design and architecture. How about copy-on-write?, Ihor Radchenko, 2023/09/22
- Re: Emacs design and architecture. How about copy-on-write?, Ihor Radchenko, 2023/09/22