Subject: bug#32825: 27.0.50; Deterministic window management

From: Juri Linkov <[email-masked]>
Date: Mon, 24 Dec 2018 01:32:24 +0200

>> Maybe then window-min-height should be dynamically calculated like
>>
>> (window-min-height . ,(with-current-buffer debugger-buffer (count-lines (point-min) (point-max))))
>
> Wouldn't this prevent larger *Backtrace* buffers from getting shown
> below the selected window?

I see what you mean.  Then what about:

(window-min-height . ,(min 10 (with-current-buffer debugger-buffer (count-lines (point-min) (point-max)))))