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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: Carlos Pita <carlosjosepita2 <at> gmail.com>
Cc: 38181 <at> debbugs.gnu.org
Subject: bug#38181: Actual height of mode-line not taken into account
Date: Mon, 18 Oct 2021 11:34:30 +0200
[Message part 1 (text/plain, inline)]
> By looking at these functions you could derive a new one
> that calculates mode line heights in a similar way and peruse the return
> values of that function in 'window-text-pixel-size' in the hope that
> they won't change with the next redisplay.  The 'mode-lines' argument of
> 'window-text-pixel-size' should then accept a value like 'update' to
> reflect this special use case.  It might be worth the experience.

Or try the attached patch on master.  It seems to fix the issue here.

martin
[xdisp.c.diff (text/x-patch, attachment)]

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.