From: Chong Yidong <cyd@stupidchicken.com>
To: Miles Bader <miles@gnu.org>
Cc: emacs-devel@gnu.org
Subject: Re: themes
Date: Wed, 13 Oct 2010 01:57:13 -0400 [thread overview]
Message-ID: <87eibuskhy.fsf@stupidchicken.com> (raw)
In-Reply-To: <buoocay7oka.fsf@dhlpc061.dev.necel.com> (Miles Bader's message of "Wed, 13 Oct 2010 12:35:01 +0900")
Miles Bader <miles.bader.fz@renesas.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?
> 2. The basic interface seems to be "load-theme", which also turns on
> the theme, and then you can subsequently use "disable-theme" and
> "enable-theme" to turn it off or on again.
>
> Isn't this kind oaf out-of-sync with general Emacs policy, which is
> that "loading" should only load stuff, and not actually execute it?
>
> Perhaps it would be better to deprecate load-theme for user usage,
> make `enable-theme' the main entry point, and give the latter the
> ability to auto-load themes (and do completion on unloaded themes) etc.
I think this is a good idea.
The main entry point for users, however, should be M-x customize-themes,
rather than the load-theme/enable-theme/disable-theme commands. This
interface, by default, allows only one theme to be selected at once
(unchecking the "Allow more than one theme at a time" box allows
multiple selections). This should alleviate the confusion you allude to
over stacking themes.
next prev parent reply other threads:[~2010-10-13 5:57 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 ` Chong Yidong [this message]
2010-10-13 6:36 ` themes Miles Bader
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87eibuskhy.fsf@stupidchicken.com \
--to=cyd@stupidchicken.com \
--cc=emacs-devel@gnu.org \
--cc=miles@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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.