unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Protesilaos Stavrou <info@protesilaos.com>
To: Visuwesh <visuweshm@gmail.com>,
	Andrea Ciceri <andrea.ciceri@autistici.org>
Cc: 69651@debbugs.gnu.org, jdtsmith@gmail.com
Subject: bug#69651: 30.0.50; Theme-agnostic hook for theme loading
Date: Sat, 09 Mar 2024 11:54:22 +0200	[thread overview]
Message-ID: <87r0gjlohd.fsf@protesilaos.com> (raw)
In-Reply-To: <877cibg2vu.fsf@gmail.com>

> From: Visuwesh <visuweshm@gmail.com>
> Date: Sat,  9 Mar 2024 15:09:49 +0530
>
> [வெள்ளி மார்ச் 08, 2024] Andrea Ciceri via "Bug reports 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/emacs/modus-themes

-- 
Protesilaos Stavrou
https://protesilaos.com





  reply	other threads:[~2024-03-09  9:54 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-08 13:54 bug#69651: 30.0.50; Theme-agnostic hook for theme loading Andrea Ciceri via Bug reports for GNU Emacs, the Swiss army knife of text editors
2024-03-09  9:39 ` Visuwesh
2024-03-09  9:54   ` Protesilaos Stavrou [this message]
2024-03-11  9:38 ` bug#69651: Closing " andrea.ciceri--- via Bug reports for GNU Emacs, the Swiss army knife of text editors

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r0gjlohd.fsf@protesilaos.com \
    --to=info@protesilaos.com \
    --cc=69651@debbugs.gnu.org \
    --cc=andrea.ciceri@autistici.org \
    --cc=jdtsmith@gmail.com \
    --cc=visuweshm@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).