From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: Overriding inherited face attributes Date: Wed, 28 Nov 2018 18:18:25 +0200 Message-ID: <831s75fa5q.fsf@gnu.org> References: <87pnuqfboc.fsf@gmx.net> <83sgzlg1w7.fsf@gnu.org> <87in0h1jak.fsf@rub.de> <8336rlfj1y.fsf@gnu.org> <87efb51h18.fsf@rub.de> NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1543421817 26047 195.159.176.226 (28 Nov 2018 16:16:57 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 28 Nov 2018 16:16:57 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 28 17:16:53 2018 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1gS2WC-0006hB-Jh for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2018 17:16:52 +0100 Original-Received: from localhost ([::1]:48566 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS2YI-0004sF-F0 for geh-help-gnu-emacs@m.gmane.org; Wed, 28 Nov 2018 11:19:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58097) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS2Xj-0004q9-Mx for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 11:18:28 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gS2Xf-0007iw-L8 for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 11:18:27 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:42140) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gS2XX-0007Xf-Jo for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 11:18:19 -0500 Original-Received: from [176.228.60.248] (port=1672 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1gS2XV-00034S-PO for help-gnu-emacs@gnu.org; Wed, 28 Nov 2018 11:18:14 -0500 In-reply-to: <87efb51h18.fsf@rub.de> (message from Stephen Berman on Wed, 28 Nov 2018 14:13:39 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.help:118793 Archived-At: > From: Stephen Berman > Cc: help-gnu-emacs@gnu.org > Date: Wed, 28 Nov 2018 14:13:39 +0100 > > >> (insert (propertize "hello" 'face '(:inherit (:foreground "orange") > >> :foreground "red"))) > >> > >> makes the face display as red, and this seems to conflict with the above > >> documentation. > > > > It doesn't, because ':foreground "red"' is not the "underlying face". > > That occurred to me, but then I have to conclude I really don't > understand the doc, according to my reading of which the `inherit' > property should have higher priority by virtue of being earlier in the > list. If someone has concrete proposals for how to make the documentation of these aspects better, I'm open to suggestions.