[Top][All Lists]

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

Re: vertical fido-mode

From: Stefan Monnier
Subject: Re: vertical fido-mode
Date: Wed, 10 Jun 2020 12:53:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)


I think the icomplete-vertical functionality could/should be supported
directly by complete.el.


Ergus [2020-06-10 16:27:18] wrote:

> Hi Joao.
> The last 2 days I have been wondering if it will be too complex (or
> potentially error prone) to customize fido to show the candidates vertically
> (like in ivy).
> In ido mode it was more or less easy to do just changing the separator, but
> that created so many issues that multiple packages were created to "fix"
> them. I could be interested in this feature ONLY if it doesn't add too much
> complexity to fido-mode.
> Just now I tried:
> (fido-mode t)
> (setq icomplete-separator "\n"         icomplete-hide-common-prefix nil     
>    icomplete-in-buffer t)
> So far it seems to be working with some expected tiny issues no so complex to 
> fix:
> 1) An extra '{' and missing new line (see picture) that overlaps the cursor
> and in vertical mode is confusing. (There is not separator between the
> cursor and the list of candidates)
> 2) The arrows could need to change bindings as in vertical mode <up> and
> <down> should do what <left> and <right> are doing now.
> 3) Maybe TAB should complete the current candidate in place (the first
> candidate or the common part of all candidates), in any case not open the
> *Completions* buffer? Because the completion candidates are already there
> (this is in general for fido mode), it will be more familiar for Bash users
> for example.
> Best,Ergus

reply via email to

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