GNU bug report logs -
#19355
25.0.50; limit the popup window height
Previous Next
Reported by: Leo Liu <sdl.web <at> gmail.com>
Date: Fri, 12 Dec 2014 01:51:01 UTC
Severity: minor
Found in version 25.0.50
Done: martin rudalics <rudalics <at> gmx.at>
Bug is archived. No further changes may be made.
Full log
Message #8 received at 19355 <at> debbugs.gnu.org (full text, mbox):
> The popup window from, for example, minibuffer-completion-help, can be
> so tall that the main editing window is squeezed to a few lines
This number of lines is specified by `window-min-height'.
> which
> has the unfortunate side-effect of moving point, pushing some buffer
> text out of the window. This is quite an annoyance. To see this:
>
> 1. Find an elisp file, with the form under edit centred around the
> window.
>
> 2. Try complete for `(s' and assume the window split will be done
> vertically.
We can add the MAX/MIN-HEIGHT/WIDTH arguments of `fit-window-to-buffer'
to the alist entries recognized by `display-buffer'. Then
`minibuffer-completion-help' and friends could set them in a way we'd
have to choose yet. Or we make these globally customizable.
I'm currently rewriting the code for *Completions* windows to make sure
they don't get obscured by an expanding minibuffer window. If you have
a good proposal I can make the necessary changes right away.
martin
This bug report was last modified 10 years and 146 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.