aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Nicolaescu2008-08-06 14:56:32 +0000
committerDan Nicolaescu2008-08-06 14:56:32 +0000
commit2beaf97a81b1375cab9185e4d0707ebefa42f2a1 (patch)
tree891c99f6d627f7666fa9b628bb36b0c9c94d5a4c
parent5143deb12724b00637e46cb4e9d25aa9e3a5aee3 (diff)
downloademacs-2beaf97a81b1375cab9185e4d0707ebefa42f2a1.tar.gz
emacs-2beaf97a81b1375cab9185e4d0707ebefa42f2a1.zip
(Old Revisions): Update the keys used by vc-annotate and
describe the new bindings to show the changeset diff, toggle annotation visibility, show revisions. (VC Status): Describe key bindings for modifying the change comments, displaying changeset diffs and annotations.
-rw-r--r--doc/emacs/ChangeLog6
-rw-r--r--doc/emacs/files.texi52
2 files changed, 45 insertions, 13 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index b869b2eed19..3e91a6a5125 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,11 @@
12008-08-06 Dan Nicolaescu <dann@ics.uci.edu> 12008-08-06 Dan Nicolaescu <dann@ics.uci.edu>
2 2
3 * files.texi (Old Revisions): Update the keys used by vc-annotate and
4 describe the new bindings to show the changeset diff, toggle annotation
5 visibility, show revisions.
6 (VC Status): Describe key bindings for modifying the change comments,
7 displaying changeset diffs and annotations.
8
3 * vc1-xtra.texi (VC Directory Mode): Talk about multiple VC systems. 9 * vc1-xtra.texi (VC Directory Mode): Talk about multiple VC systems.
4 10
52008-08-05 Nick Roberts <nickrob@snap.net.nz> 112008-08-05 Nick Roberts <nickrob@snap.net.nz>
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi
index 7d40c1fc3a1..9297c941a99 100644
--- a/doc/emacs/files.texi
+++ b/doc/emacs/files.texi
@@ -1955,37 +1955,50 @@ also use the following keys to browse the annotations of past revisions,
1955view diffs, or view log entries: 1955view diffs, or view log entries:
1956 1956
1957@table @kbd 1957@table @kbd
1958@item P 1958@item p
1959Annotate the previous revision, that is to say, the revision before 1959Annotate the previous revision, that is to say, the revision before
1960the one currently annotated. A numeric prefix argument is a repeat 1960the one currently annotated. A numeric prefix argument is a repeat
1961count, so @kbd{C-u 10 P} would take you back 10 revisions. 1961count, so @kbd{C-u 10 p} would take you back 10 revisions.
1962 1962
1963@item N 1963@item n
1964Annotate the next revision---the one after the revision currently 1964Annotate the next revision---the one after the revision currently
1965annotated. A numeric prefix argument is a repeat count. 1965annotated. A numeric prefix argument is a repeat count.
1966 1966
1967@item J 1967@item j
1968Annotate the revision indicated by the current line. 1968Annotate the revision indicated by the current line.
1969 1969
1970@item A 1970@item a
1971Annotate the revision before the one indicated by the current line. 1971Annotate the revision before the one indicated by the current line.
1972This is useful to see the state the file was in before the change on 1972This is useful to see the state the file was in before the change on
1973the current line was made. 1973the current line was made.
1974 1974
1975@item D 1975@item f
1976Show in a buffer the file revision indicated by the current line.
1977
1978@item d
1976Display the diff between the current line's revision and the previous 1979Display the diff between the current line's revision and the previous
1977revision. This is useful to see what the current line's revision 1980revision. This is useful to see what the current line's revision
1978actually changed in the file. 1981actually changed in the file.
1979 1982
1980@item L 1983@item D
1984Display the diff between the current line's revision and the previous
1985revision for all files in the changeset (for VC systems that support
1986changesets). This is useful to see what the current line's revision
1987actually changed in the tree.
1988
1989@item l
1981Show the log of the current line's revision. This is useful to see 1990Show the log of the current line's revision. This is useful to see
1982the author's description of the changes in the revision on the current 1991the author's description of the changes in the revision on the current
1983line. 1992line.
1984 1993
1985@item W 1994@item w
1986Annotate the working revision--the one you are editing. If you used 1995Annotate the working revision--the one you are editing. If you used
1987@kbd{P} and @kbd{N} to browse to other revisions, use this key to 1996@kbd{p} and @kbd{n} to browse to other revisions, use this key to
1988return to your working revision. 1997return to your working revision.
1998
1999@item v
2000Toggle the annotation visibility. This is useful for looking just at
2001the file contents without distraction from the annotations.
1989@end table 2002@end table
1990 2003
1991@node Secondary VC Commands 2004@node Secondary VC Commands
@@ -2073,8 +2086,8 @@ output appears in a separate window. The point is centered at the
2073revision of the file that is currently being visited. 2086revision of the file that is currently being visited.
2074 2087
2075 In the change log buffer, you can use the following keys to move 2088 In the change log buffer, you can use the following keys to move
2076between the logs of revisions and of files, to view past revisions, and 2089between the logs of revisions and of files, to view past revisions, to
2077to view diffs: 2090modify change comments, to view annotations and to view diffs:
2078 2091
2079@table @kbd 2092@table @kbd
2080@item p 2093@item p
@@ -2112,6 +2125,13 @@ in the log buffer
2112@end ifnottex 2125@end ifnottex
2113It also takes a numeric prefix argument as a repeat count. 2126It also takes a numeric prefix argument as a repeat count.
2114 2127
2128@item a
2129Annotate the revision indicated by the current line.
2130
2131@item e
2132Modify the change comment displayed at point. Note that not all VC
2133systems support modifying change comments.
2134
2115@item f 2135@item f
2116Visit the revision indicated at the current line, like typing @kbd{C-x 2136Visit the revision indicated at the current line, like typing @kbd{C-x
2117v ~} and specifying this revision's ID (@pxref{Old Revisions}). 2137v ~} and specifying this revision's ID (@pxref{Old Revisions}).
@@ -2119,8 +2139,14 @@ v ~} and specifying this revision's ID (@pxref{Old Revisions}).
2119@item d 2139@item d
2120Display the diff (@pxref{Comparing Files}) between the revision 2140Display the diff (@pxref{Comparing Files}) between the revision
2121indicated at the current line and the next earlier revision. This is 2141indicated at the current line and the next earlier revision. This is
2122useful to see what actually changed when the revision indicated on the 2142useful to see what actually changed in the file when the revision
2123current line was committed. 2143indicated on the current line was committed.
2144
2145@item D
2146Display the changeset diff (@pxref{Comparing Files}) between the
2147revision indicated at the current line and the next earlier revision.
2148This is useful to see all the changes to all files that the revision
2149indicated on the current line did when it was committed.
2124@end table 2150@end table
2125 2151
2126@node VC Undo 2152@node VC Undo