[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: 'To' and 'Newsgroups' extra headers
From: |
Rodolfo Medina |
Subject: |
Re: 'To' and 'Newsgroups' extra headers |
Date: |
Tue, 04 Oct 2005 15:22:19 +0100 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) |
Rodolfo Medina <rodolfo.medina@libero.it> 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