From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Protesilaos Stavrou Newsgroups: gmane.emacs.bugs Subject: bug#69651: 30.0.50; Theme-agnostic hook for theme loading Date: Sat, 09 Mar 2024 11:54:22 +0200 Message-ID: <87r0gjlohd.fsf@protesilaos.com> References: <87cys43k2z.fsf@autistici.org> <877cibg2vu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28438"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 69651@debbugs.gnu.org, jdtsmith@gmail.com To: Visuwesh , Andrea Ciceri Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 09 10:55:45 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 1ritQe-0007CH-G3 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 09 Mar 2024 10:55:44 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ritQS-0006Tq-42; Sat, 09 Mar 2024 04:55:32 -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 1ritQP-0006TH-Id for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:55:29 -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 1ritQP-0000JP-AP for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:55:29 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ritQv-0002aI-Rs for bug-gnu-emacs@gnu.org; Sat, 09 Mar 2024 04:56:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Protesilaos Stavrou Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 09 Mar 2024 09:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69651 X-GNU-PR-Package: emacs Original-Received: via spool by 69651-submit@debbugs.gnu.org id=B69651.17099781259876 (code B ref 69651); Sat, 09 Mar 2024 09:56:01 +0000 Original-Received: (at 69651) by debbugs.gnu.org; 9 Mar 2024 09:55:25 +0000 Original-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 Original-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 Original-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== In-Reply-To: <877cibg2vu.fsf@gmail.com> X-GND-Sasl: info@protesilaos.com 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:281322 Archived-At: > 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