GNU bug report logs - #47424
28.0.50; enable-theme shows an empty list

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> iro.umontreal.ca>

Date: Fri, 26 Mar 2021 21:42:01 UTC

Severity: wishlist

Tags: wontfix

Found in version 28.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 47424 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca, mardani29 <at> yahoo.es
Subject: bug#47424: 28.0.50; enable-theme shows an empty list
Date: Sun, 04 Apr 2021 16:44:20 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sun, 4 Apr 2021 08:17:04 -0500
> Cc: monnier <at> iro.umontreal.ca, 47424 <at> debbugs.gnu.org, mardani29 <at> yahoo.es
> 
> To put this more concretely, I'd like to see two functions (and let's
> disregard what we have now for the sake of argument):
> 
>     enable-theme
>     disable-theme
> 
> Whatever happens technically (loading, autoloading, unloading, etc.) is
> not interesting to the user.  What is interesting is that after you run
> one of the above commands the specified theme is either enabled or
> disabled.

This (a) turns the table on what we currently do, since currently
load-theme can optionally enable the theme, while you propose to do it
the other way around; (b) rocks the very delicate boat of how themes
are enable, disabled, and prioritized and how they interact with face
setup, so if we go that way, we should expect quite a rocky ride
(suggested reading: custom.el).  Is it really worth that?




This bug report was last modified 3 years and 61 days ago.

Previous Next


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