From unknown Thu Sep 18 22:55:48 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#78808 <78808@debbugs.gnu.org> To: bug#78808 <78808@debbugs.gnu.org> Subject: Status: 28.2; Debian 12 GNU Emacs bug in Custom Reply-To: bug#78808 <78808@debbugs.gnu.org> Date: Fri, 19 Sep 2025 05:55:48 +0000 retitle 78808 28.2; Debian 12 GNU Emacs bug in Custom reassign 78808 emacs submitter 78808 Barry Davidson severity 78808 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Jun 16 14:35:30 2025 Received: (at submit) by debbugs.gnu.org; 16 Jun 2025 18:35:31 +0000 Received: from localhost ([127.0.0.1]:48782 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uREg5-0008SV-MN for submit@debbugs.gnu.org; Mon, 16 Jun 2025 14:35:30 -0400 Received: from lists.gnu.org ([2001:470:142::17]:46466) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uR9HJ-0005jC-BX for submit@debbugs.gnu.org; Mon, 16 Jun 2025 08:49:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uR9HB-0006j5-KE for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2025 08:49:26 -0400 Received: from danwin1210.de ([116.202.17.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uR9H8-0000nI-Qn for bug-gnu-emacs@gnu.org; Mon, 16 Jun 2025 08:49:25 -0400 Received: from gentoo (unknown [IPv6:2a02:2168:b0a:a56c::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384) (No client certificate requested) by danwin1210.de (Postfix) with ESMTPSA id 423073EA15 for ; Mon, 16 Jun 2025 12:49:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=danwin1210.de; s=20211204-rsa; t=1750078158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WXitXyDeUOZ1Um9fk3pCUpe1zQzf8tbH1kUQBJnPPL4=; b=WIKMVF4dF7lWmUyRDQPHBN+aM7X/6sFtuoe1j/K/BBfHNS+k7wujMQCEEpsSuLkAZeK+hF bPI2RdJxw4xFxXeKTgEWOtUycNnzh0MoSDA6VHtsalvNEcmyRG2qadVhV1mcsVtIQ2TvAW wiqyqxwHlidRVg/uTTyzNnV1xC8Plsq5y3mU/dyrdYt7PYgfyw8UH1EKY7vr1F9zg/rEL6 Gc8Hti8Xq2TwkZCLbbQtLaQKcXr2FfL+MK77xVsczogI8mZFL9HshTt62o4WhRCJ84c2wD C+uP+qcjGC4iKEOIUCZluAd1LPguGPVQe9Tcb4j3NsNS8zUSkeoRAsCsi2keGw== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=danwin1210.de; s=20211204-ed25519; t=1750078158; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=WXitXyDeUOZ1Um9fk3pCUpe1zQzf8tbH1kUQBJnPPL4=; b=Mq3Yx13FITbnb6MSAlfm/ECxLcz96XWOg7bLUh5jSDoK5427mOgbF0tPq+06fImMud2jRk 4HOTZITLCjp/b4Cg== Date: Mon, 16 Jun 2025 15:49:13 +0300 From: Barry Davidson To: bug-gnu-emacs@gnu.org Subject: 28.2; Debian 12 GNU Emacs bug in Custom Message-ID: <20250616154913.421b5301@gentoo> X-Mailer: Claws Mail 4.1.1 (GTK 3.24.38; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Received-SPF: pass client-ip=116.202.17.147; envelope-from=m4@danwin1210.de; helo=danwin1210.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: 0.9 (/) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Mon, 16 Jun 2025 14:35:28 -0400 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.1 (/) 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! From debbugs-submit-bounces@debbugs.gnu.org Tue Jun 17 07:09:48 2025 Received: (at 78808) by debbugs.gnu.org; 17 Jun 2025 11:09:48 +0000 Received: from localhost ([127.0.0.1]:55027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uRUCJ-0001dB-Pz for submit@debbugs.gnu.org; Tue, 17 Jun 2025 07:09:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38376) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uRUCG-0001cb-PD for 78808@debbugs.gnu.org; Tue, 17 Jun 2025 07:09:45 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uRUCB-0001S1-1u; Tue, 17 Jun 2025 07:09:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=TMhLXGEtiL9+D2vys5CxvdCM3AcK1aOsduMKnxbI1/8=; b=hOuAe53ZNgrP 1OmbprQJveMfFXK5RcH0S7SfkJySAx97UrrGPtAzO+Hpys793vwEVfqz81qoUVKjhrmpqD0qKjxwh R+JpjD+y7VC9bwAqze5BnYtO8J6dZIVT2jVIfCqu5Ic7UX4yFSk0G/2x6hdmvRHW1btfP4tHSqZ4v l55lyu2TSjPgLAz00SzQa8DuVq6cWf7OvDYLLmZTozjT6GvligicVhGNbZ7ECdWBt0vIU8gffYPi8 V3Jyqk28O+jHMR65TUCS84yMG7Pl9W20/qSYu02Spl2tfW6dF8zZFcviBpD8spQVEn8WDddEG5emQ goZw/VjaPLR1/9DvExXyqg==; Date: Tue, 17 Jun 2025 14:09:36 +0300 Message-Id: <86ikkuoc9b.fsf@gnu.org> From: Eli Zaretskii To: Barry Davidson In-Reply-To: <20250616154913.421b5301@gentoo> (bug-gnu-emacs@gnu.org) Subject: Re: bug#78808: 28.2; Debian 12 GNU Emacs bug in Custom References: <20250616154913.421b5301@gentoo> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78808 Cc: 78808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > 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" > > 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). From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 06 02:50:28 2025 Received: (at 78808) by debbugs.gnu.org; 6 Jul 2025 06:50:28 +0000 Received: from localhost ([127.0.0.1]:50059 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uYJCj-00041H-Mp for submit@debbugs.gnu.org; Sun, 06 Jul 2025 02:50:27 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:54910) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uYJCe-0003vf-Uk for 78808@debbugs.gnu.org; Sun, 06 Jul 2025 02:50:21 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uYJCX-0001ac-Gy; Sun, 06 Jul 2025 02:50:15 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=E97BsooGrZ6VJvlz0uK7RB0u/dsXxDcBaGHNROyRI20=; b=HYyia2CKe0bN OO09IsELxYibB/yCTVR3KwEz26iYDfGIp8Ikps/VIj2oJPHTPhePuhTNzN1u99qTA7/I5BOBExOlu AxNYnM8s0gyVoaTmDvJQA0BxqK38ykMMitGIhp5TXKPMdwDfdEsK6/8KfkDoMX6zRDLBmXZjG04o2 7162mFZ9x7lUArQRlumjjHjqrINReeGtGWrmQwgWbJvApU9rrfX6DvCCFemSgu86N5YD0h2+L0ohV nlXJw9ZP1h1rpQFWaCri91cerbCn8ySGK1NnFZBdXJ/7eYoPMft+/BGr9+CRoYijNteOa3I6qq6Kn D1ORQa7l1u+FTruytRGE+A==; Date: Sun, 06 Jul 2025 09:50:08 +0300 Message-Id: <86ikk5vmn3.fsf@gnu.org> From: Eli Zaretskii To: Barry Davidson In-Reply-To: <20250617150244.201e33f5@gentoo> (message from Barry Davidson on Tue, 17 Jun 2025 15:02:44 +0300) Subject: Re: bug#78808: 28.2; Debian 12 GNU Emacs bug in Custom References: <20250616154913.421b5301@gentoo> <86ikkuoc9b.fsf@gnu.org> <20250617150244.201e33f5@gentoo> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78808 Cc: 78808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) [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 > > On Tue, 17 Jun 2025 14:09:36 +0300 > Eli Zaretskii 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" > > > > > > 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? From debbugs-submit-bounces@debbugs.gnu.org Sun Jul 06 02:53:19 2025 Received: (at 78808) by debbugs.gnu.org; 6 Jul 2025 06:53:20 +0000 Received: from localhost ([127.0.0.1]:50083 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uYJFU-0004Oh-Ep for submit@debbugs.gnu.org; Sun, 06 Jul 2025 02:53:19 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:45732) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uYJFQ-0004NM-RM for 78808@debbugs.gnu.org; Sun, 06 Jul 2025 02:53:14 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uYJFK-0002Sk-KE; Sun, 06 Jul 2025 02:53:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=sg2bhL850kVCp262m1bBF+e6nt5nHvcSlZareozaPRg=; b=byZryIDF1QOo vRXzFKHAa0w/56oMwJCJT4nsi9zK2d2G7Qfa23leXWxkQVJz26yyJa7lxZ6zAC1L5Y3/ThH7DCk/A P66qyz+3zEBuduLr3ybI11vhMjR0Z8ZM1h+yh4lT/1Lzno71cAUc06wX9lPBkTF0uKdHavgqyR661 sZmPLd6gbieF7UbGcxM7QLWUB+t6n0t22wj8I7wSuo9s2NFheK5BvjrkRbdhIO9J4EY8ZkpVr6mF9 sp4wLUftvEyIshORhoCWO5TOShzGcDIqoZca9IeEkQiPpPBLel1UB+kV+egeeYXphmLb8OQFoxfji sM3tu1Oa+rkgOmKY7wqhuQ==; Date: Sun, 06 Jul 2025 09:52:59 +0300 Message-Id: <86h5zpvmic.fsf@gnu.org> From: Eli Zaretskii To: Barry Davidson In-Reply-To: <20250618072743.56139e25@gentoo> (message from Barry Davidson on Wed, 18 Jun 2025 07:27:43 +0300) Subject: Re: bug#78808: 28.2; Debian 12 GNU Emacs bug in Custom References: <20250616154913.421b5301@gentoo> <86ikkuoc9b.fsf@gnu.org> <20250618072743.56139e25@gentoo> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78808 Cc: 78808@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Wed, 18 Jun 2025 07:27:43 +0300 > From: Barry Davidson > > On Tue, 17 Jun 2025 14:09:36 +0300 > Eli Zaretskii 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" > > > > > > 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). From debbugs-submit-bounces@debbugs.gnu.org Wed Jul 09 08:09:45 2025 Received: (at 78808-done) by debbugs.gnu.org; 9 Jul 2025 12:09:45 +0000 Received: from localhost ([127.0.0.1]:49407 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1uZTcP-0004Xp-0e for submit@debbugs.gnu.org; Wed, 09 Jul 2025 08:09:45 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37086) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1uZTcK-0004XB-TR for 78808-done@debbugs.gnu.org; Wed, 09 Jul 2025 08:09:42 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1uZTcE-00010U-Ln; Wed, 09 Jul 2025 08:09:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=kCREx51hL5kd6AjOXFISdvMnPp6UCWLtPuazT0XBNms=; b=PgCzQIOikaiZ IBLS5cQ2ESbhXTNbhbjvBkT4L6eYNgGKCpq3UTYJG+Hvi7URUc+Z1YftxzOOc8kxOvWOibfxbs1wY 5HjjujlMWkFmG9fqFbBS/+6T9BCQzDxeVRkgf/0qxb83Rnkh/lkVls280zwyw+cUgdMgkioBMJVSD x+chBMkWioshCWxzn1CezWIUl3DNkE1tGwS+L10PmWixHz1LCQFOiWhaTVHb64CVXlbUFdymJdpPH QwNsGEC1sQ+/y7arkuPfR+CDZHINPCloT0K2zWCRGxOGIaOYqoovqvEcByEAE9LRIeh8H7VnbexLj 7jN22hduxRELdU4SEMFxVw==; Date: Wed, 09 Jul 2025 15:09:20 +0300 Message-Id: <86sej5in0v.fsf@gnu.org> From: Eli Zaretskii To: Barry Davidson In-Reply-To: <20250708053751.75f18004@gentoo> (message from Barry Davidson on Tue, 8 Jul 2025 05:37:51 +0300) Subject: Re: bug#78808: 28.2; Debian 12 GNU Emacs bug in Custom References: <20250616154913.421b5301@gentoo> <86ikkuoc9b.fsf@gnu.org> <20250617150244.201e33f5@gentoo> <86ikk5vmn3.fsf@gnu.org> <20250708053751.75f18004@gentoo> X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 78808-done Cc: 78808-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) > Date: Tue, 8 Jul 2025 05:37:51 +0300 > From: Barry Davidson > > On Sun, 06 Jul 2025 09:50:08 +0300 > Eli Zaretskii 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 > > > > > > On Tue, 17 Jun 2025 14:09:36 +0300 > > > Eli Zaretskii 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" > > > > > > > > > > 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. From unknown Thu Sep 18 22:55:48 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Thu, 07 Aug 2025 11:24:05 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator