From: Xavier Maillard <zedek@gnu-rox.org>
Subject: gnus-header-face-alist overriding other faces ?
Date: Mon, 29 Dec 2003 03:00:03 +0100 [thread overview]
Message-ID: <plop87ekuogz8c.fsf@gnu-rox.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 1769 bytes --]
Hello,
It seems to me that 'gnus-header-face-alist' prevents other faces to be
displayed as they are defined.
For example if I set 'gnus-header-face-alist' to highlight 'From', 'To'
and 'Subject' headers, then all the other headers are displayed with a
default face. I don't like this behavior *at all* since I want all my
header faces to be honored as defined.
I know the function is 'gnus-article-highlight-headers' but as I am
still quite limited with gnus internals, I am not yet able to modify it
according to your coding styles/designs.
Any chance someone can modify it to allow to highlight the headers
according to either 'gnus-header-face-alist' and/or other faces ?
Dunno how difficult it would be but I am pretty sure that there are
competent people reading this list :)
Thank you !
zeDek
P.S: for readers, here is what the docstring says about
'gnus-header-face-alist':
,----[ C-h v gnus-header-face-alist RET ]
| gnus-header-face-alist's value is
| (("Date" gnus-header-name-face gnus-header-from-face)
| ("X-GPG\\|X-PGP\\|X-Gpg" gnus-header-name-face my-gnus-gpg-face))
|
|
| *Controls highlighting of article headers.
|
| An alist of the form (HEADER NAME CONTENT).
|
| HEADER is a regular expression which should match the name of a
| header and NAME and CONTENT are either face names or nil.
|
| The name of each header field will be displayed using the face
| specified by the first element in the list where HEADER matches
| the header name and NAME is non-nil. Similarly, the content will
| be displayed by the first non-nil matching CONTENT face.
|
| You can customize this variable.
|
| Defined in `gnus-art'.
|
| [back]
`----
--
"GNU is my religion"
.O. Xavier Maillard
..O Reims - France
OOO +33 6 62 59 68 62
[-- Attachment #2: Type: application/pgp-signature, Size: 188 bytes --]
next reply other threads:[~2003-12-29 2:00 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-29 2:00 Xavier Maillard [this message]
2003-12-31 1:42 ` Lars Magne Ingebrigtsen
2003-12-31 8:38 ` Xavier Maillard
2004-01-02 19:56 ` Lars Magne Ingebrigtsen
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=plop87ekuogz8c.fsf@gnu-rox.org \
--to=zedek@gnu-rox.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).