(defvar cvs-force-command)
(defgroup log-view nil
- "Major mode for browsing log output of RCS/CVS/SCCS."
+ "Major mode for browsing log output of revision log histories."
:group 'pcl-cvs
:prefix "log-view-")
(easy-mmode-define-navigation log-view-file log-view-file-re "file")
(defun log-view-goto-rev (rev)
+ "Go to revision REV."
(goto-char (point-min))
(ignore-errors
(while (not (equal rev (log-view-current-tag)))
(defconst log-view-dir-re "^cvs[.ex]* [a-z]+: Logging \\(.+\\)$")
(defun log-view-current-file ()
+ "Return the current file."
(save-excursion
(forward-line 1)
(or (re-search-backward log-view-file-re nil t)
(defun log-view-toggle-mark-entry ()
"Toggle the marked state for the log entry at point.
-Individual log entries can be marked and unmarked. The marked
+Individual log entries can be marked and unmarked. The marked
entries are denoted by changing their background color.
`log-view-get-marked' returns the list of tags for the marked
log entries."
(funcall f))))
(defun log-view-find-revision (pos)
- "Visit the version at point."
+ "Visit the version at POS.
+If called interactively, visit the version at point."
(interactive "d")
(unless log-view-per-file-logs
(when (> (length log-view-vc-fileset) 1)
(log-view-extract-comment)))
(defun log-view-annotate-version (pos)
- "Annotate the version at point."
+ "Annotate the version at POS.
+If called interactively, annotate the version at point."
(interactive "d")
(unless log-view-per-file-logs
(when (> (length log-view-vc-fileset) 1)