From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Andrea Ciceri via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#69651: 30.0.50; Theme-agnostic hook for theme loading Date: Fri, 08 Mar 2024 14:54:28 +0100 Message-ID: <87cys43k2z.fsf@autistici.org> Reply-To: Andrea Ciceri Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23614"; mail-complaints-to="usenet@ciao.gmane.io" Cc: jdtsmith@gmail.com To: 69651@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 08 18:39:51 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1rieCE-0005vi-UR for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 08 Mar 2024 18:39:51 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rieBx-0007lu-RI; Fri, 08 Mar 2024 12:39:33 -0500 Original-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 1rieBv-0007kg-5W for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 12:39:31 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rieBu-0008T0-TJ for bug-gnu-emacs@gnu.org; Fri, 08 Mar 2024 12:39:30 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rieCQ-0006t6-R5; Fri, 08 Mar 2024 12:40:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Andrea Ciceri Original-Sender: "Debbugs-submit" Resent-CC: jdtsmith@gmail.com, bug-gnu-emacs@gnu.org Resent-Date: Fri, 08 Mar 2024 17:40:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 69651 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org X-Debbugs-Original-Xcc: jdtsmith@gmail.com Original-Received: via spool by submit@debbugs.gnu.org id=B.170991954926381 (code B ref -1); Fri, 08 Mar 2024 17:40:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 8 Mar 2024 17:39:09 +0000 Original-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 Original-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 Original-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 Original-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= Original-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) Original-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) 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-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 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:281252 Archived-At: 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