Gnus development mailing list
 help / color / mirror / Atom feed
From: Lloyd Zusman <ljz@asfast.com>
To: ding@gnus.org
Subject: Re: Which font faces for nnimap group names?
Date: Mon, 15 Dec 2008 18:27:25 -0500	[thread overview]
Message-ID: <m2oczd9fz6.fsf@asfast.com> (raw)
In-Reply-To: <87fxkpgjti.fsf@engster.org>

David Engster <deng@randomsample.de> writes:

> Lloyd Zusman <ljz@asfast.com> writes:
>> I'm trying to figure out which font faces gnus uses when rendering
>> nnimap-based group names in the *Group* buffer. I've been using
>> trial-and-error to attempt to set these faces via `customize-faces', but
>> this is a tedious process.
>
> You can get a list of all currently known faces via M-x list-faces-display.

Yes, I know that, but it doesn't tell me which faces are used for which
purposes within gnus, nor anywhere else.


> Gnus uses the faces beginning with "gnus-group-mail-" for mail folders.

Yes, these are the ones that I've been focusing on. However, there are
something like 16 of them, and it's a matter of trial and error for me
to determine which are used for which purpose under gnus.


>> And a related question: is there any way within Emacs 23.x to query the
>> text which is showing on the screen and to find out the face that is
>> being used for rendering it?
>
> Using C-u C-x = will give you that information on the current point
> position (and much more).

Aha! That's it! It tells me that one of the faces I'm interested in is
called `gnus-group-mail-3-empty-face'. It would have taken me around 6
or 7 more trial-and-error attempts before I got to this one.

How can I know when `*-mail-1-*', `*-mail-2-*', or `*-mail-3-*' are used
for any given header? Do I have to determine this by reading the gnus
source code, or is it documented somewhere else?

But from now on, I'll use `C-u C-x ='.

Thanks!


-- 
 Lloyd Zusman
 ljz@asfast.com
 God bless you.




  reply	other threads:[~2008-12-15 23:27 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-12-15 21:58 Lloyd Zusman
2008-12-15 22:17 ` David Engster
2008-12-15 23:27   ` Lloyd Zusman [this message]
2008-12-16  1:39     ` Katsumi Yamaoka
2008-12-16  3:16       ` Lloyd Zusman
2008-12-16  9:44 ` Tassilo Horn

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=m2oczd9fz6.fsf@asfast.com \
    --to=ljz@asfast.com \
    --cc=ding@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).