[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 959d041677: Fix submit-emacs-patch
From: |
Lars Ingebrigtsen |
Subject: |
master 959d041677: Fix submit-emacs-patch |
Date: |
Sun, 22 May 2022 07:25:14 -0400 (EDT) |
branch: master
commit 959d041677205a370b21bc89503fa1d7e5a9bd6b
Author: Damien Cassou <damien@cassou.me>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix submit-emacs-patch
submit-emacs-patch creates a new message and immediately inserts new
lines without first moving the point to the message body. This
doesn't work with notmuch (and its notmuch-user-agent symbol) because
the point starts in the headers and nothing in Emacs specifies that
the mua should move point to the body automatically.
* lisp/mail/emacsbug.el (submit-emacs-patch): Make sure point is in
the body before inserting new lines (bug#55571).
---
lisp/mail/emacsbug.el | 1 +
1 file changed, 1 insertion(+)
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index 8cb4a00009..df2b7a7453 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -516,6 +516,7 @@ Message buffer where you can explain more about the patch."
(view-mode 1)
(button-mode 1))
(message-mail-other-window report-emacs-bug-address subject)
+ (message-goto-body)
(insert "\n\n\n")
(emacs-bug--system-description)
(mml-attach-file file "text/patch" nil "attachment")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 959d041677: Fix submit-emacs-patch,
Lars Ingebrigtsen <=