Philip Mak wrote: > Wouldn't it make more sense for mutt to just apply the edit to the > message without having to re-create it, at least when the folder in > question is a Maildir? I think that for running the [e]dit command on > a message in a Maildir, mutt should just start vi with the message > file as the argument and it doesn't need to do anything else.
You have to remember that Mutt supports more than just the Maildir format. Most of the higher level functions are completely unaware of what type of mailbox they are operating on because of the mailbox abstraction layer. Adding special circumstances code here and there tends to make for more unmaintainable code, so we tend not to do things that depend on one particular mailbox type unless absolutely necessary.