Subject: bug#55169: Can't combine window-min-height with window-height

From: Juri Linkov <[email-masked]>
Date: Mon, 02 May 2022 21:53:54 +0300

> BTW I do not understand well in which sense your original scenario
>
>   (pop-to-buffer (generate-new-buffer "*edit string*")
>                  '(display-buffer-below-selected
>                    (window-min-height . 10)
>                    (window-height . fit-window-to-buffer)))
>
> fails.  Do you mean that the window should be at least ten lines high
> despite of the fact that it's fit to an empty buffer?

Exactly.  I expected that window-min-height takes precedence over window-height.