* expiry-target @ 2002-08-15 13:02 Mike Woolley 0 siblings, 0 replies; 2+ messages in thread From: Mike Woolley @ 2002-08-15 13:02 UTC (permalink / raw) Hi, I've been using `nnmail-expiry-target' to expire old mails to archive groups and it works a treat, except that the archived articles do not have their marks preserved. This is rather annoying, as I end up with lots of unread groups of messages I've already read :-) I'm using Gnus 5.9 and I had a look at the code and all `nnmail-expiry-target-group' does is ... (unless (eq target 'delete) (gnus-request-accept-article target nil nil t))) Which seems to explain what I've observed. Does anyone know of a way to have the expiry process preserve the original marks? Thanks, Mike ^ permalink raw reply [flat|nested] 2+ messages in thread
[parent not found: <u8ypzvuof.fsf@cisco.com>]
[parent not found: <ilu65l2rdgz.fsf@latte.josefsson.org>]
* Re: expiry-target [not found] ` <ilu65l2rdgz.fsf@latte.josefsson.org> @ 2003-08-13 6:34 ` Pranav K. Tiwari 0 siblings, 0 replies; 2+ messages in thread From: Pranav K. Tiwari @ 2003-08-13 6:34 UTC (permalink / raw) > >> Found a diff in my CVS tree which I think could be useful to others too. >> >> There are two places where nnmail-expiry-target is used. On gnus-group.el, >> it's run through format-time-string, but in gnus-sum.el, it's not. The >> following diffs fix the discrepancy. >> >> -p >> >> >> Index: gnus-sum.el >> =================================================================== >> RCS file: /usr/local/cvsroot/gnus/lisp/gnus-sum.el,v >> retrieving revision 6.356 >> diff -r6.356 gnus-sum.el >> 9192a9193,9196 >>> (nnmail-expiry-target >>> (if (stringp nnmail-expiry-target) >>> (format-time-string nnmail-expiry-target) >>> nnmail-expiry-target)) > > In my gnus, format-time-string is not invoked on *-expiry-target in > neither file? Sorry - my bad .. Looked more carefully, and realized that format-time-string was added into both files by me in my local CVS tree. I remember I was looking for the ability to archive expired mails from different months into different folders, and using a function as expiry-target didn't work very well on nnimap groups. So, I had hacked this code to run format-time-string to achieve that purpose. -p ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-08-13 6:34 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2002-08-15 13:02 expiry-target Mike Woolley [not found] <u8ypzvuof.fsf@cisco.com> [not found] ` <ilu65l2rdgz.fsf@latte.josefsson.org> 2003-08-13 6:34 ` expiry-target Pranav K. Tiwari
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).