From: "Óscar Fuentes" <ofv@wanadoo.es>
To: help-gnu-emacs@gnu.org
Subject: Face attribute value differs from definition
Date: Sat, 09 Jan 2016 07:16:35 +0100 [thread overview]
Message-ID: <87poxbffb0.fsf@wanadoo.es> (raw)
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
next reply other threads:[~2016-01-09 6:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-01-09 6:16 Óscar Fuentes [this message]
2016-01-09 6:25 ` Face attribute value differs from definition Óscar Fuentes
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87poxbffb0.fsf@wanadoo.es \
--to=ofv@wanadoo.es \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.