Exiting mutt from the file browser
- To: "Mutt users ml" <mutt-users@xxxxxxxx>
- Subject: Exiting mutt from the file browser
- From: "Andrew Haninger" <ahaning@xxxxxxxxx>
- Date: Sun, 16 Jul 2006 21:35:35 -0400
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=Q9gKqBE8i2U5/w2HNCEV9U7f/m151lh3uduDGxJZfSELUmOYqN86NVyarL5sKz0v71eddHzajq9VNLvx3753QuG35SuL+yZqMg/tYcNIlTWfLyqxZSkR6G584RsvFrtSLAJzH8nCdU+D9N/88pFEzccJCZrM0cuOEskKDlQvPME=
- List-unsubscribe: <mailto:mutt-users-request@mutt.org?body=unsubscribe>
- Sender: owner-mutt-users@xxxxxxxx
Hello.
I'm trying to get mutt to work in somewhat of a hierarchical manner.
By this I mean that to read a message I open mutt and go through:
Browser (pick a mailbox) > Index (pick a message) > Pager (read the message)
and when I want to back out of that, I would do:
Exit Pager > Exit Index > Exit Browser (e.g. exit mutt)
I'd like to be able to press 'q' at any point in order to back out of
that "level". However, when I press 'q' from the browser, I'm returned
to the last-opened mailbox index, rather than being asked if I really
wanted to quit.
I've tried setting up different macros and bindings such as:
macro index q "c?<toggle-mailboxes>"
bind browser q exit
But that just means that pressing 'q' from the browser returns me to
the index and pressing 'q' from the index returns me to the browser. I
get stuck in a loop and have to exit ungracefully (Ctrl-C).
Is there a way to make 'q' from the browser actually exit mutt?
Thanks.
--
Andy