From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5818 Path: news.gmane.org!not-for-mail From: Rodolfo Medina Newsgroups: gmane.emacs.gnus.user Subject: Re: 'To' and 'Newsgroups' extra headers Date: Tue, 04 Oct 2005 15:22:19 +0100 Message-ID: References: <1128250069.244403.180190@o13g2000cwo.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671471 28955 80.91.229.2 (31 Jan 2006 01:37:51 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:37:51 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:52 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: ppp-152-54.26-151.libero.it Original-X-Trace: quimby.gnus.org 1128432099 386 151.26.54.152 (4 Oct 2005 13:21:39 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Tue, 4 Oct 2005 13:21:39 +0000 (UTC) User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) Cancel-Lock: sha1:qTDQ7tS8w29phT/1dk00NEGlrAY= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5960 Original-Lines: 31 X-Gnus-Article-Number: 5960 Tue Jan 17 17:35:52 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5818 Archived-At: Rodolfo Medina writes: > I want gnus to display the 'To' header when it exists, i.e. for mails, > but the 'Newsgroups' header in its place when the 'To' header does not > exist and there is the 'Newsgroup' header, i.e. with newsgroups messages. > > Any suggestion about the right syntax in ~/.gnus.el? > > [...] > > It seems to be achieved with: > > (setq gnus-summary-line-format > ":%U%R%z%I %-15,15a| %-20,20f| %s %-85=|%4L |%D \n") > > (setq gnus-extra-headers '(To Newsgroups)) > > (setq gnus-ignored-from-addresses "") I also put: (setq nnmail-extra-headers gnus-extra-headers) . The purpose I wanted is achieved, but *only* once the article has been saved on disk. When I enter the nntp gnu.emacs.gnus newsgroup, all the articles have the 'From' header in place of the 'Newsgroups' header. Then ,if I copy an article in another group and then open it again, I see the 'Newsgroups' header correctly displayed. It's strange? Thanks, Rodolfo