bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#44080: 27.1; Display behavior of overlays `after-string` in resizabl


From: Clemens
Subject: bug#44080: 27.1; Display behavior of overlays `after-string` in resizable minibuffer frames
Date: Tue, 20 Oct 2020 11:27:17 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0


Indeed.  'fit-frame-to-buffer' strips empty spaces at the beginning and
end of the buffer - it's aim is to make the frame occupy as little of
screen space as possible.  If 'resize-mini-frames' should handle
peculiarities as such display strings, it's probably better to write a
tailored function that handles them by calling 'window-text-pixel-size'
with the appropriate arguments.

But we can change the default behavior as well, or provide an appropriate
option.


To give some context, the current behavior is a problem for completion frameworks which want to display a vertical list of candidates in the minibuffer. They need to use an overlay so the candidates aren't considered part of the minibuffer-contents which is expected to only contain the current user input.







reply via email to

[Prev in Thread] Current Thread [Next in Thread]