On Sat, Nov 17, 2001 at 01:06:14PM +0100, Nicolas Rachinsky wrote: > On Fri, Nov 16, 2001 at 05:07:59PM +0100, Nicolas Rachinsky <[EMAIL PROTECTED]> >wrote: > > The second one adds a new command "tag-prefix-cond". It should behave > > exactly the same as tag-prefix, with one difference. If there are no > > tagged messages, it will empty the "ungetch-buffer", this seems to > > reliably stop/abort every macro. It's a hack, but it seems to work. > > I should add, this works also for push commands (and it seems to work > for exec). I use the following in my .muttrc: > folder-hook "regex for all mailing list folders" "push >\"<tag-pattern>~d>2w\n<untag-pattern>~F|~D\n<tag-prefix-cond><save-message>\n\n\"" > > It moves all messages older than 2 weeks except flagged ones to an > archive folder (I have other folder-hooks to set appropriate > save-hooks).
This is nearly what I would like to do except that I would like to keep thread together. ie I would like to move thread with all mails older than X days, read and not flagged. Do you see a way to do that ? Christophe > > Nicolas -- Christophe Barb� <[EMAIL PROTECTED]> GnuPG FingerPrint: E0F6 FADF 2A5C F072 6AF8 F67A 8F45 2F1E D72C B41E
msg20538/pgp00000.pgp
Description: PGP signature
