From: David Reitter <david.reitter@gmail.com>
To: emacs-pretest-bug@gnu.org
Subject: bug#2066: Face `unspecified' inheritance ignores face-remapping-alist
Date: Mon, 26 Jan 2009 09:46:48 -0500 [thread overview]
Message-ID: <8D6DFE19-24FE-4210-8A1E-4C3CAB6CAF89@gmail.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 605 bytes --]
Faces with an unspecified `inherit' attribute inherit from `default',
right?
Unfortunately, this mechanism does not respect remapped faces (face-
remapping-alist). Faces, by default, seem to inherit from the frame
default. To demonstrate:
emacs -Q
(fundamental-mode)
(setq face-remapping-alist '((default . highlight)))
(insert (propertize "test" 'face 'fringe))
In a concrete use case, `csv-mode' fails to align its columns when
face-remapping-alist is used, because one of its faces is not
specified to inherit from default, causing it to inherit from the
wrong face (see screenshot).
[-- Attachment #1.2: pastedGraphic.png --]
[-- Type: image/png, Size: 77717 bytes --]
[-- Attachment #1.3: Type: text/plain, Size: 2 bytes --]
[-- Attachment #2: smime.p7s --]
[-- Type: application/pkcs7-signature, Size: 2193 bytes --]
next reply other threads:[~2009-01-26 14:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-26 14:46 David Reitter [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-01-27 19:16 bug#2066: Face `unspecified' inheritance ignores face-remapping-alist Chong Yidong
2009-01-27 20:46 ` David Reitter
2009-01-27 20:57 ` David Reitter
2012-06-09 9:38 ` Chong Yidong
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=8D6DFE19-24FE-4210-8A1E-4C3CAB6CAF89@gmail.com \
--to=david.reitter@gmail.com \
--cc=2066@emacsbugs.donarmstrong.com \
--cc=emacs-pretest-bug@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.