emacs-devel
[Top][All Lists]
Advanced

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

log-view documentation


From: Aaron S. Hawley
Subject: log-view documentation
Date: Tue, 22 Nov 2005 12:45:53 -0500 (EST)

log-view is pretty cool. it should be documented.

A proposal is below.  It is copied (via Kill and Yank) from the commands
documented for the "annotate buffer", found in the "Old Versions" section
of the manual.

--- files.texi  18 Nov 2005 13:54:05 -0500      1.122
+++ files.texi  22 Nov 2005 12:32:38 -0500
@@ -1790,8 +1790,50 @@
 @findex vc-print-log
   To view the detailed version control status and history of a file,
 type @kbd{C-x v l} (@code{vc-print-log}).  It displays the history of
-changes to the current file, including the text of the log entries.  The
-output appears in a separate window.
+changes to the current file, including the text of the log entries.  The
+output appears in a separate window.  The point is centered at the
+revision of the file that was currently visited.
+
+From the change log buffer, the following keys can be used to move
+between the logs of files and revisions, to view past revisions, and
+to view diffs:
+
address@hidden @bullet
+
address@hidden
+Pressing @kbd{p} moves to the previous revision of the file.  It also
+takes a numeric prefix argument, so for example @kbd{C-u 10 p} would
+take you back 10 revisions.
+
address@hidden
+Pressing @kbd{n} moves to the next revision of the file.  It also
+takes a numeric prefix argument, so for example @kbd{C-u 10 n} would
+take you forward 10 revisions.
+
address@hidden
+Pressing @kbd{f} visits the revision at the current line, like typing
address@hidden v ~} and specifying the revision.
+
address@hidden
+Pressing @kbd{d} shows the diff of the revision at line with its
+previous revision.  This is useful to see what actually changed when
+the revision denoted on the current line was committed.
+
address@hidden
+Pressing @kbd{P} moves to the log of the previous file.  when there
+are multiple files in the log buffer (@pxref{VC Dired Mode}).
+Otherwise, it moves to the beginning of the log.  It also takes a
+numeric prefix argument, so for example @kbd{C-u 10 P} would take you
+back 10 files.
+
address@hidden
+Pressing @kbd{N} moves to the log of the next file if there are logs
+for multiple files in the log buffer (@pxref{VC Dired Mode}).
+Otherwise, it moves to the end of the log.  It also takes a numeric
+prefix argument, so for example @kbd{C-u 10 N} would take you forward
+10 files.
+
address@hidden itemize

 @node VC Undo
 @subsubsection Undoing Version Control Actions





reply via email to

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