|
From: | Daniel Mendler |
Subject: | [PATCH] `completing-read`: Add `group-function` support to completion metadata |
Date: | Sun, 25 Apr 2021 15:32:19 +0200 |
Currently groups are only displayed in the *Completions* buffer if `completions-format=one-column`. My proposal is to split up the function `completion--insert-strings` into three functions `completion--insert-strings-one-column/vertical/horizontal` in a follow-up patch. Then the grouping display can also be implemented for the other display formats.
Group title support is already present in the Vertico, Selectrum and external Icomplete-vertical UI. Similarly we can add support to the recently added `icomplete-vertical-mode` by Gregory.
There is a patch to `xref.el` included, which makes use of the grouping functionality, when the `completing-read` show function is used:
(setq xref-show-xrefs-function #'xref-show-definitions-completing-read) Daniel
0001-completing-read-Add-group-function-to-completion-met.patch
Description: Text Data
[Prev in Thread] | Current Thread | [Next in Thread] |