[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: vc-start-entry and add-log-current-defun, vc-comment-to-change-log
From: |
Stefan Monnier |
Subject: |
Re: vc-start-entry and add-log-current-defun, vc-comment-to-change-log |
Date: |
Sat, 26 Mar 2011 08:22:07 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) |
>>> vc-comment-to-change-log allows you to insert vc entries to the
>>> Changelog, but changelog has at least for me the nicer format.
>> That's why log-edit-mode provides C-c C-a to bring the ChangeLog entry
>> into the VC-Log buffer before committing.
> I have not seen this feature in my vc version! No wait I am
> confused you say I can use C-c C-a in ChangeLog, well not
> in GNU emacs 22 I am using. Can you please clarify?
The C-c C-a is in the VC-Log buffer, not in the ChangeLog buffer.
I.e. you first write your ChangeLog with C-x 4 a as usual and once
you're done, you do the C-x v v command to commit, which brings up
a VC-Log buffer into which you can hit C-c C-a to bring in a copy of the
ChangeLog entry you just typed.
You can also add log-edit-insert-changelog to log-edit-hook so it's done
for you automatically.
Stefan