[Top][All Lists]

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

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

From: Juri Linkov
Subject: Re: [PATCH] `completing-read`: Add `group-function` support to completion metadata (REVISED PATCH VERSION 3)
Date: Mon, 03 May 2021 00:49:47 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

> I attached a revised version of the `group-function` for
> `completing-read` patches, implementing the suggestions by Juri Linkov.
> 1. The guard variable `completions-group` is not checked centrally, like
> `completions-detailed`.
> 2. The vertical completions format separates the groups completely using
> full-width group separators, instead of inserting the titles within the
> vertical flow.

Thanks!  Now separating the groups completely using full-width group separators
for the vertical format allows enabling outline-minor-mode and using
TAB/S-TAB keys to hide groups for better overview in a large buffer.

I tried (setq outline-regexp " ") to match the space character
at the beginning of group titles to find outline headers,
and the result is quite nice:

Attachment: completion-groups.png
Description: PNG image

reply via email to

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