emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and,


From: Daniel Mendler
Subject: Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations
Date: Mon, 24 May 2021 00:38:40 +0200

On 5/23/21 11:54 PM, João Távora wrote:
> By the way, as a tangent to this, but spurred by your activity and
> improvements to icomplete.el, I'm also thinking of enhaving icomplete.el
> to allow a different type of scrolling in icomplete-vertical-mode where
> the active completion isn't necessarily shown in the screen line of the
> minibuffer.  So that it acts more like a classic dropdown.  Kind of
> company-mode but in the minibuffer.

You may want to take a look at my Vertico package which is on GNU ELPA.
It is basically a reimplementation of Icomplete with a classic dropdown.
The inner workings are similar to Icomplete. The main technical
difference is that Icomplete rotates the candidates, while Vertico keeps
an index. But besides that, Vertico is fully compliant with the
completion infrastructure.

> Another idea is to make icomplete work for
> `completion-in-region-function`.

Icomplete already should somehow work as a
`completion-in-region-function`, but I think it is a bit brittle.

Related to my Vertico package, I also have the Corfu package, which uses
a similar implementation as Vertico, but uses a child frame to display
the completion list (Similar to Company-Box, Company-Posframe etc).

https://github.com/minad/vertico
https://github.com/minad/corfu

Daniel



reply via email to

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