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

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

bug#53362: 29.0.50; [PATCH] Make Completions sorting a user option


From: Eli Zaretskii
Subject: bug#53362: 29.0.50; [PATCH] Make Completions sorting a user option
Date: Wed, 19 Jan 2022 14:56:56 +0200

> From: Protesilaos Stavrou <info@protesilaos.com>
> Date: Wed, 19 Jan 2022 14:26:47 +0200
> 
> +(defcustom completions-sort 'lexicographic
> +  "Sort candidates in the *Completions* buffer.
> +
> +The value can be nil to disable sorting altogether,
> +`alphabetical' for alphabetical sorting, `lexicographic' for
> +lexicographic sorting

Here you expect everyone to understand the subtle difference between
these two sorting orders.  I don't think this expectation is
reasonable.

> +                                            ('alphabetical (sort completions 
> #'string-version-lessp))

Doesn't string-version-lessp do stuff that is only appropriate with
version numbers like 1.2.3beta?

Thanks.





reply via email to

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