On 10Jan2016 03:21, Francesco Ariis <fa...@ariis.it> wrote:
On Sat, Jan 09, 2016 at 11:30:01AM -0800, Ian Zimmerman wrote:
I'm trying to write a macro which, as a first step in a more complex
sequence, would delete all marked messages. The first problem is
traditional: the macro needs to work even if there are no marked
messages. Seemingly <tag-prefix-cond> exists to handle this, but there
is a second problem: when there are no tagged messages, the
<tag-prefix-cond><delete-message> step echoes "Nothing to do" and
... aborts the macro.
What, if any, is the way to attack this?
Hello Ian,
would <delete-pattern> do? It doesn't seem to choke when there is
nothing that matches.
And ~T matches tagged messages. Sounds like a way forward.
Cheers,
Cameron Simpson <c...@zip.com.au>