bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#38181: Actual height of mode-line not taken into account


From: martin rudalics
Subject: bug#38181: Actual height of mode-line not taken into account
Date: Sun, 17 Oct 2021 10:34:20 +0200

> In practice this seems to nicely cover the relevant cases:
>
> (defun my-redisplay-hack (&rest _)
>    (when mode-line-format
>      (redisplay t)))
> (advice-add #'split-window :after #'my-redisplay-hack)
>
> but there is some flickering because the window is displayed before
> the fit and then immediately replaced by the fitted version. Although
> I see no way around that glitch, so it might be the price to pay.

Nothing new here.  The sequence remains the same as before:
'split-window', 'redisplay', 'fit-window-to-buffer'.

And remember: People usually tolerate when Emacs occasionally crashes.
They never tolerate flickering.

martin





reply via email to

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