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 #266 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: Mon, 18 Oct 2021 19:44:08 +0200
> I've tested it in both master and emacs-28 branches and I've seen none
> of the aforementioned issues nor, at least in a cursory examination,
> any regression.
>
> It seems like you're displaying the modeline instead of merely using
> the current height? There is no perceptible flickering in any case.

There's no "displaying" involved.  IIUC display_mode_line has become a
misnomer ever since it's used in pos_visible_p.  Basically, I do two
things: Run 'format-mode-line' and compute_line_metrics on the current
mode line strings.

Eli, I think this could go into Emacs 28.  WDYT?

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.