From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4460 Path: news.gmane.org!not-for-mail From: francois.lagarde.nospam@spam.fr (=?iso-8859-15?q?Fran=E7ois_LAGARDE?=) Newsgroups: gmane.emacs.gnus.user Subject: Re: Differents summary-line-format a solution Date: Thu, 10 Feb 2005 11:41:53 +0100 Organization: 9Telecom Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670370 23320 80.91.229.2 (31 Jan 2006 01:19:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:19:30 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:48 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!news.tele.dk!news.tele.dk!small.news.tele.dk!proxad.net!usenet-fr.net!gaoland.net!grec.isp.9tel.net!not-for-mail Original-Newsgroups: gnu.emacs.gnus Original-NNTP-Posting-Host: 161.255.97-84.rev.gaoland.net Original-X-Trace: aphrodite.grec.isp.9tel.net 1108032176 25443 84.97.255.161 (10 Feb 2005 10:42:56 GMT) Original-X-Complaints-To: abuse@9online.fr Original-NNTP-Posting-Date: Thu, 10 Feb 2005 10:42:56 +0000 (UTC) User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:yXIsbu13v9BLt9kA/95GCcnDSmE= Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4601 Original-Lines: 35 X-Gnus-Article-Number: 4601 Tue Jan 17 17:33:48 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4460 Archived-At: francois@lagarde.spam wrote: > I have got an archive folder to keep a copy of sent mails. I would use > an appropriate summary-line-format including the "to" field. > For other folders, i want to use the "from" field. I found a solution, i don't know if it the best : (setq gnus-parameters '((".*" (gnus-summary-line-format "%-1R %-1U %[%-15,15uB%] %B%(%1{%-50,50s%}%) %&user-date;\n") (display . all); to set visible read mails ) ("^nnfolder.*" ;folder keeping sent mails (gnus-summary-line-format ;display the to field "%-1R %-1U %[%-23,23~(form (gnus-extra-header 'To))@] %B%(%1{%-50,50s%}%) %&user-date;\n") ) )) I would also set posting-styles, but the first rule always matches (".*"). But if i use gnus-posting-styles it is ok. (setq gnus-posting-styles '( (".*" (address "an adresse")) ("^fr\\.\\|^gnu\\." (address "an adresse")) (".*neuf.*" (address "an adresse")) ) ) any idea..