From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#16378: Empty face settings ignored (was bug#16694: Regression by commit 115663 (bzr): Theme face attributes no longer take precedence over X resources) Date: Wed, 26 Feb 2014 10:49:58 -0500 Message-ID: References: <52F601AE.5040309@binary-island.eu> <52FE6BD6.7090607@binary-island.eu> <83txbt4p37.fsf@gnu.org> <83ppmg4yvv.fsf@gnu.org> <530A25EF.6080306@binary-island.eu> <83zjlh21ec.fsf@gnu.org> <530B9D7F.20005@binary-island.eu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1393429819 4256 80.91.229.3 (26 Feb 2014 15:50:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 26 Feb 2014 15:50:19 +0000 (UTC) Cc: 16378@debbugs.gnu.org To: Matthias Dahl Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 26 16:50:23 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 1WIgkX-0002nn-Vm for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 16:50:22 +0100 Original-Received: from localhost ([::1]:41403 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIgkX-00007l-M1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 26 Feb 2014 10:50:21 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57325) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIgkM-0008L1-Na for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 10:50:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WIgkF-0008Rw-E9 for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 10:50:10 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40269) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WIgkF-0008Rd-Ar for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 10:50:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WIgkE-0000tT-Dt for bug-gnu-emacs@gnu.org; Wed, 26 Feb 2014 10:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 26 Feb 2014 15:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16378 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16378-submit@debbugs.gnu.org id=B16378.13934298013425 (code B ref 16378); Wed, 26 Feb 2014 15:50:02 +0000 Original-Received: (at 16378) by debbugs.gnu.org; 26 Feb 2014 15:50:01 +0000 Original-Received: from localhost ([127.0.0.1]:41451 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIgkC-0000tA-Q3 for submit@debbugs.gnu.org; Wed, 26 Feb 2014 10:50:01 -0500 Original-Received: from ironport2-out.teksavvy.com ([206.248.154.181]:26556) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WIgkB-0000t3-Vc for 16378@debbugs.gnu.org; Wed, 26 Feb 2014 10:50:00 -0500 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Av4EABK/CFFFpaMk/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA4hhiGyTLYFegxU X-IPAS-Result: Av4EABK/CFFFpaMk/2dsb2JhbABEvw4Xc4IeAQEEAVYjBQsLDiYHCxQYDSSIHgbBLZEKA4hhiGyTLYFegxU X-IronPort-AV: E=Sophos;i="4.84,565,1355115600"; d="scan'208";a="48806335" Original-Received: from 69-165-163-36.dsl.teksavvy.com (HELO pastel.home) ([69.165.163.36]) by ironport2-out.teksavvy.com with ESMTP/TLS/ADH-AES256-SHA; 26 Feb 2014 10:49:59 -0500 Original-Received: by pastel.home (Postfix, from userid 20848) id CADE7601A0; Wed, 26 Feb 2014 10:49:58 -0500 (EST) In-Reply-To: <530B9D7F.20005@binary-island.eu> (Matthias Dahl's message of "Mon, 24 Feb 2014 20:29:03 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux) 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:86259 Archived-At: > don't know all of its dark corners and functionality. Thus, when I read > the bug report done by Stefan, I tried to figure out what was the > desired and what was the buggy behavior, all in the context of some > functionality that was rather foggy to me. The desired behavior is that after middle clicking "State => Set for current session", the "sample" (and all code highlighted with that font-lock-comment-delimiter-face) should be displayed with the default color used for all non-highlighted text (i.e. a black foreground, typically), whereas it's still displayed using the reddish color of font-lock-comment-face. IOW, even though I specifically asked to remove the inheritance between font-lock-comment-delimiter-face and font-lock-comment-face, this inheritance is still present. Note that this has nothing to do with inheritance. The same recipe works for other properties: src/emacs -Q lisp/minibuffer.el C-e M-x customize-face RET RET [ So this time we get font-lock-comment-face. ] click on the "Foreground" button so as to disable the reddish color: the result should be a face that does not specify any particular appearance. Middle click "State => Set for current session" and notice that the face is still using the same reddish foreground. -- Stefan