unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* enabling more than one theme?
@ 2011-03-14 22:28 joakim
  2011-03-15 12:09 ` joakim
  2011-03-15 16:05 ` Chong Yidong
  0 siblings, 2 replies; 3+ messages in thread
From: joakim @ 2011-03-14 22:28 UTC (permalink / raw)
  To: Emacs developers

I want to enable one base theme and another smaller theme.

It seems you are supposed to be able to do it with enable theme but I'm
having difficulties:

ELISP> custom-enabled-themes
(tsdh-dark)

ELISP> (enable-theme 'zen-2)
nil
ELISP> custom-enabled-themes
(tsdh-dark)


tsdh is enabled by custom and I want to enable or disable the zen themes
with code.

I'm not sure if its a bug because in the custom theme view you set the
ability to enable more than one theme. How is it supposed to work?

-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: enabling more than one theme?
  2011-03-14 22:28 enabling more than one theme? joakim
@ 2011-03-15 12:09 ` joakim
  2011-03-15 16:05 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: joakim @ 2011-03-15 12:09 UTC (permalink / raw)
  To: Emacs developers

joakim@verona.se writes:

> I want to enable one base theme and another smaller theme.
>
> It seems you are supposed to be able to do it with enable theme but I'm
> having difficulties:
>
> ELISP> custom-enabled-themes
> (tsdh-dark)
>
> ELISP> (enable-theme 'zen-2)
> nil
> ELISP> custom-enabled-themes
> (tsdh-dark)
>
>
> tsdh is enabled by custom and I want to enable or disable the zen themes
> with code.
>
> I'm not sure if its a bug because in the custom theme view you set the
> ability to enable more than one theme. How is it supposed to work?

This seems to work as I expect:
(custom-set-variables '(custom-enabled-themes (list 'zen-2 'tsdh-dark ) t))



-- 
Joakim Verona



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: enabling more than one theme?
  2011-03-14 22:28 enabling more than one theme? joakim
  2011-03-15 12:09 ` joakim
@ 2011-03-15 16:05 ` Chong Yidong
  1 sibling, 0 replies; 3+ messages in thread
From: Chong Yidong @ 2011-03-15 16:05 UTC (permalink / raw)
  To: joakim; +Cc: Emacs developers

joakim@verona.se writes:

> ELISP> custom-enabled-themes
> (tsdh-dark)
>
> ELISP> (enable-theme 'zen-2)
> nil
> ELISP> custom-enabled-themes
> (tsdh-dark)

I can't reproduce this problem.  Two sequential `enable-theme's seems to
work for me.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-03-15 16:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-14 22:28 enabling more than one theme? joakim
2011-03-15 12:09 ` joakim
2011-03-15 16:05 ` Chong Yidong

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).