From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/2150 Path: news.gmane.org!not-for-mail From: Vidar Gundersen Newsgroups: gmane.emacs.gnus.user Subject: Re: Header X-Draft-From Date: Fri, 28 Feb 2003 16:16:57 +0100 Organization: None Message-ID: References: <4yy940ye5l.fsf@skjellgran.ii.uib.no> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138668690 14119 80.91.229.2 (31 Jan 2006 00:51:30 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 00:51:30 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:30:15 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!nsc.no!nextra.com!news.tele.dk!news.tele.dk!small.news.tele.dk!news100.image.dk!news010.worldonline.dk.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.gnus Cancel-Lock: sha1:X4B3K7iysybkLe0elxAr7B/Yx64= Original-NNTP-Posting-Host: 213.234.73.59 Original-X-Complaints-To: news-abuse@wol.dk Original-X-Trace: news010.worldonline.dk 1046445428 213.234.73.59 (Fri, 28 Feb 2003 16:17:08 MET) Original-NNTP-Posting-Date: Fri, 28 Feb 2003 16:17:08 MET Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:2290 Original-Lines: 15 X-Gnus-Article-Number: 2290 Tue Jan 17 17:30:15 2006 Xref: news.gmane.org gmane.emacs.gnus.user:2150 Archived-At: ===== Opprinnelig melding fra Joakim Hove | Fri, 28 Feb 2003: > The X-Draft-From header contained the name of the mailgroup which had > devoured the mail I was currently replying to. I used it to determine > a suitable Gcc: header for archiving purposes - worked very neatly! this is a different solution to the same problem: (setq gnus-message-archive-group 'archive-func-currentgroup) (defun archive-func-currentgroup (group) (cond ((message-news-p) "nnml:newspostings") ((string-match "nn.*" group) group) ((string= "" group) "nnml:archive") ((string-match ".*" group) "nnml:archive")))