From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Yuri D'Elia Newsgroups: gmane.emacs.help Subject: Re: customize-face + inherit Date: Sat, 13 Feb 2016 18:59:19 +0100 Message-ID: <56BF6EF7.5040504@thregr.org> References: <87d1s3y42w.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1455386401 15969 80.91.229.3 (13 Feb 2016 18:00:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 13 Feb 2016 18:00:01 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Feb 13 18:59:52 2016 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1aUeU2-00060T-1C for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Feb 2016 18:59:50 +0100 Original-Received: from localhost ([::1]:43832 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUeU1-0006NB-9g for geh-help-gnu-emacs@m.gmane.org; Sat, 13 Feb 2016 12:59:49 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:59179) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUeTl-0006GH-1t for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aUeTg-0007F9-DP for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:32 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:54614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aUeTg-0007E4-6k for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 12:59:28 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aUeTe-0005lf-Eb for help-gnu-emacs@gnu.org; Sat, 13 Feb 2016 18:59:26 +0100 Original-Received: from 193.106.183.2 ([193.106.183.2]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 18:59:26 +0100 Original-Received: from wavexx by 193.106.183.2 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 13 Feb 2016 18:59:26 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 23 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 193.106.183.2 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Icedove/38.5.0 In-Reply-To: <87d1s3y42w.fsf@gmail.com> X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:109159 Archived-At: 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?