GNU bug report logs - #77928
[PATCH] use-package :custom-face is meant to behave like custom-set-face

Previous Next

Package: emacs;

Reported by: Michael Shields <shields <at> msrl.com>

Date: Sat, 19 Apr 2025 20:42:02 UTC

Severity: normal

Tags: patch

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Steven Allen <steven <at> stebalien.com>
To: John Wiegley <johnw <at> gnu.org>, Eli Zaretskii <eliz <at> gnu.org>
Cc: 77928 <at> debbugs.gnu.org, shields <at> msrl.com
Subject: bug#77928: 31.0.50; ebcde0f90f6 (bug#77928) breaks :custom-face for themed faces
Date: Sun, 08 Jun 2025 09:17:02 -0700
John Wiegley <johnw <at> gnu.org> writes:

>>>>>> Eli Zaretskii <eliz <at> gnu.org> writes:
>
>>> For example, if a user customizes a face via the "Easy Customization"
>>> interface, said customizations always override the theme. :custom-face is
>>> supposed to be the use-package equivalent of the "Easy Customization"
>>> system.
>
>> I'm not sure this is what :custom-face is, because it expands to something
>> else. Maybe John could help us understand what was the intent, and why this
>> is the expansion.
>
> This is no deep answer, I’m afraid. I think I just looked at what gets called
> in settings.el when you save a face customization (`custom-set-faces'), and so
> this is what I used.

It would help to better understand how it was intended to behave:

- Should :custom-face override the theme or should the theme override
  :custom-face?

- Should customizations made via :custom-face be merged with the
  original face definition (as with `custom-set-faces') or should they
  completely replace the underlying face.




This bug report was last modified 42 days ago.

Previous Next


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