[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: complexity in minibuffer
From: |
João Távora |
Subject: |
Re: complexity in minibuffer |
Date: |
Wed, 2 Jun 2021 20:03:44 +0100 |
On Wed, Jun 2, 2021 at 7:31 PM Dmitry Gutov <dgutov@yandex.ru> wrote:
>
> On 02.06.2021 18:06, Stefan Monnier wrote:
> > I suspect they should get an `md` argument instead (which will include
> > the `group-function`, of course).
>
> Good idea: this way the argument is not tied to an optional feature, but
> would OTOH provide renderers' access to any such feature that we might
> add in the future.
Agree we have to give _some_ state of the completion operation
to the renderer, not just the completions themselves. But lets
concentrate that state as much as possible. Ideally, as I think
you once suggested, we'd have a "completion operation instance"
object/ADT that contains the collection of completions and all the
paraphernalia used to manipulate it. We'd pass _that_ around,
instead of md's, minibuffer-* special vars, completion-extra-properties
and whatnot. Not sure if easy to realize but at least that's what
I would aim for.
João
- Re: complexity in minibuffer, (continued)
- Re: complexity in minibuffer, Stefan Monnier, 2021/06/02
- Re: complexity in minibuffer, João Távora, 2021/06/02
- Re: complexity in minibuffer, Daniel Mendler, 2021/06/02
- Re: complexity in minibuffer, João Távora, 2021/06/02
- Re: complexity in minibuffer, Daniel Mendler, 2021/06/02
- Re: complexity in minibuffer, Dmitry Gutov, 2021/06/02
- Re: complexity in minibuffer,
João Távora <=
- Re: complexity in minibuffer, Dmitry Gutov, 2021/06/02
- Re: complexity in minibuffer, Juri Linkov, 2021/06/02
- Re: complexity in minibuffer, João Távora, 2021/06/03
- Re: complexity in minibuffer, Juri Linkov, 2021/06/03
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Stefan Monnier, 2021/06/01
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Daniel Mendler, 2021/06/01
- Re:Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, tumashu, 2021/06/02
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/06/02
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, Dmitry Gutov, 2021/06/02
- Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations, João Távora, 2021/06/02