[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Face precedence
From: |
Matthew Calhoun |
Subject: |
Re: Face precedence |
Date: |
Tue, 2 Nov 2004 13:23:37 -0800 |
Hi Oliver,
Thanks for your reply. I think when I said I was "defining faces" I
gave you the impression that I was doing something more complicated
than what I'm actually doing. I'm only setting the attributes of
existing faces with custom-set-faces, like this:
(custom-set-faces
'(mode-line ((((type x w32 mac) (class color)) (:background "white"
:foreground "black" :weight extra-bold))))
'(mode-line-inactive ((t (:slant oblique :weight light))))
'(region ((((class color)) (:background "#b5d5ff"))))
'(isearch ((t (:inherit region :weight bold))))
'(isearch-lazy-highlight-face ((((class color) (background light))
(:background "#d4d4d4" :foreground "black" :weight bold))))
'(highlight-changes-face ((((class color)) (:inherit
highlight))))
'(highlight-changes-delete-face ((((class color)) (:box (:line-width
1 :color "#3d80df")))))
'(highlight-changes-face-1 ((t (:background "gray80"))) t)
'(highlight-changes-face-2 ((t (:background "gray90"))) t)
'(highlight-changes-face-3 ((t (:background "gray95"))) t)
'(show-paren-match-face ((((class color)) (:foreground "saddle
brown"))))
'(show-paren-mismatch-face ((((class color)) (:foreground
"red"))))
'(font-lock-builtin-face ((((class color)) (:foreground
"black"))))
'(font-lock-comment-face ((((class color)) (:foreground
"gray50"))))
'(font-lock-constant-face ((((class color)) (:foreground
"black"))))
'(font-lock-function-name-face ((((class color)) (:foreground "black"
:weight bold))))
'(font-lock-keyword-face ((((class color)) (:foreground
"black"))))
'(font-lock-string-face ((((class color)) (:foreground "forest
green"))))
'(font-lock-type-face ((((class color)) (:foreground "black"))))
'(font-lock-variable-name-face ((((class color)) (:foreground
"blue"))))
'(font-lock-warning-face ((((class color)) (:foreground
"red"))))
'(html-tag-face ((t (:foreground "dodger blue"))))
'(html-helper-bold-face ((t (:foreground "black"))))
'(html-helper-builtin-face ((t (:foreground "black"))))
'(html-helper-italic-face ((t (:foreground "black"))))
'(html-helper-underline-face ((t (:foreground "black"))))
'(cperl-array-face ((((class color) (background light)) (:foreground
"orange"))))
'(cperl-hash-face ((((class color) (background light)) (:foreground
"chocolate4"))))
'(cperl-nonoverridable-face ((((class color) (background light))
nil)))
'(mmm-default-submode-face ((t (:background "yellow"))))
'(mmm-cleanup-submode-face ((t (:background "yellow"))))
'(mmm-code-submode-face ((t (:background "yellow"))))
'(mmm-comment-submode-face ((t (:background "yellow"))))
'(mmm-declaration-submode-face ((t (:background "yellow"))))
'(mmm-output-submode-face ((t (:background "yellow"))))
'(mmm-special-submode-face ((t (:background "yellow"))))
'(mmm-init-submode-face ((t (:background "yellow"))))
'(highlight ((((class color)) (:background "#3d80df" :foreground
"white"))))
)
The highlight face I was referring to isn't something I implemented
myself; it's just an existing face that I've customized. What I'm
finding confusing is the way in which these faces are applied when more
than 1 of them is in effect. I would appreciate any light you can shed
on this subject.
Thanks,
Matt
- Re: Face precedence,
Matthew Calhoun <=