help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Sorting Order of Completion Candidates


From: Ted Zlatanov
Subject: Re: Sorting Order of Completion Candidates
Date: Fri, 04 Mar 2011 09:45:13 -0600
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

On Thu, 03 Mar 2011 18:29:49 -0500 Stefan Monnier <monnier@iro.umontreal.ca> 
wrote: 

>> Florian: I've proposed a patch to use the string property
>> :completion-score to attach a numerical score to the completion
>> candidates.

SM> Note that there are two forms of sorting: sorting for *Completion*
SM> display, and sorting for cycling.  Currently, these are not sorted
SM> identically (cycling sorts by string length, whereas *Completions*
SM> sorts alphabetically).  I don't think "alphabetical" is useful for
SM> cycling and neither do I think that "shorter first" is useful for
SM> cycling, so I think it's important to keep them separate.

Do you think *Completion* candidates could also use the
:completion-score property?  It should be easy to add.

Ted


reply via email to

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