Mercurial > emacs
changeset 62784:269312974c2f
(Log Buffer): Merge in description of Log Edit
mode from pcl-cvs.texi.
author | Nick Roberts <nickrob@snap.net.nz> |
---|---|
date | Fri, 27 May 2005 01:36:41 +0000 |
parents | 29e9d68e3f7b |
children | c20ea23d0a24 |
files | man/files.texi |
diffstat | 1 files changed, 23 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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