From: martin rudalics <rudalics@gmx.at>
To: eliz@gnu.org, 38791@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 [thread overview]
Message-ID: <a4a025cf-e03e-5317-e11e-5c6407585483@gmx.at> (raw)
In-Reply-To: <838smvnr5o.fsf@gnu.org>
> 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
next prev parent reply other threads:[~2019-12-29 18:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-12-29 14:27 bug#38791: 27.0.60; Multiline mini-window fails to resize after clearing message Eli Zaretskii
2019-12-29 18:33 ` martin rudalics [this message]
2019-12-30 15:56 ` Eli Zaretskii
2019-12-30 17:54 ` martin rudalics
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=a4a025cf-e03e-5317-e11e-5c6407585483@gmx.at \
--to=rudalics@gmx.at \
--cc=38791@debbugs.gnu.org \
--cc=eliz@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).