Re: Moving mail
* meino.cramer@xxxxxx on Sunday, March 04, 2007 at 05:51:02 +0100:
> I didn't found a way to move a mail from one folder to another
> with a generic mutt command.
>
> The only thing I found is the copy and the delete command.
>
> Is there any way to move a mail?
<save-message>, bound to "s" by default.
Admittedly the name of "save-message" is a bit misleading.
> Another question in this context is:
> How can I implement a macro, which first executes a shell command
> (with "!") and then executes a mutt command?
eg, an "improved" version of a shipped macro (see Muttrc.dist)
that makes it independent of the $wait_key setting -- what you're
looking for is <shell-escape>:
macro generic,pager <F1> "\
<enter-command> set my_wait_key=\$wait_key wait_key=no<enter>\
<shell-escape>$PAGER /usr/local/share/doc/mutt/manual.txt<enter>\
<enter-command> set wait_key=\$my_wait_key &my_wait_key<enter>\
" "show documentation"
c
--
_B A U S T E L L E N_ lesen! --->> <http://www.blacktrash.org/baustellen.html>