emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions accor


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master b0e318d 2/2: Score flex-style completions according to match tightness
Date: Sat, 16 Mar 2019 09:19:38 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> It adds them in the hope that they would be useful in the near future.
> When I added this bit, I thought it would be a matter of days until we
> found a suitable place for a sorting function to use those properties.
> But it's been two months and a decision hasn't yet been reached.

Actually, I think we did reach a consensus, but I haven't gotten to
writing the code yet.

> So  there are currently no users of that functionality, and it
> could very well be removed.

Please leave it in.

> Regardless of the decision of where to put sorting function based
> on flex scores, completion-pcm--... is a most suitable place to add the
> scoring, since this is where the string is propertized (and the scoring
> is closely related to that.

Also, I think the scoring would be valuable for `partial-completion` and
`initialism` styles as well (i.e. for all users of PCM).


        Stefan




reply via email to

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