From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5277 Path: news.gmane.org!not-for-mail From: Steven Woody Newsgroups: gmane.emacs.gnus.user Subject: Re: I Want Same Summary Line Format For Nntp And Nnml Group Date: Tue, 05 Jul 2005 03:09:08 +0800 Message-ID: <87ll4mfkx7.fsf@narke.yellow.line> References: <8764vuh7w0.fsf@narke.yellow.line> <861x6hnhz8.fsf@pallotta.studby.uio.no> <87mzp42ab8.fsf@phun.phasmic.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1138671029 26809 80.91.229.2 (31 Jan 2006 01:30:29 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:30:29 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:03 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 219.131.240.29 Original-X-Trace: quimby.gnus.org 1120504149 19546 219.131.240.29 (4 Jul 2005 19:09:09 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Mon, 4 Jul 2005 19:09:09 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) Cancel-Lock: sha1:8+oPg7XGht/Cg/g4mNOu8ciog8Q= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5419 Original-Lines: 34 X-Gnus-Article-Number: 5419 Tue Jan 17 17:35:03 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5277 Archived-At: Neil Woods writes: >>>>>> "SB" == Steinar Børmer 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