GNU bug report logs - #48545
28.0.50; `icomplete-vertical-mode` does not support the `group-function`

Previous Next

Package: emacs;

Reported by: Daniel Mendler <mail <at> daniel-mendler.de>

Date: Thu, 20 May 2021 18:57:02 UTC

Severity: normal

Found in version 28.0.50

Done: João Távora <joaotavora <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Kévin Le Gouguec <kevin.legouguec <at> gmail.com>
To: 48545 <at> debbugs.gnu.org
Cc: mail <at> daniel-mendler.de, Gregory Heytings <gregory <at> heytings.org>, joaotavora <at> gmail.com, dgutov <at> yandex.ru
Subject: bug#48545: 28.0.50; `icomplete-vertical-mode` does not support the `group-function`
Date: Thu, 19 Aug 2021 14:38:29 +0200
João Távora <joaotavora <at> gmail.com> writes:

> To fix this, perhaps the default sorting methods should be turned off in
> completion-all-sorted-completions in minibuffer.el if a table supplies
> `group-function`.  A patch for this is after my sig.

FWIW (I didn't take the time to understand the ins and outs of the
completion system nor the changes that are being made; sorry about
that), with this tentative patch, Icomplete seems to honour
read-char-by-name-sort.  With icomplete enabled and
read-char-by-name-sort set to 'code, try

    C-x 8 RET CLOCK FACE

- with the current master branch, the completions are sorted
  alphabetically,
- with the tentative patch applied, the completions are sorted by code
  point.

This seems to compose well with completions-group AFAICT (see e.g. C-x 8
RET ROMAN).

At any rate, thanks for teaching icomplete-vertical about
group-function!




This bug report was last modified 3 years and 327 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.