From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/9061 Path: news.gmane.org!not-for-mail From: poppyer Newsgroups: gmane.emacs.gnus.user Subject: Re: gnus-summary-line-format setting for "Sent Folder" Date: 01 Jun 2007 01:04:02 +0100 Organization: University Of Oxford, England Message-ID: References: <87bqg1c4o5.fsf@ixod.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1180658453 10624 80.91.229.12 (1 Jun 2007 00:40:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 1 Jun 2007 00:40:53 +0000 (UTC) To: info-gnus-english@gnu.org Original-X-From: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Fri Jun 01 02:40:51 2007 Return-path: Envelope-to: gegu-info-gnus-english@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HtvCF-0001W0-Hx for gegu-info-gnus-english@m.gmane.org; Fri, 01 Jun 2007 02:40:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HtvCF-0007zE-4k for gegu-info-gnus-english@m.gmane.org; Thu, 31 May 2007 20:40:51 -0400 Original-Path: shelby.stanford.edu!headwall.stanford.edu!newsfeed.esat.net!news.clara.net!mephistopheles.news.clara.net!feed2.jnfs.ja.net!jnfs.ja.net!feeds.news.ox.ac.uk!news.ox.ac.uk!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-Lines: 50 Original-NNTP-Posting-Host: clpc78.comlab.ox.ac.uk Original-X-Trace: frank-exchange-of-views.oucs.ox.ac.uk 1180656242 16093 163.1.27.212 (1 Jun 2007 00:04:02 GMT) Original-X-Complaints-To: newsmaster@ox.ac.uk Original-NNTP-Posting-Date: Fri, 1 Jun 2007 00:04:02 +0000 (UTC) User-Agent: Emacs Gnus Original-Xref: shelby.stanford.edu gnu.emacs.gnus:79244 X-BeenThere: info-gnus-english@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Announcements and discussions for GNUS, the GNU Emacs Usenet newsreader \(in English\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Errors-To: info-gnus-english-bounces+gegu-info-gnus-english=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.gnus.user:9061 Archived-At: I think gnus-ignored-from-addresses is exactly what I need. But I just try it, and it doesn't work. I set it to be my email address and use %f field in the gnus-summary-line-format as well. Is there any other setting I need to note? Katsumi Yamaoka writes: > >>>>> In <87bqg1c4o5.fsf@ixod.org> Mark T.B. Carroll wrote: > > poppyer 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, --