> This behaviour can cause loss of data, e.g. when the laptop dies or > turns itself off due to low power; the user might not have a chance > to commit the temporary mail draft s/he was working on to > non-volatile storage.
This is basically a system failure; data integrity can not be guaranteed regardless. If you don't want mutt to use /tmp by default, set $TMPDIR before starting Mutt, or set Mutt's tmpdir in your muttrc. There's no need for this patch. Please close this bug.