[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: feature/icomplete-vertical

From: Eli Zaretskii
Subject: Re: feature/icomplete-vertical
Date: Sun, 20 Sep 2020 17:28:50 +0300

> Date: Sun, 20 Sep 2020 14:07:45 +0000
> From: Gregory Heytings <ghe@sdf.org>
> cc: Ergus <spacibba@aol.com>, casouri@gmail.com, joaotavora@gmail.com,
>         emacs-devel@gnu.org
> > resize-mini-windows is a user option, so resetting it globally is almost 
> > certainly a non-starter.
> >
> The three lines I sent:
> (setq icomplete-separator "\n")
> (setq icomplete-prospects-height 10)
> (add-hook 'icomplete-minibuffer-setup-hook (function (lambda () (setq 
> resize-mini-windows nil) (enlarge-window icomplete-prospects-height))))
> had no other purpose except demonstrating that (setq resize-mini-windows 
> nil) solves the problem of disappearing prompts.  Of course I do not 
> consider that these lines should be blindly used

Please note that I wasn't replying to your proposal, I was replying to

> trying to calculate the height of the completion candidate list,
> which amount (as Stefan wrote) to redoing what redisplay does.

I don't agree with Stefan, if this interpretation of what he said is
correct.  We have window-text-pixel-size to measure the size of text
on display without redoing what redisplay does.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]