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: Daniel Mendler
Subject: Re: [PATCH] `completing-read`: Add `group-function` support to completion metadata (REVISED PATCH)
Date: Thu, 29 Apr 2021 19:16:07 +0200

On 4/29/21 7:09 PM, Dmitry Gutov wrote:
> If affixation-function didn't return a three-element list (and instead 
> only returned some focused information pertaining to a single value), 
> you wouldn't have this problem.

I don't understand the argument here. From my perspective the
`affixation-function` is good as is. It is a generalization of the
`annotation-function` which allows transformation of all candidates at
once and it additionally allows prefixes. However one could discuss if
the affixation function should be allowed to transform the actual
candidate string, as has been mentioned in the discussion before. I
think one can set text properties but one is not allowed to change the
candidate string - this will break `choose-completion`.

Daniel



reply via email to

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