|
From: | Dmitry Gutov |
Subject: | Re: [PATCH] (icomplete-vertical-mode): Add support for affixations and, annotations |
Date: | Tue, 25 May 2021 01:05:58 +0300 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.8.1 |
On 24.05.2021 22:05, João Távora wrote:
- One commit, titled "Overhaul annotation-function to match affixation-function" makes annotation-function match its cousin in capability and switches the two producers of affixation-function to use annotation-function instead. It uses the logic we discussed before, returning a propertized string. It should be backward and forward compatible.
TBH, I'm not quite happy with the prefix-suffix thing either: it would be better to find some semantic names (if possible) and leave it to the frontend to do the layout.
For instance, if we're talking about annotation, Company users can choose between two ways of alignment, at least. And with 'kind' icons, some users will prefer them on the left, and some (even though there is currently no such option) would prefer it on the right.
The current examples of affixation function usages are quite modest: one can be turned into an annotation, and the other into a "kind" icon.
Perhaps the annotation placement hint for the former example might make sense, but I wouldn't call it crucial.
[Prev in Thread] | Current Thread | [Next in Thread] |