|
From: | Dmitry Gutov |
Subject: | Re: Debouncing slow mode line constructs (was: Emacs design and architecture. How about copy-on-write?) |
Date: | Thu, 21 Sep 2023 14:56:25 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 |
On 21/09/2023 14:36, Ihor Radchenko wrote:
What about automatically debouncing slow :eval constructs in the mode line? If we make sure that :eval constructs running longer than a threshold do not run too frequently, it can certainly improve user experience.
Sounds worth looking into.Though if we just do this silently, it can hide performance problems, both discouraging the mode-line authors from fixing them, and creating odd behaviors (from the user's POV) when something which should change, doesn't.
BTW, most advanced mode-lines (including smart-mode-line, which I use, and is reasonably fast) use the :eval constructs pretty much everywhere.
[Prev in Thread] | Current Thread | [Next in Thread] |