unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Miles Bader <miles@gnu.org>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: themes
Date: Wed, 13 Oct 2010 15:36:24 +0900	[thread overview]
Message-ID: <buowrpmmwev.fsf@dhlpc061.dev.necel.com> (raw)
In-Reply-To: <87eibuskhy.fsf@stupidchicken.com> (Chong Yidong's message of "Wed, 13 Oct 2010 01:57:13 -0400")

Chong Yidong <cyd@stupidchicken.com> 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	other threads:[~2010-10-13  6:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-13  3:35 themes Miles Bader
2010-10-13  5:57 ` themes Chong Yidong
2010-10-13  6:36   ` Miles Bader [this message]
2010-10-13 16:01     ` themes Chong Yidong
2010-10-13 17:05       ` themes Miles Bader
2010-10-13 21:20         ` themes Frank Schmitt
2010-10-17  0:07         ` themes Chong Yidong

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=buowrpmmwev.fsf@dhlpc061.dev.necel.com \
    --to=miles@gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).