oantolin/icomplete-vertical

Long candidates shrink the viewable list

protesilaos opened this issue · 4 comments

When parsing a list of candidates that contains consecutive long matches (such as recentf entries), the list of candidates is hidden. Cycling the results expands the viewable portion again. Screenshots:

Screenshot at 2020-04-03 06-33-09

Screenshot at 2020-04-03 06-33-22

I was about to comment that reading the source for icomplete-completions makes me think that simply setting icomplete-prospects-height to the desired minibuffer height (i.e., to icomplete-vertical-prospects-height) would fix the problem. I was also going to say I'd try that tomorrow, but I see you've beat me to the punchline! That's fantastic, thanks.

You are welcome! Please test, because there might still be some setting that I did not control in my config (despite my best intentions).

I tested plenty of size variations in the candidates and this behaves as I expected. Thanks again!

I'm closing this issue.