#2999: "Open mailbox" history should not have entries from "Attach file" history
If one creates a mail message with a file attachement (e.g., with attached file named "foo"), then when they try to connect to an IMAP mailbox the history at the `Open mailbox:` prompt will contain "foo". This is wrong because "foo" is not an IMAP mailbox, it is a file. This seems like a violation of the [http://en.wikipedia.org/wiki/Principle_of_least_astonishment Law of Least Astonishment]. It would be nice if the "Attach file" history and the "Open mailbox" history were separate. The long explanation for why this is a problem is that I run mutt from within GNU Screen (e.g., ten Screen windows, each containing an instance of mutt), and the below command can be used to reopen the previously open mailbox in every window if the IMAP server disconnects. The below command blindly goes back one entry in the "Open mailbox" history and presses "Enter": {{{ :at "#" stuff "c\020\015" }}} -- Ticket URL: <http://dev.mutt.org/trac/ticket/2999>