GNU bug report logs - #62370
28.1; sieve-mode: faces should inherit from font-lock-X-face faces

Previous Next

Package: emacs;

Reported by: "Trent W. Buck" <trentbuck <at> gmail.com>

Date: Wed, 22 Mar 2023 05:42:01 UTC

Severity: normal

Found in version 28.1

Done: Jim Porter <jporterbugs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: "Trent W. Buck" <trentbuck <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.1; sieve-mode: faces should inherit from font-lock-X-face faces
Date: Wed, 22 Mar 2023 16:41:07 +1100
[Message part 1 (text/plain, inline)]
sieve-mode as at Emacs 28.1 defines its colors ab initio.
This means they have to be themed by hand.
I think sieve-mode should inherit from font-lock-*-face,
as most other things do.

Here is a quick-and-dirty version I knocked out for personal use:

    (custom-set-faces
     '(sieve-control-commands ((t :inherit font-lock-builtin-face)))
     '(sieve-action-commands  ((t :inherit font-lock-function-name-face)))
     '(sieve-test-commands    ((t :inherit font-lock-variable-name-face)))
     '(sieve-tagged-arguments ((t :inherit font-lock-type-face))))

[Screenshot from 2023-03-22 16-23-48.png (image/png, attachment)]
[Screenshot from 2023-03-22 16-40-15.png (image/png, attachment)]

This bug report was last modified 1 year and 257 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.