Jonathan Pennington <[EMAIL PROTECTED]> wrote on Wed, 17 May 2000:
> Anyone know the sequence I'd use to build a macro to quit Mutt? I want
> to use "q" to exit messages and return to the pager, but I don't want
> to accidentally exit Mutt like I keep doing. I'd like to have a
> capital "Q" quit Mutt and purge all the deleted files without
> prompting. Thanks.

I have a pretty similar setup.  What I have is the the "quit" function
bound to Q.  The amount of prompts you get depends on various settings,
eg. $move -- if you set that to "ask-yes" or "ask-no" you'll be
prompted, if it's just "yes" or "no" then it'll go ahead and do those
actions.  So setting that variable should get rid of that prompt,
there's other variables that control the appearance of other prompts.
If you want, you may make a macro out of Q that first sets all those
variables as you want them, and then invokes the quit functions.

The regular q, which I use mostly, I have bound to
"<change-folder>?<tab>", which puts me in the incoming mail folder
browser.  In the pager, q is bound to "exit", which takes me back to
the index.


I hope this helps, or at least gives you some idea where to start.

Regards,
Mikko
PS. Please use [EMAIL PROTECTED] when posting to the list, not the
gbnet.net address. Thanks.
-- 
// Mikko Hänninen, aka. Wizzu  //  [EMAIL PROTECTED]  //  http://www.iki.fi/wiz/
// The Corrs list maintainer  //   net.freak  //   DALnet IRC operator /
// Interests: roleplaying, Linux, the Net, fantasy & scifi, the Corrs /
"Are you suggesting that coconuts are _migratory_?" - Quest For The Holy Grail

Reply via email to