From: Visuwesh <visuweshm@gmail.com>
To: 56555@debbugs.gnu.org
Subject: bug#56555: [PATCH] Use compose-mail in submit-emacs-patch
Date: Thu, 14 Jul 2022 19:41:50 +0530 [thread overview]
Message-ID: <87ilnzrdg9.fsf@gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 669 bytes --]
Tags: patch
This makes the command respect the mail-user-agent. In my particular
case, it ensures that Gnus archives the message being sent.
[ This is the last patch in my train. ]
In GNU Emacs 29.0.50 (build 11, x86_64-pc-linux-gnu, X toolkit, Xaw scroll bars)
of 2022-07-14 built on astatine
Repository revision: d37ba6f259b972aa44c66ecb76210e03a3084183
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12101003
System Description: Debian GNU/Linux bookworm/sid
Configured using:
'configure --with-sound=alsa --with-x-toolkit=lucid --with-json
--without-xaw3d --without-gconf --without-libsystemd --without-cairo'
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-Use-compose-mail-in-submit-emacs-patch.patch --]
[-- Type: text/patch, Size: 937 bytes --]
From 45ee5e4e8648e81cd7246db77ec6d84fb227d541 Mon Sep 17 00:00:00 2001
From: Visuwesh <visuweshm@gmail.com>
Date: Thu, 14 Jul 2022 19:40:42 +0530
Subject: [PATCH] Use compose-mail in submit-emacs-patch
This ensures that Gnus can put the Gcc header for archiving.
* lisp/mail/emacsbug.el (submit-emacs-patch): Prefer
compose-mail-other-window over message-mail-other-window.
---
lisp/mail/emacsbug.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/mail/emacsbug.el b/lisp/mail/emacsbug.el
index d743802ead..6cc99c2134 100644
--- a/lisp/mail/emacsbug.el
+++ b/lisp/mail/emacsbug.el
@@ -518,7 +518,7 @@ submit-emacs-patch
(goto-char (point-min))
(view-mode 1)
(button-mode 1))
- (message-mail-other-window report-emacs-bug-address subject)
+ (compose-mail-other-window report-emacs-bug-address subject)
(message-goto-body)
(insert "\n\n\n")
(emacs-bug--system-description)
--
2.35.1
next reply other threads:[~2022-07-14 14:11 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-14 14:11 Visuwesh [this message]
2022-07-14 17:31 ` bug#56555: [PATCH] Use compose-mail in submit-emacs-patch Lars Ingebrigtsen
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=87ilnzrdg9.fsf@gmail.com \
--to=visuweshm@gmail.com \
--cc=56555@debbugs.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.