> > Is there a way to call a macro on all tagged messages? If yes, how?
> <tag-prefix-cond>...[do stuff]
Ah, thank you. In case someone is interested, here's what I do:
macro index \eS "<tag-prefix-cond>|sa-learn --ham --no-sync --mbox\n" "Learns
mail as NOTSPAM"
macro pager \eS "<tag-prefix-cond>|sa-learn --ham --no-sync --mbox\n" "Learns
mail as NOTSPAM"
macro index \es "<tag-prefix-cond>|sa-learn --spam --no-sync --mbox\nd" "Learns
mail as SPAM"
macro pager \es "<tag-prefix-cond>|sa-learn --spam --no-sync --mbox\nd" "Learns
mail as SPAM"
Pressing <ESC>S automatically pipes all tagged messages to sa-learn and
marks them as NOTSPAM.
Pressing <ESC>s does the same, marks them as SPAM and marks them for deletion
in mutt.
Thank you,
Benjamin
--
_ _ _ _ _
| \| |___| |_| |_ __ _ __| |__
| .` / -_) _| ' \/ _` / _| / /
|_|\_\___|\__|_||_\__,_\__|_\_\
| | (_)_ _ _ ___ __
| |__| | ' \ || \ \ /
|____|_|_||_\_,_/_\_\
Play Nethack anywhere with an x86 computer:
http://www.crash-override.net/?nethacklinux
--
The Nethack IdleRPG! Idle to your favorite Nethack messages!
http://pallas.crash-override.net/nethackidle/
Attachment:
pgphS2N9Er19i.pgp
Description: PGP signature