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: Juri Linkov
Subject: Re: [PATCH] `completing-read`: Add `group-function` support to completion metadata (REVISED PATCH VERSION 2)
Date: Sat, 01 May 2021 22:57:16 +0300
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu)

>>> Thanks, I tested the vertical and horizontal format,
>>> and the horizontal format is displayed nicely, but I expected
>>> that in the vertical format completions inside every group
>>> to be arranged the same way as in horizontal format, e.g.
>>> everything is fine in the horizontal format:
>>
>> Yes, this is intentional. I assume that one would want to have headers
>> per column as in a two column paper layout for example. We can also use
>> the different layout if that is preferred.
>
> I believe the arrangement I am using in the current patch is is the more
> natural one.
>
> What you proposed for the vertical layout would look like this
>
> v  /--\  /--\
> v  |  |  |  |
> |  |  |  |  v
> \--/  \--/  v
> =============
> v  /--\  /--\
> v  |  |  |  |
> |  |  |  |  v
> \--/  \--/  v
> =============
> v  /--\  /--\
> v  |  |  |  |
> |  |  |  |  v
> \--/  \--/  v
>
> This seems to me like a mix of vertical and horizontal layout.

It's still the vertical layout but with grouping
similar to how you sort candidates in every group,
only here the per-group candidates are arranged vertically.

Maybe this choice could be handled by an option?



reply via email to

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