[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.
- new-flex-completion-style (was: [Emacs-diffs] scratch/ 2c75775 2/2: Score, sort and annotate flex-style completions according to match tightness), Stefan Monnier, 2019/02/11
- Re: new-flex-completion-style, João Távora, 2019/02/11
- Re: new-flex-completion-style, Óscar Fuentes, 2019/02/11
- Re: new-flex-completion-style, Stefan Monnier, 2019/02/13
- RE: new-flex-completion-style, Drew Adams, 2019/02/13
- Re: new-flex-completion-style, Óscar Fuentes, 2019/02/13
- Re: new-flex-completion-style, Daniel Pittman, 2019/02/13
Re: new-flex-completion-style, Stefan Monnier, 2019/02/12