[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `grou
From: |
João Távora |
Subject: |
bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function` |
Date: |
Sat, 21 Aug 2021 01:24:47 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Dmitry Gutov <dgutov@yandex.ru> writes:
> On 20.08.2021 02:39, João Távora wrote:
> icomplete's grouping behavior should probably match the default UI's
> behavior in that regard. Or, if people actually don't like it, see it
> changed in both places.
Because it was fairly easy to, i tested the default UI with grouping and
C-x 8 RET. It seems that it doesn't use
completion-all-sorted-completions, and hence doesn't do the normal
alphabetical+length+recency sorting (let's call it a+l+r from now on) at
all by default. It does do the re-grouping though. And it takes a long
time, about 3-4 seconds (when one presses TAB at the prompt) to see the
first page of the completions list.
This is versus Icomplete which about a second (or even less if
you skip the a+l+r).
So whatever the default completion UI does, I don't think Icomplete
should imitate it if it means the same slow behaviour.
The default UI can do some sorting on top of regrouping if you set yet
another variable completions-group-sort, but then it will be only
alphabetical, not a+l+r. No idea why.
However, I've also discovered that my previous assumption that C-x 8 RET
returns naturally grouped chars is also wrong. They are _not_ naturally
grouped.
João
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, (continued)
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, Dmitry Gutov, 2021/08/19
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, João Távora, 2021/08/19
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, Dmitry Gutov, 2021/08/19
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, João Távora, 2021/08/20
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, Dmitry Gutov, 2021/08/20
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, João Távora, 2021/08/21
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, Dmitry Gutov, 2021/08/21
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, João Távora, 2021/08/21
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, Dmitry Gutov, 2021/08/22
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`, João Távora, 2021/08/22
- bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`,
João Távora <=