[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: master ab23fa4: Sort by recency in flex completion style when no fle
From: |
João Távora |
Subject: |
Re: master ab23fa4: Sort by recency in flex completion style when no flexy stuff happening |
Date: |
Thu, 19 Aug 2021 12:25:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 15.08.2021 15:33, Jo�o T�vora wrote:
>> Sort by recency in flex completion style when no flexy stuff happening
>> Fixes: bug#49888
>> * minibuffer.el (completion--flex-adjust-metadata): Fall
>> back to usual
>> alphanumeric, length, recency strategy if no minibuffer input. There
>> is still a bug indicated by the nearby FIXMEs, though.
>
> On the balance, it's a good change, but I hope we can agree that it's
> not really the proper place to choose the default sorting method.
I've now pushed an adjusment for this fix that is functionally
equivalent but duplicates no code of completion-all-sorted-completions
at all.
Thus, the "default" sorting method can be chosen there to be whatever.
The flex style won't specify any display-sort-function/cycle sort
function unless there is "flexy stuff happening".
João