emacs-devel
[Top][All Lists]
Advanced

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

Re: Simplification of `affixation-function`


From: Daniel Mendler
Subject: Re: Simplification of `affixation-function`
Date: Sun, 25 Apr 2021 00:56:36 +0200



On 4/25/21 12:48 AM, Dmitry Gutov wrote:
On 25.04.2021 01:34, Stefan Monnier wrote:
because internally it depends on the predefined order of elements:
“completion + suffix” or “completion + prefix + suffix”.
There is no backward-compatible way to change this order.
We don't need to worry about backward compatibility here since this
functionality has not yet been included in any released Emacs.

Speaking of not being able to change it after the release, am I right to assume that this feature's main target is completing-read and not completion-at-point-functions?

I support affixation-functions in my small Corfu package, which shows overlay popups like Company. However the result will not be good if the affixation-functions return long suffix strings and are written with the *Completions* buffer in mind.

Daniel



reply via email to

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