GNU bug report logs -
#39822
27.0.90; Cannot set *Completions* buffer height using display-buffer-alist
Previous Next
Reported by: Davor Rotim <drot <at> firemail.cc>
Date: Fri, 28 Feb 2020 14:06:02 UTC
Severity: normal
Tags: fixed
Found in version 27.0.90
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #14 received at 39822 <at> debbugs.gnu.org (full text, mbox):
> I'm not seeing any adverse effects by obeying the contract:
Neither would I ...
> - ,(if temp-buffer-resize-mode
> - '(window-height . resize-temp-buffer-window)
> - '(window-height . fit-window-to-buffer))
> ,(when temp-buffer-resize-mode
> + '(window-height . resize-temp-buffer-window)
> '(preserve-size . (nil . t))))
> nil
> ;; Remove the base-size tail because `sort' requires a properly
... because I'm using 'temp-buffer-resize-mode'. But IIRC (Juri likely
knows better) completions windows are traditionally fit to their buffer
so people who never use 'temp-buffer-resize-mode' would now be surprised
to not see their completions window fit. So while we probably can't do
what you propose above, we should be able to _not_ fit the window when
the alist already provides an explicit height argument as in your case.
martin
This bug report was last modified 5 years and 53 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.