Re: command mode?
- To: mutt-users@xxxxxxxx
- Subject: Re: command mode?
- From: Kyle Wheeler <kyle-mutt@xxxxxxxxxxxxxx>
- Date: Sun, 28 Sep 2008 14:48:02 -0500
- Comment: DomainKeys? See http://domainkeys.sourceforge.net/
- Dkim-signature: v=1; a=rsa-sha1; c=relaxed; d=memoryhole.net; h=date :from:to:subject:message-id:references:mime-version:content-type :in-reply-to; s=default; bh=JybSUCyVBqnAbMd8ECPKWxCagXs=; b=fTdr A20HzeoWldaXoQlo/CxTaBWHqU2tIp+bWWnYpiISGwunzK92V4D2OATgIIbIDCit qXI3Da7XilrEDDsxp8JSekZH3PYzE7jFCRVfpaoqAdUul7ZmcphfrNN1EdfKLgi4 t7GN+WMlW/FSxtsqmy322pij+dibXTjFVDLjPGk=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=default; d=memoryhole.net; b=CnsNF9xgG23ABBA3emxeCSaOXQo/DlX7UAeZNtlwYD0LsLg76OVbt348rr+389UrdFpC4jnuynVwVWOdRWjsthqYnpYIAgpx7oEjd7Iw4hovRoQvM6DaRuJIzPRc3KfJr5OOYTixYg1yvVRcZ2hltUESj/A88cGoX3MOs7OA3pE=; h=Received:Received:Date:From:To:Subject:Message-ID:Mail-Followup-To:References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To:OpenPGP:User-Agent;
- In-reply-to: <20080928193820.GA4046@xxxxxxxxxxxxxxxxxxxxxxxx>
- List-post: <mailto:mutt-users@mutt.org>
- List-unsubscribe: send mail to majordomo@mutt.org, body only "unsubscribe mutt-users"
- Mail-followup-to: mutt-users@xxxxxxxx
- Openpgp: id=CA8E235E; url=http://www.memoryhole.net/~kyle/kyle-pgp.asc; preference=signencrypt
- References: <20080928144303.GD7776@b2j> <20080928193820.GA4046@xxxxxxxxxxxxxxxxxxxxxxxx>
- Sender: owner-mutt-users@xxxxxxxx
- User-agent: Mutt/1.5.18 (2008-08-31)
-----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-----