all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: help-gnu-emacs@gnu.org
Subject: Re: customize-face + inherit
Date: Mon, 07 Mar 2016 12:36:39 +0100	[thread overview]
Message-ID: <87bn6qcyew.fsf@wavexx.thregr.org> (raw)
In-Reply-To: 1aa784a7-0d58-4efa-95ae-cf7972b26bf1@default

On Sun, Mar 06 2016, Drew Adams wrote:
>> color-theme.el (https://www.emacswiki.org/emacs/ColorThemes)
>
> Just a shot in the dark, from scanning the code:
> Can you customize `color-theme-illegal-faces' to exclude the
> face in question, so color-theme does not affect it?
>
> E.g., what happens if you change it from the default value of
> "^w3-" to "^w3-\\|message-header-subject" or similar?

I'd rather not disable theming for these faces.

In all the cases, when I'm happy with a theme, I just want to add minor
tweaks to an existing face while leaving existing attributes as-is.

I didn't read color-theme.el, but my guess is that it doesn't see nil as
an explicit value to set. You can see the same behavior while trying to
set :bold nil as opposed to :weight normal.

It's not such as a big problem for me, as after loading the theme I
generally override complex faces (that I want to change between
background modes, for example) directly with color-theme-install-faces
in cumulative mode.

But when I try out a new mode, my first go-to approach is to test the
face parameters with customize. In this case, you're baffled as
unchecking a parameter might will not override the theme.




  reply	other threads:[~2016-03-07 11:36 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-08 23:32 customize-face + inherit Yuri D'Elia
2016-02-11  9:43 ` Alex Kost
2016-02-13 17:59   ` Yuri D'Elia
2016-02-13 20:24     ` Alex Kost
2016-03-06 20:52       ` Yuri D'Elia
2016-03-06 21:33         ` Drew Adams
2016-03-06 21:53           ` Yuri D'Elia
2016-03-06 22:46             ` Drew Adams
2016-03-07 11:36               ` Yuri D'Elia [this message]
2016-03-07 13:08         ` Alex Kost
2016-03-07 13:21           ` Yuri D'Elia
2016-03-08  8:52             ` Alex Kost
2016-03-08 10:57               ` Yuri D'Elia

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=87bn6qcyew.fsf@wavexx.thregr.org \
    --to=wavexx@thregr.org \
    --cc=help-gnu-emacs@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.