From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/67918 Path: news.gmane.org!not-for-mail From: Lloyd Zusman Newsgroups: gmane.emacs.gnus.general Subject: Re: Which font faces for nnimap group names? Date: Mon, 15 Dec 2008 18:27:25 -0500 Organization: Take a hippopotamus to lunch today. Message-ID: References: <87fxkpgjti.fsf@engster.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1229383701 28946 80.91.229.12 (15 Dec 2008 23:28:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 15 Dec 2008 23:28:21 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M16364@lists.math.uh.edu Tue Dec 16 00:29:25 2008 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by lo.gmane.org with esmtp (Exim 4.50) id 1LCMsN-0007TL-S0 for ding-account@gmane.org; Tue, 16 Dec 2008 00:29:24 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1LCMqm-000356-Uh; Mon, 15 Dec 2008 17:27:44 -0600 Original-Received: from mx1.math.uh.edu ([129.7.128.32]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1LCMql-00034r-JY for ding@lists.math.uh.edu; Mon, 15 Dec 2008 17:27:43 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx1.math.uh.edu with esmtp (Exim 4.69) (envelope-from ) id 1LCMqi-0002Us-Pw for ding@lists.math.uh.edu; Mon, 15 Dec 2008 17:27:43 -0600 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1LCMqs-0006Fi-00 for ; Tue, 16 Dec 2008 00:27:50 +0100 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1LCMqa-00069N-KD for ding@gnus.org; Mon, 15 Dec 2008 23:27:32 +0000 Original-Received: from 209.59.210.144 ([209.59.210.144]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Dec 2008 23:27:32 +0000 Original-Received: from ljz by 209.59.210.144 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 15 Dec 2008 23:27:32 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 45 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 209.59.210.144 User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.60 (darwin) Cancel-Lock: sha1:/+/tlnmSpJQ1dRWOu7IVdpAe1bw= Cache-Post-Path: purity-of-essence.net!unknown@nadie.us X-Cache: nntpcache 3.0.2 (see http://www.nntpcache.com/) X-Spam-Score: -1.5 (-) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:67918 Archived-At: David Engster writes: > Lloyd Zusman 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.