From: Nikolai Weibull <now@bitwi.se>
To: Emacs Developers <emacs-devel@gnu.org>
Subject: Re: Interaction between load-theme and custom-theme-set-faces is broken
Date: Wed, 25 Jul 2012 19:32:31 +0200 [thread overview]
Message-ID: <CADdV=MvMn8i+yQ5sxdpzp7K27Ka-0q7NFv-1cdnNWKbRsdWNKA@mail.gmail.com> (raw)
In-Reply-To: <CADdV=MvKcsy7i5Nh5HCETUka-JBdtzawoqgK2pPcswfLVfCjXA@mail.gmail.com>
On Mon, Jul 23, 2012 at 9:30 AM, Nikolai Weibull <now@bitwi.se> wrote:
> It seems that the interaction between load-theme and
> custom-theme-set-faces is broken. Previously, before a commit on
> 2011-03-21 that changed how custom--inhibit-theme-enable was used,
> custom-theme-set-faces would do quite a bit of work (setting
> properties) that other code depends upon (unless
> custom--inhibit-theme-enable was t, of course). For example, it would
> set 'saved-face, which face-spec-recalc checks for to determine how it
> should recalculate the specification of a face. As this code is no
> longer executed (ever, it seems, as custom--inhibit-theme-enable is
> never logically non-t while it’s being executed), this is now broken,
> which means that faces set through themes will always be a combination
> of the face-default-spec of the face and the spec of the theme.
>
> The same goes for custom-theme-set-variables, but isn’t as visually apparent.
Have I somehow misunderstood how custom-theme-set-faces may be used?
I see no calls to it that don’t have custom--inhibit-theme-enable set
to t, so my analysis above seems correct.
next prev parent reply other threads:[~2012-07-25 17:32 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-23 7:30 Interaction between load-theme and custom-theme-set-faces is broken Nikolai Weibull
2012-07-25 17:32 ` Nikolai Weibull [this message]
2012-08-01 11:44 ` Nikolai Weibull
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='CADdV=MvMn8i+yQ5sxdpzp7K27Ka-0q7NFv-1cdnNWKbRsdWNKA@mail.gmail.com' \
--to=now@bitwi.se \
--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).