all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Glenn Morris <rgm@gnu.org>
Cc: 10842@debbugs.gnu.org
Subject: bug#10842: Cancelling a new mail in message-mode ignores rmail-mail-new-frame
Date: Sun, 29 Sep 2019 11:32:29 +0200	[thread overview]
Message-ID: <8736gfqwgi.fsf@gnus.org> (raw)
In-Reply-To: <lu7e5t8zvi.fsf@fencepost.gnu.org> (Glenn Morris's message of "Fri, 27 Sep 2019 12:31:29 -0400")

Glenn Morris <rgm@gnu.org> writes:

> I don't know how to explain it any better than in the OP.
> The intent of the Rmail code is that discarding a draft should delete
> the frame. It works with mail mode but not message mode.

Message has two ways of returning to the caller (while not sending
anything).  message-dont-send runs RETURN-ACTION (which is presumably
what Rmail uses to close the frame etc), while message-kill-buffer does
not run RETURN-ACTION.

I don't see how to reconcile that on the Message side.

Rmail could set message-kill-actions to whatever it wants, which is why
I think this is an Rmail bug.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





      reply	other threads:[~2019-09-29  9:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-02-18 22:02 bug#10842: Cancelling a new mail in message-mode ignores rmail-mail-new-frame Glenn Morris
2012-02-20  8:28 ` Lars Ingebrigtsen
2012-02-20 19:05   ` Glenn Morris
2012-03-09 23:34     ` Lars Magne Ingebrigtsen
2019-09-23 15:12 ` Lars Ingebrigtsen
2019-09-27 16:31   ` Glenn Morris
2019-09-29  9:32     ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8736gfqwgi.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=10842@debbugs.gnu.org \
    --cc=rgm@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.