Discussion:
Saving Multiple Custom Themes Broken?
(too old to reply)
ddoherty03
2014-11-11 20:54:53 UTC
Permalink
In emacs 24.4.1, I am trying to set multiple themes using the customize-themes interface. I check the box, "Select more than one theme at a time", select mutliple themes, then click the "Save Theme Settings" button.

I want multiple themes because I want a base theme, say solarized, but also a theme for the mode line, like smart-mode-line-powerline.

When I look at my custom.el file, only the first theme checked gets saved to custom-enabled-themes:

'(custom-enabled-themes (quote (smart-mode-line-respectful)))

I believe that should be a list with all the checked themes in it, right?

Anyone else see this issue, or have a suggestion?

Dan Doherty
g***@gmail.com
2016-01-02 11:44:41 UTC
Permalink
I came across your post here while searching for a solution to the same problem. Hope you have already solved it.

I still don't know how to save multiple themes, but for this specific problem, I found the following snippet worked:

;; save your main theme as usual
'(custom-enabled-themes (quote (name-of-your-main-theme)))

;; then enable smart-mode-line
(setq sml/theme 'respectful)

See the smart-mode-line README for more details:

https://github.com/Malabarba/smart-mode-line

Leo Wong
Post by ddoherty03
In emacs 24.4.1, I am trying to set multiple themes using the customize-themes interface. I check the box, "Select more than one theme at a time", select mutliple themes, then click the "Save Theme Settings" button.
I want multiple themes because I want a base theme, say solarized, but also a theme for the mode line, like smart-mode-line-powerline.
'(custom-enabled-themes (quote (smart-mode-line-respectful)))
I believe that should be a list with all the checked themes in it, right?
Anyone else see this issue, or have a suggestion?
Dan Doherty
Loading...