[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Color themes
From: |
Lennart Borgman |
Subject: |
Re: Color themes |
Date: |
Sun, 9 Aug 2009 20:05:37 +0200 |
On Sun, Aug 9, 2009 at 6:18 PM, Chong Yidong<address@hidden> wrote:
> This is exactly the kind of problem that Custom themes is intended to
> solve. The code for *creating* custom themes is still a little buggy,
> but the code for *using* it should work, and we ought to be able to make
> use of it to set color themes.
>
> Here's an example. Create a file called forest-theme.el, with the
> contents shown below, and put it in .emacs.d. Then do M-x enable-theme
> RET forest RET, or customize custom-enabled-themes and add `forest' to
> the list.
>
> So if we want to use this mechanism to implement color themes, it's just
> a matter of adding some *-theme.el files to the load path, and adding a
> command to add that theme to custom-enabled-themes.
>
> As you can see, (i) your existing face customizations, if any, will
> override the color theme, as they should, and (ii) it doesn't take a lot
> of code to define a color theme using this method.
Thanks for the example. This looks very good (I don't mean the colors ... ;-).
I was kind of reinventing that. Sigh.
Could we please get this working? Making it easy to use etc. Good
prompting for themes so it is easy to switch, easy to reset ... Maybe
some kind of "list-themes" with the doc strings...
Then we can also make those Mac-themes, w32-themes,
emacs-as-it-always-was-theme ...
- Re: Darkening font-lock colors, (continued)
- Re: Darkening font-lock colors, joakim, 2009/08/03
- Re: Darkening font-lock colors, David De La Harpe Golden, 2009/08/03
- Color themes (was: Darkening font-lock colors), Juri Linkov, 2009/08/08
- Re: Color themes, joakim, 2009/08/08
- Re: Color themes, Chong Yidong, 2009/08/08
- Re: Color themes, Leo, 2009/08/09
- Re: Color themes, Chong Yidong, 2009/08/09
- Re: Color themes, CHENG Gao, 2009/08/09
- Re: Color themes,
Lennart Borgman <=
- Re: Color themes, joakim, 2009/08/09
- Re: Color themes, Leo, 2009/08/10
- Re: Color themes, Juri Linkov, 2009/08/10
- Re: Color themes, Leo, 2009/08/10
- Re: Color themes, Chong Yidong, 2009/08/10
- Re: Color themes, Dan Nicolaescu, 2009/08/11
- RE: Color themes, Drew Adams, 2009/08/11
- RE: Color themes, Drew Adams, 2009/08/11
- Re: Color themes, Leo, 2009/08/11
- Re: Color themes, address@hidden, 2009/08/11