From: "Edward O'Connor" <hober0@gmail.com>
To: emacs-devel@gnu.org
Subject: Custom themes: only loading a subset of faces
Date: Wed, 7 Sep 2011 11:02:11 -0700 [thread overview]
Message-ID: <CAME3nGL1HDfwsf3XdsCXnqD61UDN4KA+LqBgmsanYSsL-Pw-wQ@mail.gmail.com> (raw)
Hi,
After loading my Emacs-23-compatible Custom theme in a nightly build of
Emacs 24, I launched ERC & found that Emacs wasn't using the ERC faces
that are customized in my theme. Other faces look just fine.
Calling `customize-face' on one of the ERC faces, I found it in "State:
STANDARD" and not "State: THEMED". Weird.
To work around this, I had to change from loading the theme like this:
(load-theme 'foo t)
to loading it like this:
(load "foo-theme")
(enable-theme 'foo)
Why? What can I change in my theme to make `load-theme' load all of the
faces, and not (apparently) some random subset of them? Here's the theme
in question:
http://edward.oconnor.cx/config/elisp/hober2-theme.el
Thanks,
Ted
reply other threads:[~2011-09-07 18:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=CAME3nGL1HDfwsf3XdsCXnqD61UDN4KA+LqBgmsanYSsL-Pw-wQ@mail.gmail.com \
--to=hober0@gmail.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 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.