# HG changeset patch # User Nick Roberts # Date 1117157801 0 # Node ID 269312974c2f4ce55618b66b2088fbad3faea5fd # Parent 29e9d68e3f7be38e0788b824f0b8bdf480a708d5 (Log Buffer): Merge in description of Log Edit mode from pcl-cvs.texi. diff -r 29e9d68e3f7b -r 269312974c2f man/files.texi --- a/man/files.texi Fri May 27 01:35:51 2005 +0000 +++ b/man/files.texi Fri May 27 01:36:41 2005 +0000 @@ -1526,8 +1526,29 @@ When you check in changes, @kbd{C-x v v} first reads a log entry. It pops up a buffer called @samp{*VC-Log*} for you to enter the log entry. -When you are finished, type @kbd{C-c C-c} in the @samp{*VC-Log*} buffer. -That is when check-in really happens. + +Sometimes the @samp{*VC-Log*} buffer contains default text when you enter it, +typically the last log message entered. If it does, mark and point +are set around the entire contents of the buffer so that it is easy to +kill the contents of the buffer with @kbd{C-w}. + +@findex log-edit-insert-changelog +If you work by writing entries in the @file{ChangeLog} +(@pxref{Change Log}) and then commit the change under revision +control, you can generate the Log Edit text from the ChangeLog using +@kbd{C-c C-a} (@kbd{log-edit-insert-changelog}). This looks for +entries for the file(s) concerned in the top entry in the ChangeLog +and uses those paragraphs as the log text. This text is only inserted +if the top entry was made under your user name on the current date. +@xref{Change Logs and VC}, for the opposite way of +working---generating ChangeLog entries from the revision control log. + +In the @samp{*VC-Log*} buffer, @kbd{C-c C-f} (@kbd{M-x log-edit-show-files}) +shows the list of files to be committed in case you need to check +that. + +When you have finished editing the log message, type @kbd{C-c C-c} to +exit the buffer and commit the change. To abort check-in, just @strong{don't} type @kbd{C-c C-c} in that buffer. You can switch buffers and do other editing. As long as you