[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
a wish for more faces
From: |
Paul Pogonyshev |
Subject: |
a wish for more faces |
Date: |
Wed, 2 Jul 2003 16:29:49 +0000 |
User-agent: |
KMail/1.5.9 |
I've set `font-lock-function-name-face' and `font-lock-variable-name-face'
to plain black text. This does look nice (to me) while editing some code,
say in C. However, when i opened an HTML file, i found it quite unreadable
because sgml-mode.el reuses those faces.
What i think Emacs lacks is more faces. While it is perfectly reasonable
to have the same faces used for highlighting different programming languages,
it would be nice to have a separate set of faces for markup languages.
This can be done transparently for those who don't need more faces. For
instance, you can create new face `font-lock-tag-name-face' with no
properties set by default and make it inherit `font-lock-function-name-face'.
This way nothing will change unless you intentionally customize new
`font-lock-tag-name-face'.
If this plan sounds good for you i may be willing to create a patch. Just
let me know what you decide.
Paul Pogonyshev
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- a wish for more faces,
Paul Pogonyshev <=