emacs-devel
[Top][All Lists]
Advanced

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

Re: new-flex-completion-style


From: Óscar Fuentes
Subject: Re: new-flex-completion-style
Date: Wed, 13 Feb 2019 01:28:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.90 (gnu/linux)

João Távora <address@hidden> writes:

> Óscar Fuentes <address@hidden> writes:
>
>> João Távora <address@hidden> writes:
>
>> Do you know flx [1] ? Would it be possible to implement it on top of
>> your work by providing a score function and/or a sort function?
>>
>> 1. https://github.com/lewang/flx
>
> I remember looking at this a long time ago.  It looked interesting, but
> is almost certainly more complex/featureful than my implementation,
> which is reasonably simple and tries to play along with the Emacs's
> completion style/table/UI framework, something which is still relatively
> fluid (as you can read in this thread).  So I'd rather take it slowly
> before adding new features.
>
> But I don't know what features you are looking for exactly, can you be
> specific?

Basically, flx takes an input string and a list of candidates, assigns
an score to each candidate and returns a filtered list of candidates
sorted by the score.

This seems the same you described on your commit message.




reply via email to

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