Hi all...
Not long ago (exactly Tue, 19 Oct 1999) Byrial Jensen wrote:
> Replace "<delete>" with "<delete-message>" to avoid the first
> error message.
Do you get error messages?
>
> But take care! If no mails match the pattern, then the tag-prefix
> (\;) will have no effect, and what happens to be the current
> message will be marked for deletion. In this case it will not get
> deleted because of the finishing exit command (\x) which lets mutt
> exit without modifying the mailbox. But if it is removed, you risk
> to delete the wrong mail!
>
> It is much safer to use the delete-pattern command:
>
> folder-hook =trash 'push D~r>2w!~F\n'
Oh, this is much better. Implemented it one minute before :-)
> Again if no mails match the pattern (older than 2 weeks and not
> flagged), a wrong mail is copied to mutt_backup (but again not
> deleted because of the exit command).
>
> I don't know any good fix for this.
Oh my god, you are right! Haven't seen that. But it seems as if always
the current message is saved then. Pressing "u" should work then. So the
followig should fix the problem:
folder-hook =lists/mutt 'push uT~r>2w!~F\n\;s=lists/mutt_backup\n\x'
Sorry!
Greetings
Dirk