Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Steven Woody <anti-spam.narkewoody@gmail.com.dont-post-to>
Subject: Re: I Want Same Summary Line Format For Nntp And Nnml Group
Date: Tue, 05 Jul 2005 03:09:08 +0800	[thread overview]
Message-ID: <87ll4mfkx7.fsf@narke.yellow.line> (raw)
In-Reply-To: <87mzp42ab8.fsf@phun.phasmic.org>

Neil Woods <cnw+usenet@pobox.com> writes:

>>>>>> "SB" == Steinar Børmer <steinab@ifi.uio.no> writes:
>
> SB> For some reason, Gnus defaults to the To: header in nnml when "f" is
> SB> active.  I haven't looked into why, someone else can certainly answer
> SB> that one.   Also, you might want to experiment with some of the other
> SB> alternatives above.
>
> Take a look at the variable 'gnus-ignored-from-addresses'.  It is a
> regular expression of From headers that may be suppressed in favour of
> To headers.  For example, I have it set to "Neil Woods" so that when I
> look at mail I have sent, my name gets replaced by the name of the
> person I sent the mail to.  In a similar fashion, in newsgroup summary
> buffers, the name of the newsgroup is inserted.
>
> -- 
> Neil

thanks all of you. after study your posts, i finnally decide using following
code:

(setq gnus-extra-headers
      '(To Newsgroups))
(setq nnmail-extra-headers gnus-extra-headers)
(setq gnus-summary-line-format
      "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n")
(setq gnus-ignored-from-addresses
      "Steven Woody")

it seems Steinar's solution of replacing '%f' with '%n' is also a good idea.

-
narke


      reply	other threads:[~2005-07-04 19:09 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-07-01 15:18 Steven Woody
2005-07-02 19:08 ` Steinar Børmer
2005-07-02 20:59   ` Neil Woods
2005-07-04 19:09     ` Steven Woody [this message]

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=87ll4mfkx7.fsf@narke.yellow.line \
    --to=anti-spam.narkewoody@gmail.com.dont-post-to \
    /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).