all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Philip Kaludercic <philipk@posteo.net>
Cc: 54931@debbugs.gnu.org
Subject: bug#54931: [PATCH] Have submit-emacs-patch prompt for patch file before subject
Date: Thu, 14 Apr 2022 15:52:43 +0200	[thread overview]
Message-ID: <875ynbn55g.fsf@gnus.org> (raw)
In-Reply-To: <8735ig55sk.fsf@posteo.net> (Philip Kaludercic's message of "Thu,  14 Apr 2022 10:16:11 +0000")

Philip Kaludercic <philipk@posteo.net> writes:

> When sending patches using submit-emacs-patch, I usually want to reuse
> the commit title for the message subject.  As a minor convenience, this
> can be guessed when the patch file is prompted before the subject,
> allowing for a default value to be provided by extracting the "Subject"
> header from the patch file.

Looks good to me, please go ahead and push.

> +     (list (read-string (format-prompt "This patch is about" guess )
> +                        nil nil guess)

But without that space between "guess" and ")".  

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





  reply	other threads:[~2022-04-14 13:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-04-14 10:16 bug#54931: [PATCH] Have submit-emacs-patch prompt for patch file before subject Philip Kaludercic
2022-04-14 13:52 ` Lars Ingebrigtsen [this message]
2022-04-14 16:41   ` Philip Kaludercic

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=875ynbn55g.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=54931@debbugs.gnu.org \
    --cc=philipk@posteo.net \
    /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.