From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.user/4550 Path: news.gmane.org!not-for-mail From: DaveS Newsgroups: gmane.emacs.gnus.user Subject: nnmail-expiry destroys first archived mail Date: Sun, 20 Feb 2005 19:18:49 GMT Message-ID: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1138670439 23737 80.91.229.2 (31 Jan 2006 01:20:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 31 Jan 2006 01:20:39 +0000 (UTC) Original-X-From: nobody Tue Jan 17 17:33:56 2006 Original-Path: quimby.gnus.org!newsfeed1.e.nsc.no!uio.no!216.196.110.149.MISMATCH!border2.nntp.ams.giganews.com!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeeder.wxs.nl!news.glorb.com!newsfeed2.telusplanet.net!newsfeed.telus.net!edtnps89.POSTED!53ab2750!not-for-mail Original-Newsgroups: gnu.emacs.gnus User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3 (windows-nt) Cancel-Lock: sha1:SQyU1A/i5iS1oJpdHbR2v9hDyt0= Original-NNTP-Posting-Host: 66.183.113.135 Original-X-Trace: edtnps89 1108927129 66.183.113.135 (Sun, 20 Feb 2005 12:18:49 MST) Original-NNTP-Posting-Date: Sun, 20 Feb 2005 12:18:49 MST Original-Xref: bridgekeeper.physik.uni-ulm.de gnus-emacs-gnus:4691 Original-Lines: 37 X-Gnus-Article-Number: 4691 Tue Jan 17 17:33:56 2006 Xref: news.gmane.org gmane.emacs.gnus.user:4550 Archived-At: emacs 21.3.1 on WinXP No Gnus v0.2 I've setup a mailing list group to expire article to an archive group: (defun my-summary-mode-hook-fancy-expiry () (cond ;; mythtvusers mailing list ((string-match "list\\.mythtvusers$" gnus-newsgroup-name) (setq nnmail-expiry-wait 30 nnmail-expiry-target 'nnmail-fancy-expiry-target nnmail-fancy-expiry-targets '(("from" ".*" "nnfolder+archive:list.mythtvusers-%Y-%m")))) ;; everything else, use the gnus defaults (t (setq nnmail-expiry-wait 7 nnmail-expiry-target 'delete nnmail-fancy-expiry-targets nil)))) (add-hook 'gnus-summary-mode-hook 'my-summary-mode-hook-fancy-expiry) This correctly creates a new archive group for each month of mail as it expires. But the first message in each month is always corrupted. Instead of the message I get: > From nobody Sun Feb 20 09:26:42 2005 Message-ID: Lines: 0 Xref: DARTH list.mythtvusers-2004-05:1 X-Gnus-Article-Number: 1 Sun Feb 20 09:26:42 2005 The rest of the messages for that month get archived correctly. Anyone know why this is happening? -- "I've seen it. It's rubbish." -- Marvin the Paranoid Android