Subject: bug#10842: Cancelling a new mail in message-mode ignores rmail-mail-new-frame

From: Glenn Morris <[email-masked]>
Date: Sat, 18 Feb 2012 17:02:37 -0500

Package: emacs
Version: 24.0.93
Severity: minor

emacs -Q \
  --eval "(setq rmail-mail-new-frame t mail-user-agent 'sendmail-user-agent)"
M-x rmail
m
  -> new frame appears for mail composition
Choose Mail menu, Cancel
  -> frame disappears

repeat with the default message-user-agent:

Choose Message menu, Kill Message
   -> frame does not disappear

If you fix this, you can restore (a suitably modified version of) this
commented-out text in rmail.texi:

@ignore
@c FIXME does not work with Message -> Kill Message
, or when you use the @samp{Cancel} item in the @samp{Mail} menu.
@end ignore