emacs-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] `completing-read`: Add `group-function` support to completio


From: Stefan Monnier
Subject: Re: [PATCH] `completing-read`: Add `group-function` support to completion metadata (REVISED PATCH VERSION 2)
Date: Sat, 08 May 2021 09:15:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> I tried to remove `read-char-by-name-group`, but it has a feature
> currently not supported by `group-function`:
>
>   (defcustom read-char-by-name-group nil
>     "How to group characters for `read-char-by-name' completion.
>   When t, split characters to sections of Unicode blocks
>   sorted alphabetically."
>   =====================
>
> It seems a new function is needed to sort groups, e.g. `group-sort-function`.

I think whether the groups should be sorted alphabetically or "by order
of appearance" can be a choice made by the UI rather than by the
completion-table.


        Stefan




reply via email to

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