From: Steinar Bang <sb@dod.no>
To: help-gnu-emacs@gnu.org
Subject: How to get rid of the "Summary: " inserted by vc log-edit.el?
Date: Sun, 27 Oct 2019 09:57:52 +0100 [thread overview]
Message-ID: <867e4qva3z.fsf@dod.no> (raw)
Platform: emacs 26
Is there a simple way to get rid of the "Summary: " tag inserted into
the comment buffer when making a commit with 'C-x v v'?
The first, and only, thing I do with the Summary: tag is to delete
it. And it would be nice not to have to.
But it doesn't look like this tag is configurable...? And it wasn't all
that easy to find where it is set either.
The place I've found is set, are:
When the author field is set
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/vc/log-edit.el#n834
When the Amend header is toggled
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/vc/log-edit.el#n1179
Possibly as a side effect of extracting headers from the commit message...?
http://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/vc/log-edit.el#n1124
Or is it perhaps set in a completely different place?
Thanks!
- Steinar
next reply other threads:[~2019-10-27 8:57 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-27 8:57 Steinar Bang [this message]
2019-10-28 8:17 ` How to get rid of the "Summary: " inserted by vc log-edit.el? Richard Copley
2019-10-29 17:48 ` Steinar Bang
2019-10-29 15:14 ` Dmitry Gutov
2019-10-29 17:48 ` Steinar Bang
2019-10-29 18:50 ` Dmitry Gutov
2019-10-29 20:24 ` Steinar Bang
2019-10-29 20:34 ` Dmitry Gutov
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=867e4qva3z.fsf@dod.no \
--to=sb@dod.no \
--cc=help-gnu-emacs@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.
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).