From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/46950 Path: main.gmane.org!not-for-mail From: Mike Woolley Newsgroups: gmane.emacs.gnus.general Subject: Re: Expiring and keeping marks Date: 03 Oct 2002 16:00:10 +0100 Sender: owner-ding@hpc.uh.edu Message-ID: References: NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1033657284 10127 127.0.0.1 (3 Oct 2002 15:01:24 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Thu, 3 Oct 2002 15:01:24 +0000 (UTC) Return-path: Original-Received: from malifon.math.uh.edu ([129.7.128.13]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17x7Te-0002d2-00 for ; Thu, 03 Oct 2002 17:01:22 +0200 Original-Received: from sina.hpc.uh.edu ([129.7.128.10] ident=lists) by malifon.math.uh.edu with esmtp (Exim 3.20 #1) id 17x7TE-0006eg-00; Thu, 03 Oct 2002 10:00:56 -0500 Original-Received: by sina.hpc.uh.edu (TLB v0.09a (1.20 tibbs 1996/10/09 22:03:07)); Thu, 03 Oct 2002 10:01:37 -0500 (CDT) Original-Received: from sclp3.sclp.com (qmailr@sclp3.sclp.com [209.196.61.66]) by sina.hpc.uh.edu (8.9.3/8.9.3) with SMTP id KAA02932 for ; Thu, 3 Oct 2002 10:01:27 -0500 (CDT) Original-Received: (qmail 20437 invoked by alias); 3 Oct 2002 15:00:41 -0000 Original-Received: (qmail 20432 invoked from network); 3 Oct 2002 15:00:41 -0000 Original-Received: from ip125.ariel.co.uk (HELO server30.ariel.co.uk) (195.112.22.125) by gnus.org with SMTP; 3 Oct 2002 15:00:41 -0000 Original-Received: from MIKE.ariel.co.uk (roxanne.ariel.co.uk [192.168.0.9]) by server30.ariel.co.uk with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id T8GF2SLT; Thu, 3 Oct 2002 16:01:26 +0100 Original-To: ding@gnus.org In-Reply-To: Original-Lines: 24 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Precedence: list X-Majordomo: 1.94.jlt7 Xref: main.gmane.org gmane.emacs.gnus.general:46950 X-Report-Spam: http://spam.gmane.org/gmane.emacs.gnus.general:46950 Jorge Godoy writes: > I use expire to move messages from one folder to another that will > have a backup on CD. The problem is that when a message is expired, it > looses all its marks (specially the read mark), making the folder > appear on the list with unread messages. OK, I can press "c" on that > folder and have all messages marked as read, but it would be much > better if I had to do nothing. > > Is there some way to do that? I posed the same question on the 27th Sept, but unfortunately didn't get any replies :-) I'm glad it's not just me who wants to do this... I had a look at the code (which is in the function `nnmail-expiry-target-group') and it just deletes the mails from the group and then adds them to the expiry-target group, which is why they appear as unread with none of the original marks. Unfortunately, it wasn't obvious to me how to change it to copy the marks over though... Cheers, Mike