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: John Wiegley <johnw <at> gnu.org>
To: Michael Shields <shields <at> msrl.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, Steven Allen <steven <at> stebalien.com>, 77928 <at> debbugs.gnu.org
Subject: bug#77928: 31.0.50; ebcde0f90f6 (bug#77928) breaks :custom-face for themed faces
Date: Sun, 08 Jun 2025 11:31:38 -0700
>>>>> Michael Shields <shields <at> msrl.com> writes:

> With my patch applied, :custom-face should be equivalent in behavior to
> custom-set-faces, but without the settings appearing as if they were
> user-set.

> I don't know how this should interact with themes. Maybe the right approach
> there is to define a new personal theme and configure faces there instead of
> using :custom-face. Or maybe it is simplest to call face-spec-set explicitly
> from :config.

This description certainly sounds like it expresses the right approach of
use-package being as “minimal” a wrapper around standard behavior as possible.

-- 
John Wiegley                  GPG fingerprint = 4710 CF98 AF9B 327B B80F
http://newartisans.com                          60E1 46C4 BD1A 7AC1 4BA2




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.