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, 01 Mar 2011 16:00:13 -0600
User-agent: Gnus/5.110014 (No Gnus v0.14) Emacs/24.0.50 (gnu/linux)

On Tue, 01 Mar 2011 21:41:11 +0100 Florian Beck <address@hidden> wrote: 

FB> Hm, intuitively, I would think higher scored items come first.

I mentioned that too but Stefan thought it would be more consistent with
"shorter string first" this way.  We can discuss it, I'm sure.

FB> Anyway, I tried modifying `completion-all-sorted-completions' but it
FB> had no effect, because the candidates are sorted in
FB> `minibuffer-completion-help'. I guess, you will override that -- but
FB> why sort there in the first place? All sorting should take place is
FB> `completion-all-sorted-completions', shouldn't it?

I tested only `completion-all-sorted-completions' so I didn't know about
the other sort site in `minibuffer-completion-help'.  Stefan knows that
code far better than me so I will let him comment.

FB> Also, both for reasons of performance and convenience, an option not
FB> to sort candidates at all might be desirable.

Obviously that doesn't apply to `completion-all-sorted-completions'
whose entire purpose is to sort...  But yeah,
`minibuffer-completion-help' may need that adjustment.

Ted


reply via email to

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