On Sun, Aug 29, 2021 at 09:33:01PM -0400, sunnycemet...@gmail.com wrote:
Hello. The command is detach-file (bound to D by default). I would like to prevent mutt from deleting the main message, as I will probably never find myself wanting to invalidate emails this way--but I *might* find myself accidentally pressing the wrong keyboard key and deleting with no recourse an entire, painstakingly composed message.
Ah, that sucks. I'm sorry that happened.Mutt prevents deleting the very last message part, but that doesn't help when the message has other attachments.
I'll add a prompt to confirm deleting the main message.In the mean time, perhaps consider 'bind compose D noop'. You could still manually ':exec detach-file' for the rare cases you need do that.
-- Kevin J. McCarthy GPG Fingerprint: 8975 A9B3 3AA3 7910 385C 5308 ADEF 7684 8031 6BDA
signature.asc
Description: PGP signature