all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Ivan Shmakov <ivan@siamics.net>
Cc: 18954@debbugs.gnu.org
Subject: bug#18954: 24.4; vc-log Summary: header is included in the log message
Date: Wed, 25 Nov 2015 04:25:11 +0200	[thread overview]
Message-ID: <86d1uyx1bs.fsf@yandex.ru> (raw)
In-Reply-To: <874mud7e8b.fsf@violet.siamics.net> (Ivan Shmakov's message of "Wed, 05 Nov 2014 17:24:04 +0000")

Ivan Shmakov <ivan@siamics.net> writes:

> 	A quick scan through vc/*.el suggest that the Summary: header is
> 	only recognized by vc-arch.el (which, however, doesn’t seem to
> 	take care of Author:), while only vc-git.el seems to recognize
> 	Author: (and doesn’t seem to care about Summary: in turn.)

Too quick a scan. log-edit-extract-headers recognizes the Summary header
by default, so the difference must be betwen backends that pipe their
commit message through that function, and those that don't.

> 	If so, this bug actually affects most of the VCS supported by
> 	the Emacs VC facility, and not just Subversion.

Quite a few of those, yes: RCS, SRC, SCCS and CVS must have this
problem, as well as the obsolete MCVS and Arch.

I'm puzzled, however, why hasn't anyone else reported this problem by
now? Maybe nobody uses most of those, but what about CVS? Do its users
just stay on older Emacs versions?

> 	• Amend the log-edit-insert-message-template function to only
> 	  generate the template if /either/ explicitly requested by the
> 	  user (as in: via a yes-maybe-no variable setting, or by
> 	  running it interactively) /or/ when the headers in question
> 	  are known to be recognized by the target VCS.

The easiest solution seems to be to teach all VC backends to recognize
it. It would be rather hard for me to test the results, though.





  reply	other threads:[~2015-11-25  2:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-05 14:45 bug#18954: 24.4; vc-log Summary: header is included in log message with svn Ed Avis
2014-11-05 17:24 ` bug#18954: 24.4; vc-log Summary: header is included in the log message Ivan Shmakov
2015-11-25  2:25   ` Dmitry Gutov [this message]
2015-11-25  2:15 ` bug#18954: 24.4; vc-log Summary: header is included in log message with svn 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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=86d1uyx1bs.fsf@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=18954@debbugs.gnu.org \
    --cc=ivan@siamics.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.