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

Re: binding more than one action to a key?



* Fernan Aguero <fernan@xxxxxxxxxxxxxxxx> [2004-12-02 13:45 -0300]:
> ii) mark message as ham/spam ("| sa-learn --no-sync --ham/spam")
> iii) save message to =spam
> 
> I can write a small perl script to do this and assign a
> keybinding in mutt to pass the message to this program.
> However, perhaps there is a way to do this without using an
> external script?

How about concatenating all the things the macro should do?

macro pager f "|somwhere\n|somwwhereelse\ns=folder\n"

You should use <pipe-message> instead of '|' and <save-message>
instead of 's'.

Nicolas