GNU bug report logs - #38791
27.0.60; Multiline mini-window fails to resize after clearing message

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Sun, 29 Dec 2019 14:28:02 UTC

Severity: normal

Found in version 27.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #13 received at 38791-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: 38791-done <at> debbugs.gnu.org
Subject: Re: 27.0.60; Multiline mini-window fails to resize after clearing
 message
Date: Mon, 30 Dec 2019 17:56:07 +0200
> From: martin rudalics <rudalics <at> gmx.at>
> Date: Sun, 29 Dec 2019 19:33:52 +0100
> 
>  > This is a regression, because in Emacs 26 this works as expected.
>  >
>  > The patch to fix this is below.  It reverts a small part of commit
>  > 8e0ebb9, which inadvertently changed the logic in grow_mini_window.
>  > The problem in this case was that old_height + delta evaluated to
>  > zero, but instead of limiting the result to the equivalent of 1 line,
>  > the code did nothing.
> 
> It apparently never entered my mind that WINDOW_BOX_TEXT_HEIGHT might
> mean something different from the height of that window's buffer text.
> Shameful.

Well, the name is ambiguous.

I installed the fix, and I'm closing the bug report.




This bug report was last modified 5 years and 140 days ago.

Previous Next


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