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


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

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

>> From: Steven Allen <steven <at> stebalien.com>
>> Cc: johnw <at> gnu.org, shields <at> msrl.com, 77928 <at> debbugs.gnu.org
>> Date: Wed, 04 Jun 2025 12:07:12 -0700
>>
>> There are two parts to this report:
>>
>> 1. Bug: use-package's ":custom-face" no longer overrides themed
>>   faces.
>> 2. Opinion: ":custom-face" SHOULD merge the user-specified face spec
>>   with the underlying face spec (contrary to the original report).
>
> I'm not sure I agree.  I think the concept is that themes override any
> other face definitions, otherwise themes couldn't have done their main
> job.

But this is the user's config. The theme should (and does) override the
default face definitions, but the user should always have the last say.

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.




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.