emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: themes


From: Miles Bader
Subject: Re: themes
Date: Wed, 13 Oct 2010 15:36:24 +0900

Chong Yidong <address@hidden> writes:
>> 1. I normally have a dark-background.  Since the "tango" theme is a
>>    light-background theme, I did "load-theme RET tango RET" expecting
>>    it to change my background color ... which it didn't.  Instead, my
>>    window flashed, and some random faces changed, but mainly things
>>    seemed exactly the same.
>
> That sounds like a bug.  The tango theme defines "#eeeeec" for the
> background of the `default' face.  Indeed, I just tried with a dark
> background set using .Xresources (Emacs.background: Black), and
> M-x load-theme RET tango RET changes the background to pale grey.  Could
> you provide more details?

I set my background by customizing the `default' (and _also_ via
.Xresource, since otherwise emacs flashes and goes crazy during
startup).  The custom-theme stuff doesn't seem to be able to cope with
that.

Here's a recipe:

(1) emacs -Q

(2) Evaluate via "C-:" or something:

   (custom-set-faces '(default ((t (:background "black" :foreground "white")))))

(3) M-x customize-themes

(4) Try the various themes; none will succeed in changing the
    background color.


> The main entry point for users, however, should be M-x customize-themes,
> rather than the load-theme/enable-theme/disable-theme commands.

Yeah that's a lot more friendly.  [A good M-x interface would still be
nice of course.]

Thanks,

-Miles

-- 
Infancy, n. The period of our lives when, according to Wordsworth, 'Heaven
lies about us.' The world begins lying about us pretty soon afterward.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]