Subject: bug#24293: 25.1; Display bug: icomplete prompt not visible with icomplete-separator "\n"

From: Eli Zaretskii <[email-masked]>
Date: Wed, 24 Aug 2016 05:47:40 +0300

> From: Michael Heerdegen <[email-masked]>
> Cc: [email-masked]
> Date: Tue, 23 Aug 2016 21:06:11 +0200
> 
> Is it possible to determine reliably the number of lines a minibuffer
> window can display maximally for given max-mini-window-height?

For a non-minibuffer frames, the calculations are in
resize_mini_window.  They are quite simple, but if something there is
not clear, please ask.  The documentation of max-mini-window-height in
the ELisp manual can also help.

Note that the calculations in resize_mini_window are in pixels, and a
"line height" is interpreted in terms of the frame's canonical
character height.