bug#2066: Face `unspecified' inheritance ignores face-remapping-alist
David Reitter <[email protected]>
| Newsgroups | gmane.emacs.bugs,gmane.emacs.pretest.bugs |
|---|---|
| Message-ID | <[email protected]> |
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).
pastedGraphic.png
(image/png, 75.9 KB) - not displayed
smime.p7s
(application/pkcs7-signature, 2.1 KB) - not displayed