From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?utf-8?Q?=C3=93scar_Fuentes?= Newsgroups: gmane.emacs.help Subject: Face attribute value differs from definition Date: Sat, 09 Jan 2016 07:16:35 +0100 Message-ID: <87poxbffb0.fsf@wanadoo.es> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1452320240 13686 80.91.229.3 (9 Jan 2016 06:17:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 9 Jan 2016 06:17:20 +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 Jan 09 07:17:10 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 1aHmpq-0007DC-5d for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jan 2016 07:17:10 +0100 Original-Received: from localhost ([::1]:39217 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHmpp-0001Oi-8R for geh-help-gnu-emacs@m.gmane.org; Sat, 09 Jan 2016 01:17:09 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38399) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHmpf-0001OU-9l for help-gnu-emacs@gnu.org; Sat, 09 Jan 2016 01:17:00 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aHmpa-0003In-AV for help-gnu-emacs@gnu.org; Sat, 09 Jan 2016 01:16:59 -0500 Original-Received: from plane.gmane.org ([80.91.229.3]:51424) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aHmpa-0003Ig-3r for help-gnu-emacs@gnu.org; Sat, 09 Jan 2016 01:16:54 -0500 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aHmpZ-0006zn-0B for help-gnu-emacs@gnu.org; Sat, 09 Jan 2016 07:16:53 +0100 Original-Received: from 126.red-88-21-15.staticip.rima-tde.net ([88.21.15.126]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 07:16:52 +0100 Original-Received: from ofv by 126.red-88-21-15.staticip.rima-tde.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 09 Jan 2016 07:16:52 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 34 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 126.red-88-21-15.staticip.rima-tde.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:v9EDg6pFpJCVMVSxNK0E05x0P7w= 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:108670 Archived-At: I have this on my configuration file: (defface paren-face '((((class color) (background dark)) (:foreground "#505a55")) (((class color) (background light)) (:foreground "grey80"))) "Face used to dim parentheses.") (defun dim-parens () (interactive) (font-lock-add-keywords nil '(("(\\|)" . 'paren-face)))) After invoking `dim-parens', "M-x describe-face paren-face" shows this Face: paren-face (sample) (customize this face) Documentation: Face used to dim parentheses. Defined in ‘emacs.el’. .... Foreground: #586e75 .... Note that the definition says #505a55 but the actual value is #586e75. Why? I'm using the solarized-dark theme. If I run emacs -Q and eval the code, describe-face correctly says that the foreground of paren-face is grey80. GNU Emacs 25.0.50.27 (x86_64-unknown-linux-gnu, X toolkit) of 2015-12-30