GNU bug report logs -
#78808
28.2; Debian 12 GNU Emacs bug in Custom
Previous Next
To reply to this bug, email your comments to 78808 AT debbugs.gnu.org.
There is no need to reopen the bug first.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78808
; Package
emacs
.
(Mon, 16 Jun 2025 18:36:05 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
Barry Davidson <m4 <at> danwin1210.de>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Mon, 16 Jun 2025 18:36:05 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
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!
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78808
; Package
emacs
.
(Tue, 17 Jun 2025 11:10:02 GMT)
Full text and
rfc822 format available.
Message #8 received at 78808 <at> debbugs.gnu.org (full text, mbox):
> 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).
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78808
; Package
emacs
.
(Sun, 06 Jul 2025 06:51:01 GMT)
Full text and
rfc822 format available.
Message #11 received at 78808 <at> debbugs.gnu.org (full text, mbox):
[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?
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#78808
; Package
emacs
.
(Sun, 06 Jul 2025 06:54:04 GMT)
Full text and
rfc822 format available.
Message #14 received at 78808 <at> debbugs.gnu.org (full text, mbox):
> Date: Wed, 18 Jun 2025 07:27:43 +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).
> I want to add that after studying code for hl-line-mode in hl-line.el,
> I found a line '((t :inherit highlight :extend t)) and it looks like it
> should be '((t :inherit (highlight) :extend t))
> Could this be related to some issues with hl-line-mode people
> complaining about online?
I see nothing wrong in that line (which is part of defface).
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Wed, 09 Jul 2025 12:10:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
Barry Davidson <m4 <at> danwin1210.de>
:
bug acknowledged by developer.
(Wed, 09 Jul 2025 12:10:02 GMT)
Full text and
rfc822 format available.
Message #19 received at 78808-done <at> debbugs.gnu.org (full text, mbox):
> 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.
This bug report was last modified 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.