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: Tue, 08 Mar 2011 08:44:42 -0600
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

On Mon, 07 Mar 2011 23:09:58 -0500 Stefan Monnier <monnier@iro.umontreal.ca> 
wrote: 

>>>> Do you think *Completion* candidates could also use the
>>>> :completion-score property?  It should be easy to add.
SM> No, as my previous message was trying to say, I think the two sort
SM> orders are likely to want to be different, so they need to be specified
SM> differently (or at least it should be possible to specify two different
SM> orderings).
>> Maybe :completion-cycling-score and :completion-candidate-score, with
>> :completion-score as fallback for both?

SM> Could be, but I'd first like to see what kind of sorting orders are
SM> found to be useful to get a better feel for it.  Until now the only
SM> display-sort option I've seen mentioned is "preserve the order from the
SM> output of all-completions".

OK.  In that case I'll just propose my :completion-score-penalty patch
for cycling candidates on emacs-devel, and you can decide when and if to
extend it.

Ted


reply via email to

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