GNU bug report logs -
#45780
28.0.50; [PATCH] Face used for affixation function annotations
Previous Next
Reported by: Clemens <clemera <at> posteo.net>
Date: Mon, 11 Jan 2021 12:39:02 UTC
Severity: normal
Tags: fixed, patch
Fixed in version 28.0.50
Done: Juri Linkov <juri <at> linkov.net>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 45780 <at> debbugs.gnu.org (full text, mbox):
> 1. when only annotation suffix string is provided, then the face
> completion-annotations is added;
>
> 2. when both prefix and suffix are provided, then the client decides
> what face to add. Also it's possible to provide an empty prefix
> string to be able to specify a custom face for the suffix string.
>
> So when the client wants to override the default annotation face,
> this is already easy to do using something like (this is not a patch
> to commit, but just demonstration of current abilities):
I would prefer the more automatic behaviour I proposed as having
completion-annotations face is nice when the client has not thought
about it but when the client has provided a string with a face it is
likely the client wants exactly that face and not a combination with
completion-annotations face. Basing the decision on a provided prefix
seems a bit arbitrary and one would need to figure this out by looking
at the code.
This bug report was last modified 4 years and 113 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.