unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: Yuri D'Elia <wavexx@thregr.org>
To: help-gnu-emacs@gnu.org
Subject: Re: customize-face + inherit
Date: Sat, 13 Feb 2016 18:59:19 +0100	[thread overview]
Message-ID: <56BF6EF7.5040504@thregr.org> (raw)
In-Reply-To: <87d1s3y42w.fsf@gmail.com>

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.

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.

The same goes for message-header-other.
Any idea of what could cause this?





  reply	other threads:[~2016-02-13 17:59 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 [this message]
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
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=56BF6EF7.5040504@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.
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).