<<< Date Index >>>     <<< Thread Index >>>

Another more macro question (non-matching tag)



Hello Mutt Users,

I have written the following macro:

macro index \ch 
"<tag-pattern>~s\\\\*\\\\*\\\\*SPAM\\\\*\\\\*\\\\*\n<tag-prefix>s=Junk\n$\n" 
"move junk"

It moves all subject-marked junkmails in my Junk-Folder.  It works
like a charm, but it also moves the selected message when there are no
junkmails in my inbox.

Is it possible to abort the macro, when the is no match?  Any
(non-procmail) ideas?


Regards,
Heiko