* On Tue, Feb 26, 2002 at 11:54:50PM +0100,
* Michael Tatge <[EMAIL PROTECTED]> wrote:
> Knute muttered:
> > I have some mbox-hooks set up that move read mail into archive files.
> > What I wanted to do was to leave messages that I've read from the past
> > few days in the current mailbox, and have them moved after a certain
> > amount of time.  I tried setting it up, but they aren't working.
[...]
> So the answer is: You can't do that, well not with mbox-hooks at least.
> folder-hooks or a macro might work.
> 
> macro index <f2> <tag-pattern>~r>2d<enter><tag-prefix>\
>  <save-message>~/Mail/mutt.gz<enter><sync-mailbox>
> 
> This is untested but should work.

If there are no messages matching your pattern, then another mail (the
one with the cursor on it) will be saved to your archive folder.

Nicolas

PS: I solved the problem for me with my tag-prefix-cond patch. You
find it on my homepage.

Reply via email to