From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alex Kost Newsgroups: gmane.emacs.help Subject: Re: customize-face + inherit Date: Thu, 11 Feb 2016 12:43:51 +0300 Message-ID: <87d1s3y42w.fsf@gmail.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1455183902 6483 80.91.229.3 (11 Feb 2016 09:45:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 11 Feb 2016 09:45:02 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Yuri D'Elia Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Feb 11 10:44:53 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 1aTnnw-0002yS-1o for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Feb 2016 10:44:52 +0100 Original-Received: from localhost ([::1]:48056 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTnnv-00009e-7M for geh-help-gnu-emacs@m.gmane.org; Thu, 11 Feb 2016 04:44:51 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39149) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTnn4-0007yy-Kf for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTnn0-0004lt-H1 for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:58 -0500 Original-Received: from mail-lb0-x231.google.com ([2a00:1450:4010:c04::231]:34029) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTnn0-0004lW-8r for help-gnu-emacs@gnu.org; Thu, 11 Feb 2016 04:43:54 -0500 Original-Received: by mail-lb0-x231.google.com with SMTP id cw1so24588633lbb.1 for ; Thu, 11 Feb 2016 01:43:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=XWD3mh4g+kFnSpBgiiab/nBen8RiBxxR06I5gtxtVa4=; b=wMtKB8ZedqZ0AP3BDgZi7YugytLsLj4FVOBhKmlhQdHTePE5A9//Dhs2QmufJbfzF+ CFiw8il3mIKbKU9Tu8aT5U7LgAIleGDZcPoK5t99zFGguw+cBvi6sdsMDcIAUyGyPUDh hyL1VwfqJE5Zy31TzlAAMm5W5LNd/fZpW37aaMtDDwu7ml+mWCOPjo/qjNANaeMXZzXI Lu4iU0NeJAxKSpIiaHKXhl4YohxjWuOpnx4sFaQ0WSk2gI//vjLv/XUcDzAgPae+9xzc Y7VZH32wbvUBlDXGzv6F2OqxOqn3Ly9HiAqPlyegg0t5z6KzPw/KeInN3uAmSFh9EgJE WPjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-type; bh=XWD3mh4g+kFnSpBgiiab/nBen8RiBxxR06I5gtxtVa4=; b=flTjhPlP8jdntra1kJ8hm37zLx1/MXA8R3pf3Hd4S5R8waBYPCKFhp2ki+BhEBC2zq wgNlO69nBve707uAkAh4Zwp3nIAcIeu1c0CTKkkWdvlmiaYxMHaUXN2xSKjCLJIFGE33 VT8ZPC0fi0+ANkfWZPHQxKYDn2tttr2tbgVspU/WhJ9NhKVqe6VXfzOJcIDodMPtLGSh 7V+uSolBAxPjexiycYP2ofWP+qoBit19SW1cJPQmoyy5AL37nAThn8aO6NA/tfPgGijw gVQI3Ymj7t/IkneSV0sShvHHIxyep5Ljr3+Y7FJa6Aw3EsGkw8ffzycVUQ2+rnFGqp+Z cJ5A== X-Gm-Message-State: AG10YOSHeJpsimNUQdHFsDWHGcnyStkv3se1eQHjvclVRU/Za0FnL0aPKEqPgYRoTBTa2A== X-Received: by 10.112.158.65 with SMTP id ws1mr1119690lbb.86.1455183833108; Thu, 11 Feb 2016 01:43:53 -0800 (PST) Original-Received: from leviafan ([217.107.192.146]) by smtp.gmail.com with ESMTPSA id xe8sm1090354lbb.41.2016.02.11.01.43.52 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 11 Feb 2016 01:43:52 -0800 (PST) In-Reply-To: (Yuri D'Elia's message of "Tue, 9 Feb 2016 00:32:17 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2a00:1450:4010:c04::231 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:109100 Archived-At: Yuri D'Elia (2016-02-09 02:32 +0300) 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? -- Alex