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


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

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: Re: bug#47424: 28.0.50; enable-theme shows an empty list
Date: Sun, 04 Apr 2021 14:47:29 +0300
> From: Stefan Kangas <stefan <at> marxist.se>
> Date: Sun, 4 Apr 2021 04:05:43 -0500
> Cc: monnier <at> iro.umontreal.ca, 47424 <at> debbugs.gnu.org, mardani29 <at> yahoo.es
> 
> > With themes, you can load several ones and then enable/disable any of
> > them whenever you see fit.
> 
> I don't see why a user would want/need to load a theme if she does not
> intend to use it.

The user does intend to use these themes, just not right away and not
all of them.  It's a valid use case to want to switch to another
theme, e.g. because someone wants one theme in the morning and another
in the evening.

> What am I missing?

I don't think you are missing anything, you just disregard everything
I say in response and keep repeating the same claims and questions.
That's not a useful discussion method.  I'm tempted to stop responding
because it just wastes my time.  Sorry for being blunt.

> > Under your proposal, disabling a theme would be impossible without
> > unloading it, and that might not be easy to do cleanly.
> 
> I'm not sure I follow; I see no need to make it symmetrical in that
> sense.

So loading the theme will enable it, but disabling will not unload it?
Then how to I re-enable a theme that was disabled? by loading it the
second time?

> In the same way, we don't bother unloading a library just because
> the major-mode involved is not used in any buffer.  But we do
> provide a way to autoload major modes.

Themes are not like modes, they are in effect in the entire Emacs
session, in all of the buffers.  You cannot evade a theme by going to
another buffer like you do with modes.




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.