GNU bug report logs - #60015
29.0.60; multi-line messages truncated in non-selected minibuffer

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Mon, 12 Dec 2022 18:08:02 UTC

Severity: normal

Found in version 29.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: Gregory Heytings <gregory <at> heytings.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 60015 <at> debbugs.gnu.org
Subject: bug#60015: 29.0.60; multi-line messages truncated in non-selected minibuffer
Date: Thu, 15 Dec 2022 21:52:33 +0000
>>> +        (let ((window-lines (window-height minibuf-window))
>>> +              (message-lines (length (split-string message "\n"))))
>>> +          (when (> message-lines window-lines)
>>> +            (with-selected-window minibuf-window
>>> +              (enlarge-window (- message-lines window-lines)))))
>>
>> This won't catch the case of a single very long line (which wraps to 
>> produce several screen lines).
>
> Testing shows that it doesn't handle wrapped lines.
>

Indeed, but that wasn't part of your problem statement ;-)





This bug report was last modified 2 years and 152 days ago.

Previous Next


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