GNU bug report logs - #76685
30.1; custom--inhibit-theme-enable

Previous Next

Package: emacs;

Reported by: João Guerra <joca.bt <at> gmail.com>

Date: Sun, 2 Mar 2025 14:11:02 UTC

Severity: normal

Tags: patch

Found in version 30.1

Fixed in version 31.1

Done: Mauro Aranda <maurooaranda <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #14 received at 76685 <at> debbugs.gnu.org (full text, mbox):

From: Mauro Aranda <maurooaranda <at> gmail.com>
To: João Guerra <joca.bt <at> gmail.com>
Cc: 76685 <at> debbugs.gnu.org
Subject: Re: bug#76685: 30.1; custom--inhibit-theme-enable
Date: Fri, 7 Mar 2025 06:26:14 -0300
[Message part 1 (text/plain, inline)]
João Guerra <joca.bt <at> gmail.com> writes:

>> So the use case would be:
>> The user already loaded and enabled a theme (via load-theme and
>> enable-theme) and then, while the theme is enabled, he/she wants to
>> reevaluate a custom-theme-set-faces and see its effect immediately?
>
> That's the main use case indeed. Currently, the user needs to
> re-enable the theme after evaluating their custom-theme-set-faces. If
> they are experimenting with themes this becomes a bit cumbersome after
> a while. What I have been doing and seen in other configurations is
> `(setq custom--inhibit-theme-enable nil)`, so I was wondering if it
> would be desirable to expose this functionality somehow to the user.
>

The attached patch adds support for this, but without exposing
custom--inhibit-theme-enable, because it doesn't sound to me like a good
idea.

Opinions?
[0001-Allow-changing-theme-settings-without-reloading-it.patch (text/x-patch, attachment)]

This bug report was last modified 68 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.