GNU bug report logs -
#15687
Disabling custom theme does not reset vars
Previous Next
Reported by: Drew Adams <drew.adams <at> oracle.com>
Date: Tue, 22 Oct 2013 20:56:01 UTC
Severity: normal
Tags: fixed
Merged with 34027
Found in versions 24.3.50, 27.0.50
Fixed in version 28.1
Done: Lars Ingebrigtsen <larsi <at> gnus.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
Drew Adams <drew.adams <at> oracle.com> writes:
> AFAICT, there is no equivalent of such a snapshot with custom themes,
> and it's not clear how to create one. But please prove me wrong.
Sure. Follow this recipe:
1) Execute "emacs -Q".
2) Customize some face. I did M-x customize-face
font-lock-comment-face, changing the foreground color to magenta and
clicking "Apply." As expected, the initial comment in the *scratch*
buffer is now magenta. But the choice of face doesn't really matter,
this works with any face I tried (font-lock-builtin-face,
font-lock-keyword-face, font-lock-function-name-face, etc.).
3) M-x customize-themes. Choose any face you like, for example
`manoj-dark'. Look at the *scratch* buffer.
4) Choose another theme via M-x customize-themes. Look at the *scratch*
buffer.
5) Uncheck the theme checked in M-x customize-themes. Look at the
*scratch* buffer.
Customizeations made outside Custom themes using Customize are entirely
reversible, to the pre-themed state.
I think the confusion here--and the bug, if any--is one of user
interface and user expectations. `load-theme', `enable-theme',
`disable-theme' et al. normally operate on one theme at a time, without
reverting all themes. This is perhaps not such a sane default.
However, `customize-themes' disables any other active themes unless the
> [ ] Select more than one theme at a time
checkbox is checked. Perhaps enable-theme, disable-theme etc. should
adhere to the same default, leaving at most one theme (or the pre-theme
settings) enabled at a time.
--
Best,
WGG
This bug report was last modified 4 years and 260 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.