emacs-devel
[Top][All Lists]
Advanced

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

Re: Sorting command completions by recency


From: Juri Linkov
Subject: Re: Sorting command completions by recency
Date: Thu, 18 Feb 2021 19:34:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>> Maybe it would make sense to have a general option to configure this history
>> sorting. When the table doesn't specify its own sorting one could opt in to
>> always sort base on history.
>
> Agreed.
> It'd make sense to have it as a global option, like
> `completion-cycle-threshold` and it would also make sense to be able to
> override it individually via `completion-category-overrides` (which is
> also the case for the cycling behavior).

Todo in minibuffer.el:

  ;; - for M-x, cycle-sort commands that have no key binding first.

So there are at least 3 possible sort orders:

- alphabetical
- no key binding first
- history sorting

Then the question is how the users could select a sort order.
Maybe either by customization or using a keybinding.



reply via email to

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