[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: complexity in minibuffer
From: |
Juri Linkov |
Subject: |
Re: complexity in minibuffer |
Date: |
Thu, 03 Jun 2021 01:11:51 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) |
> I think it has to do with the way Juri (or someone else) implemented
> affixation function and annotation function, which was what I was trying
> to touch to experiment with resolution-function ideas. Sometimes as completion
> is represented by a cons (string annotation-prefix annotation-suffix)
> sometimes only a string. It could be a string always, with properties.
> Or a struct. But let's leave it at string and never cons.
I only added the third element to the list of '(candidate prefix suffix)'.
So either turning it into a struct, or adding text properties would be fine.
But there is no room to extend annotation-function since as can be seen
in your branch annotation-function with text properties would return such
self-referencing ugliness:
(propertize annotation 'suffix annotation)
Or do you intend resolution-function to do the same but return
a candidate string with text properties?
- 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, 2021/06/02
- Re: complexity in minibuffer, Dmitry Gutov, 2021/06/02
- Re: complexity in minibuffer,
Juri Linkov <=
- 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
- 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