GNU bug report logs - #24293
25.1; Display bug: icomplete prompt not visible with icomplete-separator "\n"

Previous Next

Package: emacs;

Reported by: Michael Heerdegen <michael_heerdegen <at> web.de>

Date: Tue, 23 Aug 2016 15:45:02 UTC

Severity: minor

Found in version 25.1

Done: Michael Heerdegen <michael_heerdegen <at> web.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: Michael Heerdegen <michael_heerdegen <at> web.de>, 24293 <at> debbugs.gnu.org
Subject: bug#24293: 25.1; Display bug: icomplete prompt not visible with icomplete-separator "\n"
Date: Sat, 19 Sep 2020 13:47:12 -0400
>> In emacs -Q, eval
>> 
>>   (setq icomplete-separator "\n")
>> 
>> and do
>> 
>>   M-x icomplete-mode <return>
>> 
>> Then, e.g.
>> 
>>   M-x m
>> 
>> The icomplete minibuffer prompt is invisible (bug).
>> 
>> But you see that it's "there" when you hit <left>.  And changing the
>> value of `resize-mini-windows' to nil makes the issue disappear - so I
>> think this is caused by a problem in the display code.
>
> Surprisingly, stepping through the code with a debugger reveals that
> this is not a bug, but (almost) deliberate behavior.  Set
> max-mini-window-height to 0.9, and you will see the entire prompt.

The "prompt" in the above example is not the whole text shown in the
minibuffer but just "M-x m".

> The default value of that variable is 0.25, so Emacs doesn't resize
> mini-windows to more than 1/4th of the height of the frame's root
> window.  And the height required to show the prompt is much larger in
> this case.

No, a single line is sufficient to show "the prompt".


        Stefan





This bug report was last modified 4 years and 222 days ago.

Previous Next


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