From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/53637 Path: main.gmane.org!not-for-mail From: Simon Josefsson Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-header-face-alist default value bug? Date: Wed, 06 Aug 2003 03:41:42 +0200 Sender: ding-owner@lists.math.uh.edu Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1060134129 27729 80.91.224.253 (6 Aug 2003 01:42:09 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 6 Aug 2003 01:42:09 +0000 (UTC) Cc: ding@gnus.org Original-X-From: ding-owner+M2181@lists.math.uh.edu Wed Aug 06 03:42:28 2003 Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 19kDJs-00072g-00 for ; Wed, 06 Aug 2003 03:42:28 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19kDJj-0005Rc-00; Tue, 05 Aug 2003 20:42:20 -0500 Original-Received: from sclp3.sclp.com ([64.157.176.121]) by malifon.math.uh.edu with smtp (Exim 3.20 #1) id 19kDJf-0005RJ-00 for ding@lists.math.uh.edu; Tue, 05 Aug 2003 20:42:15 -0500 Original-Received: (qmail 24145 invoked by alias); 6 Aug 2003 01:42:15 -0000 Original-Received: (qmail 24140 invoked from network); 6 Aug 2003 01:42:14 -0000 Original-Received: from 178.230.13.217.in-addr.dgcsystems.net (HELO yxa.extundo.com) (217.13.230.178) by sclp3.sclp.com with SMTP; 6 Aug 2003 01:42:14 -0000 Original-Received: from latte.josefsson.org (yxa.extundo.com [217.13.230.178]) (authenticated bits=0) by yxa.extundo.com (8.12.9/8.12.9) with ESMTP id h761fgdk025797 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=OK); Wed, 6 Aug 2003 03:41:43 +0200 Original-To: Chunyu Wang Mail-Copies-To: nobody X-Payment: hashcash 1.2 0:030806:spr@db.cs.hit.edu.cn:71fbaac2d873f8af X-Hashcash: 0:030806:spr@db.cs.hit.edu.cn:71fbaac2d873f8af X-Payment: hashcash 1.2 0:030806:ding@gnus.org:bba49d241867ea0e X-Hashcash: 0:030806:ding@gnus.org:bba49d241867ea0e In-Reply-To: (Chunyu Wang's message of "Wed, 06 Aug 2003 08:13:14 +0800") User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux) Precedence: bulk Xref: main.gmane.org gmane.emacs.gnus.general:53637 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:53637 Chunyu Wang writes: > I have set the gnus-header-newsgroups-face by M-x customize, But emacs > doesn't display correctly. So I changed the source as the following, > then it works. Is this a mistake? > > *** /home/spr/work/gnus/lisp/gnus-art.el Thu Jul 10 13:01:09 2003 > --- /usr/local/share/emacs/site-lisp/gnus/gnus-art.el Mon Aug 4 > 20:55:05 2003 > *************** > *** 660,666 **** > (defcustom gnus-header-face-alist > '(("From" nil gnus-header-from-face) > ("Subject" nil gnus-header-subject-face) > ! ("Newsgroups:.*," nil gnus-header-newsgroups-face) > ("" gnus-header-name-face gnus-header-content-face)) > "*Controls highlighting of article header. > > --- 660,666 ---- > (defcustom gnus-header-face-alist > '(("From" nil gnus-header-from-face) > ("Subject" nil gnus-header-subject-face) > ! ("Newsgroups" nil gnus-header-newsgroups-face) > ("" gnus-header-name-face gnus-header-content-face)) > "*Controls highlighting of article header. I think the intention was that Newsgroups: headers only need to be highlighted when they contain groups other than the current group, i.e. for crossposts. Various docstrings didn't reflect this, so your patch is probably just as good as a patch that fixes the docstrings.