From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/5272 Path: news.gmane.org!not-for-mail From: steinab@ifi.uio.no (Steinar =?iso-8859-1?Q?B=F8rmer?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: I Want Same Summary Line Format For Nntp And Nnml Group Date: Sat, 02 Jul 2005 21:08:43 +0200 Organization: :noitazinagrO Message-ID: <861x6hnhz8.fsf@pallotta.studby.uio.no> References: <8764vuh7w0.fsf@narke.yellow.line> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138671026 26795 80.91.229.2 (31 Jan 2006 01:30:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:30:26 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:35:02 2006 Original-Path: quimby.gnus.org!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: ti400720a081-15808.bb.online.no Original-X-Trace: quimby.gnus.org 1120331315 22608 85.164.253.192 (2 Jul 2005 19:08:35 GMT) Original-X-Complaints-To: usenet@quimby.gnus.org Original-NNTP-Posting-Date: Sat, 2 Jul 2005 19:08:35 +0000 (UTC) User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (berkeley-unix) Cancel-Lock: sha1:xC0IjPV+AAr2plqitZqON9R44wg= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:5414 Original-Lines: 54 X-Gnus-Article-Number: 5414 Tue Jan 17 17:35:02 2006 Xref: news.gmane.org gmane.emacs.gnus.user:5272 Archived-At: Steven Woody wrote: | and, this is a sample summary line of my nnml:mail.misc group, | R [ 7: -> Steven Woody ] Out of Office AutoReply | | my name is Steven Woody, so i dont want to know in my mail folder. | and, as i treat mail folder and news folder almostly in a same way, so | i wan to make the line format of mail folder as same as news folder. You're not alone on this one. ;) | below is the currently gnus-summary-line-format value | | gnus-summary-line-format's value is | "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" | Local in buffer *Summary nnml:mail.misc*; global value is | "%U%R%z%I%(%[%4L: %-23,23f%]%) %s\n" | | it's amazing that the local value and global value are exactly same! | so i dont understand what make the differences. Don't worry about the fact that they are the same, it shouldn't be a problem. | so, what do i do? thanks. (setq gnus-summary-line-format "%U%R%z%I%(%[%4L: %-23n%]%) %s\n") I've changed the "f" to an "n", and you can see from the docs: `C-h v gnus-summary-line-format RET' gives (excerpts:) ,---- | %n Name of the poster (string) | %a Extracted name of the poster (string) | %A Extracted address of the poster (string) | %F Contents of the From: header (string) | %f Contents of the From: or To: headers (string) `---- For some reason, Gnus defaults to the To: header in nnml when "f" is active. I haven't looked into why, someone else can certainly answer that one. Also, you might want to experiment with some of the other alternatives above. You'll also notice that I've changed "-23,23" to "-23", and that's because really long names will be shown. That's my personal preference only. -- SB When in doubt, use brute force. -- Ken Thompson