Gnus development mailing list
 help / color / mirror / Atom feed
From: Lars Magne Ingebrigtsen <larsi@gnus.org>
Subject: Re: gnus-header-face-alist overriding other faces ?
Date: Fri, 02 Jan 2004 20:56:57 +0100	[thread overview]
Message-ID: <m3vfnu9l9y.fsf@quimbies.gnus.org> (raw)
In-Reply-To: <plop877k0d9yb9.fsf@gnu-rox.org>

Xavier Maillard <zedek@gnu-rox.org> writes:

> (setq gnus-header-face-alist's value is 
> (("From" nil gnus-header-from-face)
>  ("Newsgroups:.*," nil gnus-header-newsgroups-face)
>  ("" gnus-header-name-face gnus-header-content-face)))
>
> This would render my gnus-article with those Faces and it will show me
> the different part of the headers using those faces. Here only From and
> Newsgroups headers will be rendered with custom faces. The rest will
> use the faces defined in the "" part.

Yes...

> Now let's imagine I also have something like this:
>
> (set-face-foreground 'gnus-header-subject-face "rosy brown")
> (set-face-bold-p 'gnus-header-subject-face t)
>
> With this I can expect Gnus to display the "Subject" header with rosy
> brown color and the text should be bold.

No, you've specified that the Subject headers should be displayed
with `gnus-header-content-face'.  If you want the Subject header to
be displayed with a different face, you have to add a rule to have
the Subject header displayed with a different face.

-- 
(domestic pets only, the antidote for overdose, milk.)
  larsi@gnus.org * Lars Magne Ingebrigtsen




      reply	other threads:[~2004-01-02 19:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-29  2:00 Xavier Maillard
2003-12-31  1:42 ` Lars Magne Ingebrigtsen
2003-12-31  8:38   ` Xavier Maillard
2004-01-02 19:56     ` Lars Magne Ingebrigtsen [this message]

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=m3vfnu9l9y.fsf@quimbies.gnus.org \
    --to=larsi@gnus.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).