Re: mutt/2149: exit command doesn't, if there's new mail
Michael Tatge wrote:
>I guess a workaround would be to <sync-mailbox> first then quit.
Actually, since the failed quit does a sync, the trivial workaround is
to press "q" again (repeatedly if necessary). But the bug occurs with
any form of exit from the mailbox, if the mailbox needs to be modified.
I reported it with "q" just as a concrete case. The bug is rather
more annoying when changing mailbox: the mailbox name the user typed
is discarded.
If I could rebind "q" and "c" (are there any other mailbox-leaving
commands apart from "x"?) so that they do a sync before the main job,
that would usually avoid the problem. There's still a race condition
there, though.
-zefram