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

Re: command mode?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sunday, September 28 at 12:38 PM, quoth Gary Johnson:
>In addition to using
>
>   :push <query>
>
>you can also use
>
>   :exec query
>
>I don't remember the difference, if any other than the syntax, 
>off-hand.

The difference is *when* the command gets executed. With "exec", the 
function is executed immediately. With "push", it is executed the next 
time mutt goes into its idle loop (for lack of a better term).

For example, if you're calling those functions from a send-hook, using 
exec triggers whatever it is to be performed immediately, while push 
triggers whatever it is to be performed after all the hooks have 
finished.

~Kyle
- -- 
Selfishness is not living as one wishes to live, it is asking others 
to live as one wishes to live.
                                                         -- Oscar Wilde
-----BEGIN PGP SIGNATURE-----
Comment: Thank you for using encryption!

iEYEARECAAYFAkjf33IACgkQBkIOoMqOI16qPACfV2MQEGHvksxaUO6ST4RO2vSL
Xv4AoLpwm6Xk3f4xVhZcGg3kEFMWZhcu
=o8Sf
-----END PGP SIGNATURE-----