GNU bug report logs -
#58141
[Eglot] Default eglot-diagnostic-tag-unnecessary-face is problematic
Previous Next
Full log
Message #8 received at 58141 <at> debbugs.gnu.org (full text, mbox):
On Wed, 28 Sep 2022 at 13:39, Augusto Stoffel wrote:
> Finally, I think it's hard to be sure the result is readable in all
> custom themes, even all reasonable ones.
I initially wrote this as an abstract argument, but let me point out
that in the Modus Operandi theme (which is eminently reasonable), the
shadow face and font-lock-comment-face are equal. So it's hard to
distinguish commented-out code from (presumably) unnecessary code.
Here's a concrete suggestion: when a language server diagnostic says
some code is "unnecessary", then apply _both_
eglot-diagnostic-tag-unnecessary-face and the usual Flymake face, with
that order of priority. If the user so wishes, they can use
eglot-diagnostic-tag-unnecessary-face to override any attribute of the
flymake-* faces. But, by default, the eglot-diagnostic-tag-* faces are
best kept empty.
This bug report was last modified 2 years and 115 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.