Call fsync in a couple of critical places (adding alias, saving attachments).
mutt_move_message is optimization for Maildir I have used personally for > 10 years.
Should not™ interfere with notmuch since _mutt_append_message checks src->magic == M_NOTMUCH but link() in mutt_move_message is done iff both src->magic and dest->magic are M_MAILDIR.
Call
fsync
in a couple of critical places (adding alias, saving attachments).mutt_move_message
is optimization for Maildir I have used personally for > 10 years.Should not™ interfere with notmuch since
_mutt_append_message
checkssrc->magic == M_NOTMUCH
but link() inmutt_move_message
is done iff bothsrc->magic
anddest->magic
areM_MAILDIR
.