From: Alex Kost <alezost@gmail.com>
To: Yuri D'Elia <wavexx@thregr.org>
Cc: help-gnu-emacs@gnu.org
Subject: Re: customize-face + inherit
Date: Sat, 13 Feb 2016 23:24:02 +0300 [thread overview]
Message-ID: <877fi8gxzx.fsf@gmail.com> (raw)
In-Reply-To: <56BF6EF7.5040504@thregr.org> (Yuri D'Elia's message of "Sat, 13 Feb 2016 18:59:19 +0100")
Yuri D'Elia (2016-02-13 20:59 +0300) wrote:
> On 11/02/16 10:43, Alex Kost wrote:
>>> I'd like to customize a face so that it inherits *all* values from it's
>>> parent. That is, I want the face to be an exact copy of the parent.
>>>
>>> To do that, I can add the 'inherit' property to the desired parent face,
>>> but I would also need to *clear* the rest of the attributes from the
>>> face being customized, such as foreground.
>>
>> Hm, I recall this was an issue in Emacs 24.3.1 and earlier versions,
>> but it is fixed in Emacs 24.4 (I believe). What's your version?
>
> I'm using 24.5.1 from debian/sid.
I use the same version.
> It seems to work for some faces, but not for others.
>
> I'm trying to reset the message-header-subject face.
>
> Removing the foreground attribute with customize-face doesn't do
> anything at all, but setting it manually through (set-face-attribute) works.
Hm, I don't have this problem. So what I did:
- I disabled all themes with "M-x customize-themes";
- "M-x customize-face RET message-header-subject";
- "uncheck" Foreground field;
- press "C-c C-c"
and the subject color changes from "navy blue" (for the light
background) to a default (black).
> The same goes for message-header-other.
> Any idea of what could cause this?
No idea, but if you have a reproducible recipe, I suggest
"M-x report-emacs-bug".
--
Alex
next prev parent reply other threads:[~2016-02-13 20:24 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 [this message]
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
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
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=877fi8gxzx.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=help-gnu-emacs@gnu.org \
--cc=wavexx@thregr.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.
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).