user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
* [PATCH v1] git-send-email-reply: Append subject
@ 2021-03-26 16:31 Stavros Ntentos
  2021-03-26 19:36 ` Eric Wong
  0 siblings, 1 reply; 9+ messages in thread
From: Stavros Ntentos @ 2021-03-26 16:31 UTC (permalink / raw)
  To: meta; +Cc: Eric Wong, stdedos+git, Stavros Ntentos

I keep copy-pasting the addresses provided,
I keep writing my plaintext reply in a file,
and I keep forgetting to add a subject
(because I am "just" writing a plaintext file)

Teach `git-send-email-reply` to append a `--subject` line.

Signed-off-by: Stavros Ntentos <133706+stdedos@users.noreply.github.com>
---
 lib/PublicInbox/Reply.pm | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/PublicInbox/Reply.pm b/lib/PublicInbox/Reply.pm
index 8226fdc3..0f312fbe 100644
--- a/lib/PublicInbox/Reply.pm
+++ b/lib/PublicInbox/Reply.pm
@@ -103,6 +103,8 @@ sub mailto_arg_link {
 		}
 	}
 
+	push @arg, "--subject=".squote_maybe($subj);
+
 	# I'm not sure if address obfuscation and mailto: links can
 	# be made compatible; and address obfuscation is misguided,
 	# anyways.
-- 
2.31.0


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2021-03-28 22:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-26 16:31 [PATCH v1] git-send-email-reply: Append subject Stavros Ntentos
2021-03-26 19:36 ` Eric Wong
     [not found]   ` <CAHMHMxVS4tVvUYvWUmk8L8oqPPxtYW-MF_57Vwuzug-asWQiQg@mail.gmail.com>
2021-03-26 21:35     ` Eric Wong
2021-03-27  8:39       ` Stavros Ntentos
2021-03-27  9:54         ` Eric Wong
2021-03-27 14:01           ` Σταύρος Ντέντος
2021-03-27 19:32             ` Eric Wong
2021-03-28 16:00               ` Σταύρος Ντέντος
2021-03-28 22:58                 ` Eric Wong

Code repositories for project(s) associated with this inbox:

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).