GNU bug report logs - #38181
Actual height of mode-line not taken into account

Previous Next

Package: emacs;

Reported by: Jonas Bernoulli <jonas <at> bernoul.li>

Date: Tue, 12 Nov 2019 16:54:01 UTC

Severity: normal

Fixed in version 29.1

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #254 received at 38181 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Carlos Pita <carlosjosepita2 <at> gmail.com>
Cc: 38181 <at> debbugs.gnu.org
Subject: Re: 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




This bug report was last modified 3 years and 201 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.