Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Rodolfo Medina <rodolfo.medina@libero.it>
Subject: Re: 'To' and 'Newsgroups' extra headers
Date: Tue, 04 Oct 2005 15:22:19 +0100	[thread overview]
Message-ID: <m2vf0ds6p0.fsf@libero.it> (raw)
In-Reply-To: <v9achs3wcp.fsf@marauder.physik.uni-ulm.de>

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


  reply	other threads:[~2005-10-04 14:22 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-02 10:47 romeomedina
2005-10-02 13:02 ` Reiner Steib
2005-10-04 14:22   ` Rodolfo Medina [this message]
2005-10-02 14:23 ` 'To' and 'Newsgroups' extra headers [solved] Rodolfo Medina

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=m2vf0ds6p0.fsf@libero.it \
    --to=rodolfo.medina@libero.it \
    /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).