From unknown Sun Jun 15 08:33:06 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#69651 <69651@debbugs.gnu.org> To: bug#69651 <69651@debbugs.gnu.org> Subject: Status: 30.0.50; Theme-agnostic hook for theme loading Reply-To: bug#69651 <69651@debbugs.gnu.org> Date: Sun, 15 Jun 2025 15:33:06 +0000 retitle 69651 30.0.50; Theme-agnostic hook for theme loading reassign 69651 emacs submitter 69651 Andrea Ciceri severity 69651 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Fri Mar 08 12:39:09 2024 Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 17:39:09 +0000 Received: from localhost ([127.0.0.1]:59459 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rieBW-0006rJ-QO for submit@debbugs.gnu.org; Fri, 08 Mar 2024 12:39:08 -0500 Received: from lists.gnu.org ([209.51.188.17]:36306) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1riahD-0007Sm-Ke for submit@debbugs.gnu.org; Fri, 08 Mar 2024 08:55:36 -0500 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 1riagI-0001rU-Mr for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 08:54:39 -0500 Received: from latitanza.investici.org ([2001:888:2000:56::19]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1riagF-0002aN-Mb for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 08:54:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1709906069; bh=vIlnvwfNtoYA+fW3XY3AvbAi+9dHJmF4Sbl908+vmQA=; h=From:To:Subject:Date:From; b=dKBwdUU14acjZIh3qsyMtzVdU/0xb8rKEqz+m8QjWKsi8YnFM/nzzJfZtGWIaxT3J WF2MxfxlEJdY1j0jDVuWJTvoE9mUi8kS7z2QUgHeuHEng+rTSfMZFZ11JrId8ZCpBb V5cja484/zRgR0ux40QrzM7ek0vTomLvxlmeWXgs= Received: from mx3.investici.org (unknown [127.0.0.1]) by latitanza.investici.org (Postfix) with ESMTP id 4Trnj108f2zGp7x for ; Fri, 8 Mar 2024 13:54:29 +0000 (UTC) Received: from [82.94.249.234] (mx3.investici.org [82.94.249.234]) (Authenticated sender: andrea.ciceri@autistici.org) by localhost (Postfix) with ESMTPSA id 4Trnj06lFNzGp7t for ; Fri, 8 Mar 2024 13:54:28 +0000 (UTC) From: Andrea Ciceri To: bug-gnu-emacs@gnu.org Subject: 30.0.50; Theme-agnostic hook for theme loading X-Debbugs-Cc: jdtsmith@gmail.com Date: Fri, 08 Mar 2024 14:54:28 +0100 Message-ID: <87cys43k2z.fsf@autistici.org> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=2001:888:2000:56::19; envelope-from=andrea.ciceri@autistici.org; helo=latitanza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-Debbugs-Envelope-To: submit X-Mailman-Approved-At: Fri, 08 Mar 2024 12:38:59 -0500 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: -2.4 (--) Modus themes provide an hook for theme loading and the manual even suggests a way to implement an agnostic hook that works for all the themes using advices: https://www.gnu.org/software/emacs/manual/html_node/modus-themes/A-theme_002dagnostic-hook-for-theme-loading.html Why isn't such an hook provided upstream? This is the first time I use the GNU bugs tracker and this is more like a "kind request" than bug, I hope I did everything correctly. If you confirm that it makes sense and should be added then I can try to send a patch by myself (I'm not familiar with Emacs internals so probably I need to figure out where this should be added before). Thanks! Andrea From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 09 04:41:37 2024 Received: (at 69651) by debbugs.gnu.org; 9 Mar 2024 09:41:37 +0000 Received: from localhost ([127.0.0.1]:60694 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ritCz-0007nO-AD for submit@debbugs.gnu.org; Sat, 09 Mar 2024 04:41:37 -0500 Received: from mail-pj1-f68.google.com ([209.85.216.68]:42252) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ritCv-0007n0-FL for 69651@debbugs.gnu.org; Sat, 09 Mar 2024 04:41:36 -0500 Received: by mail-pj1-f68.google.com with SMTP id 98e67ed59e1d1-29b7dbe39ccso2024278a91.1 for <69651@debbugs.gnu.org>; Sat, 09 Mar 2024 01:41:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1709977194; x=1710581994; darn=debbugs.gnu.org; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=VsTHfTnycB5+YpEJ7CFK1nF3+7Az/hcazsgboSD+pvc=; b=JCoUAUNdeoiOXs34maRLpYY314ca+d7r0gcxnmwoZsoWgSPKZvV/4mIf7H5oEC88lu rbNDZD/m6fIbuLaljbvwX9fzIFcJ/FTTiPzLEm0CVjzULjpFnfBJ9XTB8yjFVIzZpnwK oDvOnGneuEg41VFDtt85nQAo8keTYLWGaAagFeePg8dtdVBqTo6EILIDQTCZ1ue86FO9 N4wCg9DVSMHgQAkmPC2gBzCZo4RbAdYJjeEH8eCDYSFInkaW9onVdODftOt1WTT5A8y3 NrhoaYULYwMMWKQ2bBDfvyGb4aCrusryrW8eGC5jtiz6ufZi5l9A6vWn3T8I7BWd6l0i InVQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709977194; x=1710581994; h=content-transfer-encoding:mime-version:user-agent:message-id:date :references:in-reply-to:subject:cc:to:from:x-gm-message-state:from :to:cc:subject:date:message-id:reply-to; bh=VsTHfTnycB5+YpEJ7CFK1nF3+7Az/hcazsgboSD+pvc=; b=EWCBNIahTN1nERqXKtjPHNxkO0KCXn9UDZoyuVYMd9mbNvhzfPbDjWqJb4Crs6trS1 CJ0Uao06TB6FSOmebSnm86rgbso8TRI24uzxkde6j9Epp9SUHaFzxmjXcky80+gFl2cy 1IihvbcS0gG8eMPIxollrl1KZL8ytzUj7QDRx6mPYywZ4xcw1M3njETT5Ia/X0UOMLuT hMW1btAeu63TOdQk+N3zVsbiswkEuBLq9UMk7Hti9OQsjD/U1R04H7+cqdmlKi56QJgA MXIEFPiHxzeuMtzQDtQ1B/ttwP5aUA28IB569m+qSH+CKGBXc1RDTdI3wwf6OXMX+KrD z3Dw== X-Gm-Message-State: AOJu0YwVBcof1bHacTuYQazq3NTw2772U152bNDDZNQNT23JQ4fLakif u5RQdfmDYGxPnDMqteNAWtnbrTf+97uLrtOoU/uZIifmGB+PykZz X-Google-Smtp-Source: AGHT+IGm1y/GiOBH2OUrGakaKFFF0yneCGLGINJ5ilm9EMZsxUgusRPf9P/DWsb40jS0D0fWTQ4CxQ== X-Received: by 2002:a17:90a:b10f:b0:29b:9d31:9ada with SMTP id z15-20020a17090ab10f00b0029b9d319adamr2203024pjq.17.1709977193909; Sat, 09 Mar 2024 01:39:53 -0800 (PST) Received: from localhost ([115.240.90.130]) by smtp.gmail.com with ESMTPSA id o19-20020a17090aac1300b0029a8e7db800sm911311pjq.52.2024.03.09.01.39.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 09 Mar 2024 01:39:53 -0800 (PST) From: Visuwesh To: Andrea Ciceri Subject: Re: bug#69651: 30.0.50; Theme-agnostic hook for theme loading In-Reply-To: <87cys43k2z.fsf@autistici.org> (Andrea Ciceri via's message of "Fri, 08 Mar 2024 14:54:28 +0100") References: <87cys43k2z.fsf@autistici.org> Date: Sat, 09 Mar 2024 15:09:49 +0530 Message-ID: <877cibg2vu.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -0.0 (/) X-Debbugs-Envelope-To: 69651 Cc: jdtsmith@gmail.com, 69651@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: -1.0 (-) [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=AE=E0=AE=BE= =E0=AE=B0=E0=AF=8D=E0=AE=9A=E0=AF=8D 08, 2024] Andrea Ciceri via "Bug repor= ts for GNU Emacs, the Swiss army knife of text editors" wrote: > Modus themes provide an hook for theme loading and the manual even > suggests a way to implement an agnostic hook that works for all the > themes using advices: > > https://www.gnu.org/software/emacs/manual/html_node/modus-themes/A-theme_= 002dagnostic-hook-for-theme-loading.html > > Why isn't such an hook provided upstream? enable-theme-functions added in Emacs 29.1 already does the job AFAIU. > This is the first time I use the GNU bugs tracker and this is more like > a "kind request" than bug, I hope I did everything correctly. > > If you confirm that it makes sense and should be added then I can try to > send a patch by myself (I'm not familiar with Emacs internals so > probably I need to figure out where this should be added before). > > Thanks! > > > Andrea From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 09 04:55:25 2024 Received: (at 69651) by debbugs.gnu.org; 9 Mar 2024 09:55:25 +0000 Received: from localhost ([127.0.0.1]:60723 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ritQK-0002ZD-SC for submit@debbugs.gnu.org; Sat, 09 Mar 2024 04:55:25 -0500 Received: from relay1-d.mail.gandi.net ([217.70.183.193]:48497) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ritQJ-0002Yy-3H for 69651@debbugs.gnu.org; Sat, 09 Mar 2024 04:55:24 -0500 Received: by mail.gandi.net (Postfix) with ESMTPSA id 5C801240005; Sat, 9 Mar 2024 09:54:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protesilaos.com; s=gm1; t=1709978064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=cW4tjhiaC0wGdsQdnnsu+ka4OpwCQV9AX9xgktOq2O4=; b=elUAHq9hu38SY+uMlHJU+cYuLk423cAjBFKiMhx0mKMvwl1veOyyLAmlTN4SVfw6KR1RYc Uq6sk+/EkntpQYY2DaJUU+P6Ir0aiB3Zc95+QE9FAbzjuxNT5vo5esaSodu69BsIvesUth wfISXvnw9r4qLmZgz7GThQzkFFzu8pAB7WsvRsQ2dm3e36McOB6G1ld4sGNDEj4SEkgj5t sul3aRazKVJ+Hj3YRZnNZOUKfHleFjtSzBitqK9oPhwQWrdivYJpX5XzaYQV6WYF2KpyA4 bmJMtYkT2oKdcEuxL5MYeGs5mYU14icZ1nw0YNprVCwh4f8xXwAStHJl25FkAg== From: Protesilaos Stavrou To: Visuwesh , Andrea Ciceri Subject: Re: bug#69651: 30.0.50; Theme-agnostic hook for theme loading In-Reply-To: <877cibg2vu.fsf@gmail.com> References: <87cys43k2z.fsf@autistici.org> <877cibg2vu.fsf@gmail.com> Date: Sat, 09 Mar 2024 11:54:22 +0200 Message-ID: <87r0gjlohd.fsf@protesilaos.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-GND-Sasl: info@protesilaos.com X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69651 Cc: 69651@debbugs.gnu.org, jdtsmith@gmail.com 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: -1.7 (-) > From: Visuwesh > Date: Sat, 9 Mar 2024 15:09:49 +0530 > > [=E0=AE=B5=E0=AF=86=E0=AE=B3=E0=AF=8D=E0=AE=B3=E0=AE=BF =E0=AE=AE=E0=AE= =BE=E0=AE=B0=E0=AF=8D=E0=AE=9A=E0=AF=8D 08, 2024] Andrea Ciceri via "Bug re= ports for GNU Emacs, the Swiss army knife of text editors" wrote: > >> Modus themes provide an hook for theme loading and the manual even >> suggests a way to implement an agnostic hook that works for all the >> themes using advices: >> >> https://www.gnu.org/software/emacs/manual/html_node/modus-themes/A-theme= _002dagnostic-hook-for-theme-loading.html >> >> Why isn't such an hook provided upstream? > > enable-theme-functions added in Emacs 29.1 already does the job AFAIU. Indeed. The updated version of the modus-themes manual mentions this. I have not published the new version yet, so it is not part of Emacs 30 and all the relevant GNU web pages. It is on my website though (which to me is the canonical source, as I maintain it): https://protesilaos.com/emac= s/modus-themes --=20 Protesilaos Stavrou https://protesilaos.com From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 11 05:51:06 2024 Received: (at 69651-done) by debbugs.gnu.org; 11 Mar 2024 09:51:06 +0000 Received: from localhost ([127.0.0.1]:38868 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjcJF-0000PN-BO for submit@debbugs.gnu.org; Mon, 11 Mar 2024 05:51:06 -0400 Received: from confino.investici.org ([93.190.126.19]:51877) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rjc7i-0008SK-NC for 69651-done@debbugs.gnu.org; Mon, 11 Mar 2024 05:39:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=autistici.org; s=stigmate; t=1710149907; bh=8pMmDUu/PQoAKG94PpBwIQS/kss55NavxE4yDOsdYNw=; h=Date:From:To:Subject:From; b=XGvAEf28YxJpACSRFi4HRE+iF9buIRWyaurAAo6V4ycErsBo9V8Ky5Z4FgsTi7x1Q TK4WzfdWMc8sziJ789bnF0gfweFEnFcUGZzb+5bfn8DI0MzgozqWc/9Y6qZd+cY3dh XiArmHXCwsgD2zEzlUA6cV9hunrNwSRVMpJq9mOA= Received: from 3.mail-backend.investici.org (unknown [10.0.0.13]) by confino.investici.org (Postfix) with ESMTP id 4TtWtC4d3Qz10xP for <69651-done@debbugs.gnu.org>; Mon, 11 Mar 2024 09:38:27 +0000 (UTC) Received: from 3.webmail.investici.org (localhost [127.0.0.1]) (Authenticated sender: andrea.ciceri@autistici.org) by 3.mail-backend.investici.org (Postfix) with ESMTPA id 4TtWtC3r2qz3wjY for <69651-done@debbugs.gnu.org>; Mon, 11 Mar 2024 09:38:27 +0000 (UTC) MIME-Version: 1.0 Date: Mon, 11 Mar 2024 09:38:27 +0000 From: andrea.ciceri@autistici.org To: 69651-done@debbugs.gnu.org Subject: Closing bug#69651: 30.0.50; Theme-agnostic hook for theme loading User-Agent: Roundcube Webmail Message-ID: X-Sender: andrea.ciceri@autistici.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 69651-done X-Mailman-Approved-At: Mon, 11 Mar 2024 05:51:04 -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: -1.7 (-) I'm using enable-theme-functions now and it works as expected. Thank you both! From unknown Sun Jun 15 08:33:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Mon, 08 Apr 2024 11:24:09 +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