On Sat, Apr 24, 1999 at 07:00:51PM +0200, Jan Peter Hecking wrote:
> Hi,
>
> I'm trying to get mutt to automatically save old mail (that is mail that's
> older than one month) to another folder. What I've come up with so far is
> the following folder-hook:
>
> folder-hook \! 'push "T~d>1m\ns=old\n"'
>
> It does pretty much what I want it to do execpt for one problem. Whenever
> there's no old mail in my incoming mailfolder when I open it, mutt saves
> the last mail to the =old mailfolder. I realize that's because there are no
> messages to tag and therefore s operates on the current message which
> happens to be the last one.
>
> Is there a way to tell mutt to only do the save operation when there are
> messages tagged? Or is there maybe a completly different way to achieve
> what I want to do?
I could be wrong, but I believe ";s" instead of just "s" will save the
tagged messages. Try it and let me know! :)
Robert