From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 18 Oct 2019 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 37802@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.157135857327067 (code B ref -1); Fri, 18 Oct 2019 00:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 18 Oct 2019 00:29:33 +0000 Received: from localhost ([127.0.0.1]:49064 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLG97-00072V-0M for submit@debbugs.gnu.org; Thu, 17 Oct 2019 20:29:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:54564) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iLG94-00072J-Ls for submit@debbugs.gnu.org; Thu, 17 Oct 2019 20:29:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47811) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iLG93-00010B-HN for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 20:29:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_50,RCVD_IN_DNSWL_LOW, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iLG92-00075V-Aj for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 20:29:29 -0400 Received: from relayout02-redir.e.movistar.es ([86.109.101.202]:57245) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iLG92-00074p-3T for bug-gnu-emacs@gnu.org; Thu, 17 Oct 2019 20:29:28 -0400 Received: from sky (238.red-79-144-110.dynamicip.rima-tde.net [79.144.110.238]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout02.e.movistar.es (Postfix) with ESMTPSA id 46vRjw4Dx3zdbhH for ; Fri, 18 Oct 2019 02:29:23 +0200 (CEST) From: =?UTF-8?Q?=C3=93scar?= Fuentes Date: Fri, 18 Oct 2019 02:29:23 +0200 Message-ID: <87d0euopzw.fsf@telefonica.net> MIME-Version: 1.0 Content-Type: text/plain X-CTCH-Score: 0.000 X-CTCH-ScoreCust: 0.000 X-TnetOut-Country: IP: 79.144.110.238 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout02 X-TnetOut-MsgID: 46vRjw4Dx3zdbhH.AC602 X-TnetOut-SpamCheck: no es spam, Unknown X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1571963365.10297@rgCHXrSqkZY7HmfPt+ASSg X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 86.109.101.202 X-Spam-Score: -2.3 (--) 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 (---) I'm experimenting with some code that uses face-remap-add-relative to modify colors on specific windows. It takes the attribute of an existing face, alters it and uses :filtered to apply the change conditionally. On my specific case I use that technique for darkening the default background of the windows that have no keyboard focus. However, when I switch themes I have to manually force the recalculation of the "darked" background to adapt it to the new theme. If I had a hook that fires *after* a theme is enabled or disabled, I could automatize the recalculation. I looked at custom.el and the change seems simple enough so I wonder if there is any reason for not implementing such hook. In GNU Emacs 27.0.50 (build 1, x86_64-pc-linux-gnu, X toolkit) of 2019-09-12 built on sky Repository revision: 421084d2cb160261b259bddb687bb2c234f8f1ef Repository branch: master Windowing system distributor 'The X.Org Foundation', version 11.0.12004000 System Description: Debian GNU/Linux bullseye/sid From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 10:59:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: =?UTF-8?Q?=C3=93scar?= Fuentes Cc: 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165304430217250 (code B ref 37802); Fri, 20 May 2022 10:59:02 +0000 Received: (at 37802) by debbugs.gnu.org; 20 May 2022 10:58:22 +0000 Received: from localhost ([127.0.0.1]:37698 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Ks-0004UA-Ev for submit@debbugs.gnu.org; Fri, 20 May 2022 06:58:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33426) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Kq-0004To-BM for 37802@debbugs.gnu.org; Fri, 20 May 2022 06:58:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=Kgb++pWI0U9go97NMKWbYCHDkGhTkzmnSJZAC4vJBlo=; b=j68ouKz969eIbkXaNlYXkfTtmJ R1zF/jLrV0dR+2EPs6dsNZxWWNHObvp/V7EJXLwHXO6gOlmpBzq/qmFxMPwUC90y9gF+t/Xpu3ycL BVqz1Xyb8Fn8ybJJDLYN884MVSlm9HE24jp8WkSlLp++f7oAzRNOK5Rpa3c0pxS7Ng5M=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns0Kh-0006q9-Jy; Fri, 20 May 2022 12:58:14 +0200 From: Lars Ingebrigtsen References: <87d0euopzw.fsf@telefonica.net> X-Now-Playing: Sonoko's _La Debutante_: "In Heaven" Date: Fri, 20 May 2022 12:58:09 +0200 In-Reply-To: <87d0euopzw.fsf@telefonica.net> ("=?UTF-8?Q?=C3=93scar?= Fuentes"'s message of "Fri, 18 Oct 2019 02:29:23 +0200") Message-ID: <87fsl44gji.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=C3=93scar?= Fuentes writes: > I'm experimenting with some code that uses face-remap-add-relative to > modify colors on specific windows. It takes the attribute of an existing > face, alters it and uses :filtered to apply the cha [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) =C3=93scar Fuentes writes: > I'm experimenting with some code that uses face-remap-add-relative to > modify colors on specific windows. It takes the attribute of an existing > face, alters it and uses :filtered to apply the change conditionally. On > my specific case I use that technique for darkening the default > background of the windows that have no keyboard focus. > > However, when I switch themes I have to manually force the recalculation > of the "darked" background to adapt it to the new theme. If I had a hook > that fires *after* a theme is enabled or disabled, I could automatize > the recalculation. > > I looked at custom.el and the change seems simple enough so I wonder if > there is any reason for not implementing such hook. (I'm going through old bug reports that unfortunately weren't resolved at the time.) If this is for a package, I think it might make more sense to use `advice-add' on `enable-theme'? But I wouldn't mind adding a an `enable-theme-hook' here, if that makes things substantially easier for your use case. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Fri May 20 06:58:27 2022 Received: (at control) by debbugs.gnu.org; 20 May 2022 10:58:27 +0000 Received: from localhost ([127.0.0.1]:37701 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Kw-0004UV-MR for submit@debbugs.gnu.org; Fri, 20 May 2022 06:58:26 -0400 Received: from quimby.gnus.org ([95.216.78.240]:33440) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns0Kt-0004Ts-KB for control@debbugs.gnu.org; Fri, 20 May 2022 06:58:23 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=Gy+xXmSi8ow90bVxz5RyytFzn0ddfj1ZlTtvNRkNQM4=; b=WQJsTsNrqjpvA1RJQeJhXHzBI6 Q5SEitU7I1+qVNZ10ypuym/ZkLmtIrTEkEroJTOoZyVLQ0WEePq1BtXexLWSNylquDuaIfYC+aAwl uRZGr2pnbBy1rWF0gCB2jzxC5ufsBJFwj/J9GBkn/VbyNlq7cAoqskxkI5RjyWWxk+D8=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ns0Kl-0006qG-SW for control@debbugs.gnu.org; Fri, 20 May 2022 12:58:17 +0200 Date: Fri, 20 May 2022 12:58:15 +0200 Message-Id: <87ee0o4gjc.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37802 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: tags 37802 + moreinfo quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) tags 37802 + moreinfo quit From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 20 May 2022 14:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165305830812460 (code B ref 37802); Fri, 20 May 2022 14:52:02 +0000 Received: (at 37802) by debbugs.gnu.org; 20 May 2022 14:51:48 +0000 Received: from localhost ([127.0.0.1]:39847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns3ym-0003Eu-Fo for submit@debbugs.gnu.org; Fri, 20 May 2022 10:51:48 -0400 Received: from relayout01.e.movistar.es ([86.109.101.201]:59261 helo=relayout01-redir.e.movistar.es) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ns3yh-0003EV-SH for 37802@debbugs.gnu.org; Fri, 20 May 2022 10:51:47 -0400 Received: from sky (104.red-81-39-17.dynamicip.rima-tde.net [81.39.17.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout01.e.movistar.es (Postfix) with ESMTPSA id 4L4V6c0CBszfb43; Fri, 20 May 2022 16:51:35 +0200 (CEST) From: =?UTF-8?Q?=C3=93scar?= Fuentes References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> Date: Fri, 20 May 2022 16:51:35 +0200 In-Reply-To: <87fsl44gji.fsf@gnus.org> (Lars Ingebrigtsen's message of "Fri, 20 May 2022 12:58:09 +0200") Message-ID: <87fsl45kaw.fsf@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-TnetOut-Country: IP: 81.39.17.104 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout01 X-TnetOut-MsgID: 4L4V6c0CBszfb43.A1558 X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1653663096.25482@5zijhJ3BlN40G5AhIQOFJQ X-Spam-Status: No X-Spam-Score: 0.3 (/) 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.7 (/) Lars Ingebrigtsen writes: > =C3=93scar Fuentes writes: > >> I'm experimenting with some code that uses face-remap-add-relative to >> modify colors on specific windows. It takes the attribute of an existing >> face, alters it and uses :filtered to apply the change conditionally. On >> my specific case I use that technique for darkening the default >> background of the windows that have no keyboard focus. >> >> However, when I switch themes I have to manually force the recalculation >> of the "darked" background to adapt it to the new theme. If I had a hook >> that fires *after* a theme is enabled or disabled, I could automatize >> the recalculation. >> >> I looked at custom.el and the change seems simple enough so I wonder if >> there is any reason for not implementing such hook. > > (I'm going through old bug reports that unfortunately weren't resolved > at the time.) > > If this is for a package, I think it might make more sense to use > `advice-add' on `enable-theme'? But I wouldn't mind adding a an > `enable-theme-hook' here, if that makes things substantially easier for > your use case. Currently I've solved my requirement by using defadvice on enable-theme *and* disable-theme for adapting my custom faces to changes on the active theme(s). Using a hook would be a little bit cleaner. I'm also surprised that no hook was implemented for this case, as most changes on user-visible state has an associated hook. Whatever you decide, it is fine with me. From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 12:57:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: =?UTF-8?Q?=C3=93scar?= Fuentes Cc: 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313781010851 (code B ref 37802); Sat, 21 May 2022 12:57:02 +0000 Received: (at 37802) by debbugs.gnu.org; 21 May 2022 12:56:50 +0000 Received: from localhost ([127.0.0.1]:40922 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOf3-0002ox-Vf for submit@debbugs.gnu.org; Sat, 21 May 2022 08:56:50 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOf1-0002od-Du for 37802@debbugs.gnu.org; Sat, 21 May 2022 08:56:49 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :In-Reply-To:Date:References:Subject:Cc:To:From:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=pJ4mqn1WPDreQGBRzyTtm3BnRPgID7kqkFDpu1j/ROw=; b=ThhEChMR6xIRx5aXLwkP5cSI1x ixPTR6OweC+BtPGgNhagIcz8B7vfCH7ChyibqNIJImkNOikkmBdyVTCvOOFKEu6hNmXIWyRCYb5Ra ylyw4VvbQX6YlA+N3MISKv72Y2iipmOB35Y7V1MfEUfi1TgrDT/0t00jQOAwZmG9scgE=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsOes-0003Rd-4E; Sat, 21 May 2022 14:56:40 +0200 From: Lars Ingebrigtsen References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAG1BMVEX9/fz18s/x7Kms qY1aWEU0MyeZlG+BfWL///+iDY0nAAAAAWJLR0QIht6VegAAAAd0SU1FB+YFFQw4Dy3UIuwAAAGv SURBVDjL3ZPBbusgEEXDHwQiva7BUbJNwbXXiYewr5hm29ZxvG0TGv9+B7DbKttunoqQJTjce8dj PJv9F4PPabLfeTChFE0+Y3zO05iAUpILmbYEVyqeyamCACULTZCkUtDqBxAl+PskGBWMHOgo+4fu FkguSStCW/EM5AhUVHBVGnMDVvfkdLmstc77k1UB3p0MhGuVgKRSMsBxwNAbpVbvt8BDYfGs1I5L kQEEQG/RB2PxUamjEjqDIQCcCNgr4n4Au1s8fltBfDjEHgZoeJ2BnUJcVPShUXfzL4X1vdMl+goA dlpskgSOQOnU99KdgiMrF54TeIiS4bXQVYhph7bqk4KVtDy8nB+uHynqqTCv+Xt0HnGrTKe7XMMK fQZHWm3XnZNU3qEGJP6WwJJee1vYZh2PmwB2At2+w3dOybEv4FocAbOXD9zyJRUU+9LUXwAvFp8W 9C6xL3Yfi9yMoLboekitSY9cFbNND+CGAaJZ6ibkliybI7irqWiP0tB7b1NL2KLpT61Wa2pIS04+ IOTwjU7XdhWsN/FDQn3OVuPfQjdS0m2fM86m6/6nxycD0pDzRpzfuQAAACV0RVh0ZGF0ZTpjcmVh dGUAMjAyMi0wNS0yMVQxMjo1NjoxNSswMDowMHmahJ8AAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjIt MDUtMjFUMTI6NTY6MTUrMDA6MDAIxzwjAAAAAElFTkSuQmCC X-Now-Playing: Neil Young's _Comes a Time_: "Already One" Date: Sat, 21 May 2022 14:56:34 +0200 In-Reply-To: <87fsl45kaw.fsf@telefonica.net> ("=?UTF-8?Q?=C3=93scar?= Fuentes"'s message of "Fri, 20 May 2022 16:51:35 +0200") Message-ID: <871qwnyrgd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: =?UTF-8?Q?=C3=93scar?= Fuentes writes: > Currently I've solved my requirement by using defadvice on enable-theme > *and* disable-theme for adapting my custom faces to changes on the > active theme(s). Using a hook would be a little bit cle [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) =C3=93scar Fuentes writes: > Currently I've solved my requirement by using defadvice on enable-theme > *and* disable-theme for adapting my custom faces to changes on the > active theme(s). Using a hook would be a little bit cleaner. I'm also > surprised that no hook was implemented for this case, as most changes on > user-visible state has an associated hook. Yes, true. So I've now added these two hooks to Emacs 29. --=20 (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Sat May 21 08:56:57 2022 Received: (at control) by debbugs.gnu.org; 21 May 2022 12:56:57 +0000 Received: from localhost ([127.0.0.1]:40925 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOfB-0002pH-6a for submit@debbugs.gnu.org; Sat, 21 May 2022 08:56:57 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45628) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOf8-0002op-9X for control@debbugs.gnu.org; Sat, 21 May 2022 08:56:56 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=jh6oUAROYiKjwRTgbBNzbxkIPSyNomp0di108aWvQZg=; b=D4FSEv97DRQny/ntxfZDJCSSeI Qk1/OY+F/44pJlKsOzvip3FjLbx8qNSA1RCWz2ArpGITABVMdLSWlj431a4Spl3cMHyPkrqE5vO1X ojXyVir822kyKWPdTnZy1xfqZXjPo/+PbM5BFsKbNs0mwQttpP8LmUDprRduxRR+YtE0=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsOf0-0003Rl-A9 for control@debbugs.gnu.org; Sat, 21 May 2022 14:56:48 +0200 Date: Sat, 21 May 2022 14:56:45 +0200 Message-Id: <87zgjbxcvm.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #37802 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 37802 29.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control 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 (---) close 37802 29.1 quit From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:08:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313844120370 (code B ref 37802); Sat, 21 May 2022 13:08:02 +0000 Received: (at 37802) by debbugs.gnu.org; 21 May 2022 13:07:21 +0000 Received: from localhost ([127.0.0.1]:40933 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOpF-0005IU-41 for submit@debbugs.gnu.org; Sat, 21 May 2022 09:07:21 -0400 Received: from eggs.gnu.org ([209.51.188.92]:33482) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsOpB-0005IG-OQ for 37802@debbugs.gnu.org; Sat, 21 May 2022 09:07:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52138) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsOp6-0002gb-04; Sat, 21 May 2022 09:07:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=GdjwWEo8iaVdNX6TIAio+bXlQ5+9mdLZyqIuC69HzqA=; b=fCNPxjkXbcxI9nK6kZrT 77qWb2a/jv2+b5FhZxgFlxVlvSOLb/nFz+NdmX9dvhFSvyGNuz4McEhEvIJm7CnwgzcrAYSdokwnN 1VrW0uBsmq1xZaLNVY9RuX5UCtJEvRYHwF06xuHF4CrlajAcIYhu96HaSlP8i9DlQAgCAYN+w454m PiJevjwXC1xyNtlBmBqI6hLR8q6EKdMtWZeeof4zGuGKwr5Qz7hfjg0oUMUtd2YWWB3RCBGWLFAdB nRzuGRF7TBEqn1kIsB31bRqzodKUkxJdD/gHiqCI8S05+OhiVIGLMh6p3/nGZ9Nb6LIw7WCy/WOcG 1MI7W7JLka7avg==; Received: from [87.69.77.57] (port=1980 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsOp5-0004YG-Fh; Sat, 21 May 2022 09:07:11 -0400 Date: Sat, 21 May 2022 16:07:00 +0300 Message-Id: <83k0af826j.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <871qwnyrgd.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 21 May 2022 14:56:34 +0200) References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Spam-Score: -2.3 (--) 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 (---) > Resent-From: Lars Ingebrigtsen > Original-Sender: "Debbugs-submit" > Resent-CC: bug-gnu-emacs@gnu.org > Resent-Sender: help-debbugs@gnu.org > Cc: 37802@debbugs.gnu.org > From: Lars Ingebrigtsen > Date: Sat, 21 May 2022 14:56:34 +0200 > > Óscar Fuentes writes: > > > Currently I've solved my requirement by using defadvice on enable-theme > > *and* disable-theme for adapting my custom faces to changes on the > > active theme(s). Using a hook would be a little bit cleaner. I'm also > > surprised that no hook was implemented for this case, as most changes on > > user-visible state has an associated hook. > > Yes, true. So I've now added these two hooks to Emacs 29. Thanks, but is there any reason these hooks aren't called enable-theme-function and disable-theme-function? Hooks by such names are already documented as "abnormal hooks", which would avoid the need of saying these new hooks are "atypical", something that we never had in our terminology. From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313930521912 (code B ref 37802); Sat, 21 May 2022 13:22:01 +0000 Received: (at 37802) by debbugs.gnu.org; 21 May 2022 13:21:45 +0000 Received: from localhost ([127.0.0.1]:40964 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP3A-0005hM-PW for submit@debbugs.gnu.org; Sat, 21 May 2022 09:21:44 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP37-0005h5-V3 for 37802@debbugs.gnu.org; Sat, 21 May 2022 09:21:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=fmvEjMrd5rZLyBq0dJlP1tmEY8/ydcZIevr8MZ3kCIg=; b=a82hWN4wAB3YDrQUWHcWEADpC2 RZqe32ZzKoiTLeIvltKDL7LpDxC/874b9qqxMsw2q9ayJ5d89v5lxjlAQ7QN9YnkpUQy66vAe1OVS xEPoHRyj8egcL92yDFeJqAMxRFfjWkuLfIzb5YJqviXaqwl+zUdDDsPyh8rblJdH03KY=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsP2v-0003be-QO; Sat, 21 May 2022 15:21:34 +0200 From: Lars Ingebrigtsen References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> <83k0af826j.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWRglmxqaXs6uk4 MSr////Za8C4AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFQ0UCfxEhkAAAAGZSURBVDjLnZTLYcQg DETF0gCCBhBuQKz67y0ahB17k1zCBeyHfoOAiOr4bdB/QPJJBjNjXrtEuJLZ5JpbMzPVYgqAD8qW HBxYr6HFfwGYOmjtAucgcsAPkO+g3MDs/scdUuJx8A1oS55rgJ4eMfLK6g6UyxXcyEvrM0Cq4ruV sH8BOQEjWB08xEECOML3DODCUEa6I0CyufIViAhJuAaAapigJKkl14SOSKpKQwoAlmERwEhhMjeY DlpYkKKOOQKoB3fwzqamS0GclR+UMVS0Iaewni8A0iKrHXFTkCoONOfZNbtc0raBGzN7usUjUi3a iTaoAr00IWgvKom3ySxQ1x0rZQBPIsALrvYBd1L01QarjhiiS7pQ/30H9lpNuKLM1aKuFfJGmVxH 38BjUF1NS+whK8pHIagjul1YossXWf1zAt79H+1NcLVBvZnYDZS0TT5B1nAm+QkK7sMaVycGaNiF i1c+AFrTS/UC8hNgvSrNT3D40URw3CH9AJfTmR8g8en03W7ANkCBr28gpyJr7W/DCX6+JX+BL8IS lI6nN0lvAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIxVDEzOjIwOjA5KzAwOjAwiyNSNAAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMzoyMDowOSswMDowMPp+6ogAAAAASUVORK5C YII= X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (5): Touch 'Em With Love_: "Glory Hallelujah, How They'll Sing" Date: Sat, 21 May 2022 15:21:29 +0200 In-Reply-To: <83k0af826j.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 May 2022 16:07:00 +0300") Message-ID: <87tu9jxbqe.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > Thanks, but is there any reason these hooks aren't called > enable-theme-function and disable-theme-function? Hooks by such > names are already documented as "abnormal hooks", which would avoid > th [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) Eli Zaretskii writes: > Thanks, but is there any reason these hooks aren't called > enable-theme-function and disable-theme-function? Hooks by such > names are already documented as "abnormal hooks", which would avoid > the need of saying these new hooks are "atypical", something that we > never had in our terminology. "Abnormal" was the word I was looking for. As for the name, I don't really have much of an opinion -- we have more of these abnormal hooks called -hook than -function(s), a short grepping for run-hook-with-args shows. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313953322339 (code B ref 37802); Sat, 21 May 2022 13:26:02 +0000 Received: (at 37802) by debbugs.gnu.org; 21 May 2022 13:25:33 +0000 Received: from localhost ([127.0.0.1]:40981 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP6r-0005oE-Ae for submit@debbugs.gnu.org; Sat, 21 May 2022 09:25:33 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP6p-0005o2-Qa for 37802@debbugs.gnu.org; Sat, 21 May 2022 09:25:32 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsP6k-0005bJ-8d; Sat, 21 May 2022 09:25:26 -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=dO9rFJkGvNuo0Oc3rRgnArSVrgrSoXyLH/tCo7bqKdk=; b=mTRNBSvYRs5I w+rc3I0OVdSfqBz8unaeHM+zoBiSWH9nXD2tYhan0wpy2Qb4kf+xD8sOyUH2+Sv5TNwPWuclXSEFG RxepkLgTAfWErRHu1lWxTHaNgy5nnlEsZ9o9O/bxsyyi7x+x9JdmaBks+suzLROVeFE2fhmw47+qP orQCRPwCHW89Kcpo5JNJYSfTquRIgBZN+z5uROXh4qEgG+d4Q10jd2uApi534T6mwQ3cetrfHwQWU dCQlU6WxrA6T43cKypcVstNNqxggjb2id/n7NZPt0JHvSSkDd/4UWQmWlxZOBGZu9Qlx8gAIOFNMZ R/jJzKtRsvxX3VKIUe/P8Q==; Received: from [87.69.77.57] (port=3093 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nsP6d-0006Si-LT; Sat, 21 May 2022 09:25:25 -0400 Date: Sat, 21 May 2022 16:25:09 +0300 Message-Id: <83ilpz81ca.fsf@gnu.org> From: Eli Zaretskii In-Reply-To: <87tu9jxbqe.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 21 May 2022 15:21:29 +0200) References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> <83k0af826j.fsf@gnu.org> <87tu9jxbqe.fsf@gnus.org> X-Spam-Score: -2.3 (--) 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 (---) > From: Lars Ingebrigtsen > Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org > Date: Sat, 21 May 2022 15:21:29 +0200 > > Eli Zaretskii writes: > > > Thanks, but is there any reason these hooks aren't called > > enable-theme-function and disable-theme-function? Hooks by such > > names are already documented as "abnormal hooks", which would avoid > > the need of saying these new hooks are "atypical", something that we > > never had in our terminology. > > "Abnormal" was the word I was looking for. > > As for the name, I don't really have much of an opinion -- we have more > of these abnormal hooks called -hook than -function(s), a short grepping > for run-hook-with-args shows. Maybe so, and we cannot do much about bad names that are already in the wild. But why not use the documented names for new hooks we introduce now? I can rename them myself, I just wanted to make sure you didn't have any particular reason for using those names. From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Eli Zaretskii Cc: ofv@wanadoo.es, 37802@debbugs.gnu.org Received: via spool by 37802-submit@debbugs.gnu.org id=B37802.165313958322430 (code B ref 37802); Sat, 21 May 2022 13:27:02 +0000 Received: (at 37802) by debbugs.gnu.org; 21 May 2022 13:26:23 +0000 Received: from localhost ([127.0.0.1]:40986 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP7e-0005ph-Oj for submit@debbugs.gnu.org; Sat, 21 May 2022 09:26:22 -0400 Received: from quimby.gnus.org ([95.216.78.240]:45872) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsP7c-0005pR-V1 for 37802@debbugs.gnu.org; Sat, 21 May 2022 09:26:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0f+upjbK3E4hYWLctMJ/zh79djupjACg714L0UYbsKk=; b=gTP62AmH5CyiPdVsOmwKy/59/o o9UJwuOhkI0/EFk0b3MYHjwYumLHNaAdb2a7m/XlzBLRPwrQi7FNvrD6kXeL5S6ltPEKbtwcuUokf DFInlZxz/zLEGULCER1oagPKDyyeNfDDysVjTTGj4BVNFMuuualTplYsHN/hW/OGZvhw=; Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nsP7T-0003f9-5S; Sat, 21 May 2022 15:26:13 +0200 From: Lars Ingebrigtsen References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> <83k0af826j.fsf@gnu.org> <87tu9jxbqe.fsf@gnus.org> <83ilpz81ca.fsf@gnu.org> Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEWRglmxqaXs6uk4 MSr////Za8C4AAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YFFQ0UCfxEhkAAAAGZSURBVDjLnZTLYcQg DETF0gCCBhBuQKz67y0ahB17k1zCBeyHfoOAiOr4bdB/QPJJBjNjXrtEuJLZ5JpbMzPVYgqAD8qW HBxYr6HFfwGYOmjtAucgcsAPkO+g3MDs/scdUuJx8A1oS55rgJ4eMfLK6g6UyxXcyEvrM0Cq4ruV sH8BOQEjWB08xEECOML3DODCUEa6I0CyufIViAhJuAaAapigJKkl14SOSKpKQwoAlmERwEhhMjeY DlpYkKKOOQKoB3fwzqamS0GclR+UMVS0Iaewni8A0iKrHXFTkCoONOfZNbtc0raBGzN7usUjUi3a iTaoAr00IWgvKom3ySxQ1x0rZQBPIsALrvYBd1L01QarjhiiS7pQ/30H9lpNuKLM1aKuFfJGmVxH 38BjUF1NS+whK8pHIagjul1YossXWf1zAt79H+1NcLVBvZnYDZS0TT5B1nAm+QkK7sMaVycGaNiF i1c+AFrTS/UC8hNgvSrNT3D40URw3CH9AJfTmR8g8en03W7ANkCBr28gpyJr7W/DCX6+JX+BL8IS lI6nN0lvAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIyLTA1LTIxVDEzOjIwOjA5KzAwOjAwiyNSNAAA ACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wNS0yMVQxMzoyMDowOSswMDowMPp+6ogAAAAASUVORK5C YII= X-Now-Playing: Bobbie Gentry's _The Girl From Chickasaw County (5): Touch 'Em With Love_: "I Wouldn't Be Surprised" Date: Sat, 21 May 2022 15:26:09 +0200 In-Reply-To: <83ilpz81ca.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 21 May 2022 16:25:09 +0300") Message-ID: <87leuvxbim.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Eli Zaretskii writes: > I can rename them myself, I just wanted to make sure you didn't have > any particular reason for using those names. Nope. Please go ahead. Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) 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 (---) Eli Zaretskii writes: > I can rename them myself, I just wanted to make sure you didn't have > any particular reason for using those names. Nope. Please go ahead. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From unknown Fri Jun 13 11:10:11 2025 X-Loop: help-debbugs@gnu.org Subject: bug#37802: 27.0.50; Feature request: hook for theme enabling/disabling Resent-From: =?UTF-8?Q?=C3=93scar?= Fuentes Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 21 May 2022 16:51:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37802 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo To: Lars Ingebrigtsen Cc: 37802-done@debbugs.gnu.org Received: via spool by 37802-done@debbugs.gnu.org id=D37802.165315180529154 (code D ref 37802); Sat, 21 May 2022 16:51:01 +0000 Received: (at 37802-done) by debbugs.gnu.org; 21 May 2022 16:50:05 +0000 Received: from localhost ([127.0.0.1]:42874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsSIm-0007a9-AB for submit@debbugs.gnu.org; Sat, 21 May 2022 12:50:04 -0400 Received: from relayout03-redir.e.movistar.es ([86.109.101.203]:18163) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nsSIh-0007ZV-Ko for 37802-done@debbugs.gnu.org; Sat, 21 May 2022 12:50:03 -0400 Received: from sky (104.red-81-39-17.dynamicip.rima-tde.net [81.39.17.104]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: 981711563@telefonica.net) by relayout03.e.movistar.es (Postfix) with ESMTPSA id 4L58hb2kqVzMlPC; Sat, 21 May 2022 18:49:51 +0200 (CEST) From: =?UTF-8?Q?=C3=93scar?= Fuentes References: <87d0euopzw.fsf@telefonica.net> <87fsl44gji.fsf@gnus.org> <87fsl45kaw.fsf@telefonica.net> <871qwnyrgd.fsf@gnus.org> Date: Sat, 21 May 2022 18:49:50 +0200 In-Reply-To: <871qwnyrgd.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 21 May 2022 14:56:34 +0200") Message-ID: <87tu9i4yq9.fsf@telefonica.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-TnetOut-Country: IP: 81.39.17.104 | Country: ES X-TnetOut-Information: AntiSPAM and AntiVIRUS on relayout03 X-TnetOut-MsgID: 4L58hb2kqVzMlPC.A9DBD X-TnetOut-SpamCheck: no es spam, clean X-TnetOut-From: ofv@wanadoo.es X-TnetOut-Watermark: 1653756592.00194@6h3SG3pUfabAsRKA7dHbRA X-Spam-Status: No X-Spam-Score: -0.7 (/) 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.7 (/) Lars Ingebrigtsen writes: > Yes, true. So I've now added these two hooks to Emacs 29. Thank you. As it seems that the discussion about the hook's name is resolved, I'm closing the bug report.