GNU bug report logs -
#78808
28.2; Debian 12 GNU Emacs bug in Custom
Previous Next
Reported by: Barry Davidson <m4 <at> danwin1210.de>
Date: Mon, 16 Jun 2025 18:36:04 UTC
Severity: normal
Found in version 28.2
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
[Message part 1 (text/plain, inline)]
Your bug report
#78808: 28.2; Debian 12 GNU Emacs bug in Custom
which was filed against the emacs package, has been closed.
The explanation is attached below, along with your original report.
If you require more details, please reply to 78808 <at> debbugs.gnu.org.
--
78808: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=78808
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
> Date: Tue, 8 Jul 2025 05:37:51 +0300
> From: Barry Davidson <m4 <at> danwin1210.de>
>
> On Sun, 06 Jul 2025 09:50:08 +0300
> Eli Zaretskii <eliz <at> gnu.org> wrote:
>
> > [Please use Reply All to reply, to keep the bug tracker CC'ed.]
> >
> > > Date: Tue, 17 Jun 2025 15:02:44 +0300
> > > From: Barry Davidson <m4 <at> danwin1210.de>
> > >
> > > On Tue, 17 Jun 2025 14:09:36 +0300
> > > Eli Zaretskii <eliz <at> gnu.org> wrote:
> > >
> > > > > Date: Mon, 16 Jun 2025 15:49:13 +0300
> > > > > From: Barry Davidson via "Bug reports for GNU Emacs,
> > > > > the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> > > > >
> > > > > After changing settings in Custom and after visiting and
> > > > > changing existing theme in customize-create-theme, Custom fails
> > > > > to put ( ) around values for key :inherit. Example:
> > > > > It writes (:inherit link) instead of (:inherit (link)).
> > > > > Emacs then complains about errors in theme and if I visit it in
> > > > > customize-create-theme, then those fields are not properly
> > > > > displayed: instead of checkboxes there are just elisp code
> > > > > sections. I fixed my custom theme by manually adding
> > > > > parentheses ( ) after every :inherit keyword, like so:
> > > > > (:inherit (variable-pitch)); Custom wrote it as (:inherit
> > > > > variable-pitch) without parentheses.
> > > >
> > > > Thank you for your report. But please describe a detailed recipe
> > > > for reproducing this problem starting from "emacs -Q". Please
> > > > include all the commands you typed, including the specific theme
> > > > you tried and the variables/faces you customized. Such a
> > > > detailed description is important for efficiently investigating
> > > > the problem and its source, if it still exists in the latest
> > > > releases of Emacs (the last released version is 30.1, with 30.2
> > > > in the works and expected to be released soon).
> > > emacs -Q, M-x customize-create-theme,
> > > Include basic face customizations in this theme? y
> > > Change colors of all Font Lock faces, except inherited ones.
> > > Save Theme. Then next day M-x customize-create-theme,
> > > Visit Theme, Font Lock Keyword Face and Font Lock Builtin Face - add
> > > Weight bold, Save Theme. Restart emacs and there are errors in
> > > *Messages*. M-x customize-create-theme, Visit Theme, click on
> > > arrows to show each face. Faces that inherit from other faces show
> > > just lisp code instead of checkboxes. For example, Font Lock
> > > Comment Delimiter Face. emacs -Q, M-x customize-create-theme,
> > > Include basic face customizations in this theme? y
> > > Save Theme. Then compare this theme to the one I've created. After
> > > studying the code I've noticed lack of parentheses ( ) around values
> > > for key :inherit. Adding parentheses manually fixed the problem. I
> > > can load the theme and when visiting in M-x customize-create-theme,
> > > the checkboxes are in place.
> >
> > Thanks, and sorry for the long delay.
> >
> > I tried this recipe now with what will soon become Emacs 30.2, and I
> > cannot reproduce the problems you are describing. I see neither error
> > messages in *Messages* nor Lisp code instead of checkboxes in the face
> > descriptions.
> >
> > You report these problems in Emacs 28.2, which is quite old, so
> > perhaps the problems were already fixed since then? Can you try the
> > latest pretest of Emacs 30.2, available here:
> >
> > https://alpha.gnu.org/gnu/emacs/pretest/emacs-30.1.90.tar.xz
> >
> > and see if the problems are gone?
>
> The problem is not present in emacs-30.1.90.tar.xz
Thanks, so I'm closing this bug.
[Message part 3 (message/rfc822, inline)]
Hello!
After changing settings in Custom and after visiting and changing
existing theme in customize-create-theme, Custom fails to put ( )
around values for key :inherit. Example:
It writes (:inherit link) instead of (:inherit (link)).
Emacs then complains about errors in theme and if I visit it in
customize-create-theme, then those fields are not properly displayed:
instead of checkboxes there are just elisp code sections.
I fixed my custom theme by manually adding parentheses ( ) after every
:inherit keyword, like so: (:inherit (variable-pitch));
Custom wrote it as (:inherit variable-pitch) without parentheses.
Thanks!
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.