unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Ted Zlatanov <tzz@lifelogs.com>
To: emacs-devel@gnu.org
Subject: Re: VC commit missing ChangeLog message
Date: Tue, 11 Nov 2008 10:43:38 -0600	[thread overview]
Message-ID: <8663mukybp.fsf@lifelogs.com> (raw)
In-Reply-To: jwvtzaexmd2.fsf-monnier+emacs@gnu.org

On Tue, 11 Nov 2008 11:25:13 -0500 Stefan Monnier <monnier@iro.umontreal.ca> wrote: 

>> My normal work flow is:
>> 1) make changes
>> 2) `C-x 4 a' to make a ChangeLog entry
>> 3) `C-x v d' to do a commit with vc

>> The problem is that the commit message doesn't get the ChangeLog entry I
>> just made.  This used to happen with the PCL-CVS package and I miss the
>> functionality very much.

SM> C-c C-a from within the *VC-log* buffer will fetch the ChangeLog entry
SM> you just wrote.

I wonder if it could:

1) always be called on opening the *VC-log* buffer, since it's harmless

2) give an informative message about why it didn't find a ChangeLog
entry, if it's invoked manually and it couldn't find an entry

3) be mentioned in the *VC-log* buffer in a comment line, together with
other helpful information, e.g.

;;; Lines prefixed with ;;; will not be in the commit message
;;; Use C-c C-a to insert the best-guess ChangeLog entry
;;; Use C-u C-c C-a to forcibly insert the last ChangeLog entry
;;; Enter your commit message below

I know (3) is pretty verbose but it's nice for new users...

Thanks
Ted





  reply	other threads:[~2008-11-11 16:43 UTC|newest]

Thread overview: 23+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11 14:41 VC commit missing ChangeLog message Ted Zlatanov
2008-11-11 14:49 ` Alfred M. Szmidt
2008-11-11 16:25   ` Stefan Monnier
2008-11-11 16:43     ` Ted Zlatanov [this message]
2008-11-11 16:58       ` Dan Nicolaescu
2008-11-11 19:11         ` Ted Zlatanov
2008-11-11 19:45           ` Dan Nicolaescu
2008-11-11 21:38             ` Ted Zlatanov
2008-11-12  1:11               ` Dan Nicolaescu
2008-11-12 17:17                 ` Ted Zlatanov
2008-11-12 19:42                   ` Stefan Monnier
2008-11-12 19:59                     ` Dan Nicolaescu
2008-11-12 20:57                       ` Stefan Monnier
2008-11-12 21:47                     ` Ted Zlatanov
2008-11-13  1:56                       ` Stefan Monnier
2008-11-12 19:56                   ` Dan Nicolaescu
2008-11-12 21:42                     ` Ted Zlatanov
2008-11-13  7:09                       ` Dan Nicolaescu
2008-11-13 14:47                         ` Ted Zlatanov
2008-11-13 15:12                           ` Dan Nicolaescu
2008-11-12  2:38         ` Stefan Monnier
2008-11-11 17:41       ` Stefan Monnier
2008-11-11 19:09         ` Ted Zlatanov

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=8663mukybp.fsf@lifelogs.com \
    --to=tzz@lifelogs.com \
    --cc=emacs-devel@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs.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).