On Tue, Apr 11, 2017 at 09:52:42PM -0600, Charles Cazabon wrote:
> I'm wondering if there's a setting or combination of settings I'm missing to
> prevent an annoyance.  In short: an accidentally-doubled "q" keypress in the
> message view will quit mutt (I have exit set to the default of "yes"), even if
> I have a bunch of messages tagged in the folder view.

No there is no such setting.  I can only think of two workarounds, but
you may not like either.

First, you could try training yourself to use 'i' to exit the pager menu
instead.  Some distros include a version of the nntp patch which steals
this keybinding, but by default it is bound to <exit> in the pager menu
but not the index menu.

Another possibility is to wrap the tagging and tag-copy/save operations
in macros, which set quit=ask-yes/no on tag and unset quit on copy/save.
It's impossible to make this perfect though.  A macro wouldn't be able
to figure out if you are toggling a tag back off.  There are also
probably some issues with wrapping a tag-copy/save operation
effectively.  It might be worth playing with though.

-- 
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to