emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Support "\n" in icomplete-separator


From: Jean Louis
Subject: Re: [PATCH] Support "\n" in icomplete-separator
Date: Fri, 6 Nov 2020 08:52:37 +0300
User-agent: Mutt/+ (1036f0e) (2020-10-18)

* Andrii Kolomoiets <andreyk.mad@gmail.com> [2020-11-06 02:11]:
> Hi,
> 
> I'm a bit late to the icomplete-vertical party, but please let me show
> you my approach at supporting "\n" in 'icomplete-separator'.
> 
> The main idea is to treat the 'icomplete-prospects-height' variable
> value as the amount of completions we want to see if there is "\n" in the
> 'icomplete-separator'.
> 
> Please see attached patch.
> 
> Also see attached screenshot of minibuffer-only frame after:
> 
> emacs -Q --eval "(setq default-frame-alist '((minibuffer . nil)))"
> M-x icomplete-mode
> (setq icomplete-prospects-height 5)
> (setq icomplete-hide-common-prefix nil)
> (setq icomplete-separator "\n ")
> (setq resize-mini-frames t)
> M-x icomp
> 
> If that approach was already discussed, please let me know.


Maybe you can also improve ido-mode to work vertically?



reply via email to

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