Announcements and discussions for Gnus, the GNU Emacs Usenet newsreader
 help / color / mirror / Atom feed
From: Katsumi Yamaoka <yamaoka@jpl.org>
To: info-gnus-english@gnu.org
Subject: Re: gnus-summary-line-format setting for "Sent Folder"
Date: Fri, 01 Jun 2007 08:29:47 +0900	[thread overview]
Message-ID: <b4mira8inbo.fsf@jpl.org> (raw)
In-Reply-To: <87bqg1c4o5.fsf@ixod.org>

>>>>> In <87bqg1c4o5.fsf@ixod.org> Mark T.B. Carroll wrote:
> poppyer <poppyer@gmail.com> writes:

>> How can I set the gnus-summary-line-format such that in the "Sent
>> Folder", it shows "To field" rather than "From field". Obviously the
>> From field is myself.

> I don't know, but have you tried setting gnus-ignored-from-addresses?
> Will that work well enough for you?

Making the summary-line-format that indicates only the To field
is not so easy.  As Mark wrote, so I think it is sufficient to
use `gnus-ignored-from-addresses'.  See the Gnus manual:

(info "(gnus)To From Newsgroups") <- Type `C-x C-e' here.

If you use No Gnus v0.4 and greater, this will also be useful:

--8<---------------cut here---------------start------------->8---
;; Set the default values of `gnus-summary-to-prefix'
;; and `gnus-summary-newsgroup-prefix'.
(eval-after-load "gnus-sum"
  '(progn
     (add-to-list
      'gnus-newsgroup-variables
      `(gnus-summary-to-prefix . ,gnus-summary-to-prefix))
     (add-to-list
      'gnus-newsgroup-variables
      `(gnus-summary-newsgroup-prefix . ,gnus-summary-newsgroup-prefix))))

;; Use the null prefix in the archive groups.
(add-to-list 'gnus-parameters
	     '("\\`nnfolder\\+archive:"
	       (gnus-summary-to-prefix "")
	       (gnus-summary-newsgroup-prefix "")))
--8<---------------cut here---------------end--------------->8---

The "\\`nnfolder\\+archive:" should be replaced with the regexp
matching the group names that you use for archiving.

Regards,

  reply	other threads:[~2007-05-31 23:29 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-05-31 16:32 poppyer
2007-05-31 16:56 ` Mark T.B. Carroll
2007-05-31 23:29   ` Katsumi Yamaoka [this message]
2007-06-01  0:04     ` poppyer
2007-06-01  0:25       ` Katsumi Yamaoka
2007-06-01  0:39         ` poppyer

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=b4mira8inbo.fsf@jpl.org \
    --to=yamaoka@jpl.org \
    --cc=info-gnus-english@gnu.org \
    /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).