emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: VC commit missing ChangeLog message


From: Dan Nicolaescu
Subject: Re: VC commit missing ChangeLog message
Date: Tue, 11 Nov 2008 11:45:32 -0800 (PST)

Ted Zlatanov <address@hidden> writes:

  > On Tue, 11 Nov 2008 08:58:34 -0800 (PST) Dan Nicolaescu <address@hidden> 
wrote: 
  > 
  > DN> Ted Zlatanov <address@hidden> writes:
  > >> On Tue, 11 Nov 2008 11:25:13 -0500 Stefan Monnier <address@hidden> 
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
  > 
  > DN> It could and it should, just nobody has done the work yet to do it...
  > DN> If you are interested, it can be done `vc-checkin' by initializing the
  > DN> `initial-contents' parameter before the call to `vc-start-log-entry'.
  > 
  > Wouldn't it be easier to do it by calling the function directly?  

Not sure what your question is... What I described is one way to
initialize the contents of the *VC-log* buffer.

  > Or do you mean I can insert the commented lines I suggested as well
  > that way?

If you add those comments, you'd need to add some post-processing to
make sure they get removed before checking in, so it might not be the
best idea.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]