From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.bugs Subject: bug#16488: 24.3.50; :inherit ignored in `defface', :box border color used as foreground Date: Sat, 18 Jan 2014 17:13:04 -0800 (PST) Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1390094063 27375 80.91.229.3 (19 Jan 2014 01:14:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 19 Jan 2014 01:14:23 +0000 (UTC) To: 16488@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 19 02:14:29 2014 Return-path: Envelope-to: geb-bug-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 1W4gy3-0007kV-6c for geb-bug-gnu-emacs@m.gmane.org; Sun, 19 Jan 2014 02:14:27 +0100 Original-Received: from localhost ([::1]:44775 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gy2-0000EM-FV for geb-bug-gnu-emacs@m.gmane.org; Sat, 18 Jan 2014 20:14:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45015) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gxp-0000DV-PD for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:14:23 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4gxf-0005XK-Hx for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:14:13 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42458) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gxf-0005XF-EE for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:14:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1W4gxe-0002Gd-Su for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:14:03 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Drew Adams Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 19 Jan 2014 01:14:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 16488 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.13900940208668 (code B ref -1); Sun, 19 Jan 2014 01:14:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 19 Jan 2014 01:13:40 +0000 Original-Received: from localhost ([127.0.0.1]:56477 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4gxH-0002Fi-KU for submit@debbugs.gnu.org; Sat, 18 Jan 2014 20:13:40 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:43215) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1W4gxE-0002FW-G4 for submit@debbugs.gnu.org; Sat, 18 Jan 2014 20:13:37 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4gx4-0005PC-41 for submit@debbugs.gnu.org; Sat, 18 Jan 2014 20:13:36 -0500 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:59856) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gx4-0005P6-1o for submit@debbugs.gnu.org; Sat, 18 Jan 2014 20:13:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44855) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gwv-0007rw-4X for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:13:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1W4gwm-0005Ga-HN for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:13:17 -0500 Original-Received: from aserp1040.oracle.com ([141.146.126.69]:19563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1W4gwm-0005F8-Ae for bug-gnu-emacs@gnu.org; Sat, 18 Jan 2014 20:13:08 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s0J1D5b8009011 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Sun, 19 Jan 2014 01:13:06 GMT Original-Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0J1D4NA027133 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 19 Jan 2014 01:13:05 GMT Original-Received: from abhmp0018.oracle.com (abhmp0018.oracle.com [141.146.116.24]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s0J1D4PH023111 for ; Sun, 19 Jan 2014 01:13:04 GMT X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:83698 Archived-At: emacs -Q Evaluate these, in this order, then try `customize-face' on each of them. (defface foo1 '((t :inherit region)) "..." :group 'faces) (defface foo2 '((t (:box (:line-width -1 :color "Red")) :inherit foo1)) "..." :group 'faces) (defface foo3 '((t (:box (:line-width -1 :color "Red")) :inherit region)) "..." :group 'faces) Expected: `foo2' and `foo3' would each have the background highlighting of face `region', surrounded by a red hollow box. What I see: `foo2' and `foo3' do appear the same, but not as expected. `foo1', as expected, looks like `region': just a highlighted background. `foo2' and `foo3': * Showing all attributes shows that `Inherit:' is not checked, and the `region' face highlighting is missing. * The box attribute is checked, and all of its data is correct. * The `sample' shows a face with a red foreground and no background. And no box at all. And that is what the faces=20 The problem arises with both direct (`foo3') and indirect (`foo2') inheritance. This problem appears (the same) in older Emacs versions also, at least as far back as Emacs 22. (Was :inherit introduced for Emacs 21 or 22?) In GNU Emacs 24.3.50.1 (i686-pc-mingw32) of 2014-01-17 on ODIEONE Bzr revision: 116059 michael.albinus@gmx.de-20140117182409-gz695p2c951idlee Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --prefix=3D/c/Devel/emacs/binary --enable-checking=3Dyes,glyphs 'CFLAGS=3D-O0 -g3' LDFLAGS=3D-Lc:/Devel/emacs/lib CPPFLAGS=3D-Ic:/Devel/emacs/include'