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 #116 received at 38181 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: jonas <at> bernoul.li, 38181 <at> debbugs.gnu.org
Subject: Re: bug#38181: Actual height of mode-line not taken into account
Date: Mon, 18 Nov 2019 19:46:30 +0100
>> But IIUC in neither of our proposals we would have done that.
>
> I wouldn't be so sure: the code fragment I've shown that detects
> mode-line height changes is inside redisplay_window.

But we should collect evidence from all windows first before
redisplaying again.

>> I'd even say that we should resize windows when redisplay finds out
>> that the mode line height has been increased and would obscure the
>> window above, not leave at least one line of its window's text
>> visible
>
> Some might dislike such side effects, I think, for the same reason
> some dislike the resizing which happens due to mini-window growth.

You probably misunderstood.  I meant the example from my other mail
where enlarging the mode line covers the entire text area of its
window.  In that case we sooner or later will resize anyway, that is
when the window resizing code becomes aware of the fact.

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.