Subject: bug#39822: 27.0.90; Cannot set *Completions* buffer height using display-buffer-alist

From: martin rudalics <[email-masked]>
Date: Tue, 3 Mar 2020 15:40:41 +0100

>> You mean 'minibuffer-completion-help' should call 'display-buffer'
 >> directly and do the rest of the setup manually?
 >
 > Yes, and all other commands that currently use
 > with-displayed-buffer-window should get along without it.

OK with me.

 >>> So it would be easier to override
 >>> the default alist values such as 'window-height'.
 >>
 >> Is there such a default value?  Who would provide it?
 >
 > Since users should be able to override it by e.g.
 >
 > (add-to-list 'display-buffer-alist
 >               '("\\*Completions\\*"
 >                 (window-height . 5)
 >                 ...
 >
 > a default value should have a lower priority, i.e.
 > in the call of 'display-buffer' in 'minibuffer-completion-help'.

So you mean the default value is the value supplied by
'display-buffer-alist'.

martin