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


View this message in rfc822 format

From: martin rudalics <rudalics <at> gmx.at>
To: eliz <at> gnu.org, 38791 <at> debbugs.gnu.org
Subject: bug#38791: 27.0.60; Multiline mini-window fails to resize after clearing message
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.

Thanks for the fix, martin




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.