diff options
| author | Eli Zaretskii | 2010-09-30 14:44:25 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2010-09-30 14:44:25 +0200 |
| commit | cad90f3b7ad1fafdb09d1bcd3fe4908f94cb3943 (patch) | |
| tree | 8f26c612d9ad2ecde3430812dcc2ab8f7f360bd6 | |
| parent | 743595bc3405fc3d063a5089ea54fcd33b0812ad (diff) | |
| download | emacs-cad90f3b7ad1fafdb09d1bcd3fe4908f94cb3943.tar.gz emacs-cad90f3b7ad1fafdb09d1bcd3fe4908f94cb3943.zip | |
Fix documentation of VC status indicator in mode line.
lisp/vc/vc-hooks.el (vc-default-mode-line-string): Doc fix.
doc/emacs/maintaining.texi (VC Mode Line): Mention all the possible VC
status indicator characters.
| -rw-r--r-- | doc/emacs/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/emacs/maintaining.texi | 16 | ||||
| -rw-r--r-- | lisp/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/vc/vc-hooks.el | 3 |
4 files changed, 26 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 79a2b0ec2f2..cba54de80b1 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-09-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * maintaining.texi (VC Mode Line): Mention all the possible VC status | ||
| 4 | indicator characters. | ||
| 5 | |||
| 1 | 2010-09-29 Glenn Morris <rgm@gnu.org> | 6 | 2010-09-29 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * Makefile.in (top_srcdir): Remove unused variable. | 8 | * Makefile.in (top_srcdir): Remove unused variable. |
diff --git a/doc/emacs/maintaining.texi b/doc/emacs/maintaining.texi index f5a93ec60e7..b407f5b9c99 100644 --- a/doc/emacs/maintaining.texi +++ b/doc/emacs/maintaining.texi | |||
| @@ -362,10 +362,16 @@ change, and later use the @kbd{C-x v a} command to copy it to | |||
| 362 | 362 | ||
| 363 | @node VC Mode Line | 363 | @node VC Mode Line |
| 364 | @subsection Version Control and the Mode Line | 364 | @subsection Version Control and the Mode Line |
| 365 | @cindex VC, mode line indicator | ||
| 365 | 366 | ||
| 366 | When you visit a file that is under version control, Emacs indicates | 367 | When you visit a file that is under version control, Emacs indicates |
| 367 | this on the mode line. For example, @samp{RCS-1.3} says that RCS is | 368 | this on the mode line. For example, @samp{RCS-1.3} says that the RCS |
| 368 | used for that file, and the current version is 1.3. | 369 | back end is used for that file, and the current version of the file is |
| 370 | 1.3. | ||
| 371 | |||
| 372 | The first part of the VC mode-line indicator is the name of the back | ||
| 373 | end: @samp{RCS}, @samp{CVS}, @samp{Bzr}, etc. The back-end name is | ||
| 374 | followed by a single character and the version of the file. | ||
| 369 | 375 | ||
| 370 | The character between the back-end name and the revision ID | 376 | The character between the back-end name and the revision ID |
| 371 | indicates the version control status of the file. @samp{-} means that | 377 | indicates the version control status of the file. @samp{-} means that |
| @@ -373,6 +379,12 @@ the work file is not locked (if locking is in use), or not modified (if | |||
| 373 | locking is not in use). @samp{:} indicates that the file is locked, or | 379 | locking is not in use). @samp{:} indicates that the file is locked, or |
| 374 | that it is modified. If the file is locked by some other user (for | 380 | that it is modified. If the file is locked by some other user (for |
| 375 | instance, @samp{jim}), that is displayed as @samp{RCS:jim:1.3}. | 381 | instance, @samp{jim}), that is displayed as @samp{RCS:jim:1.3}. |
| 382 | @samp{@@} means that the file was locally added, but not yet committed | ||
| 383 | to the master repository. @samp{!} indicates that the file contains | ||
| 384 | conflicts as result of a recent merge operation (@pxref{Merging}), or | ||
| 385 | that the file was removed from the version control. Finally, @samp{?} | ||
| 386 | means that the file is under version control, but is missing from the | ||
| 387 | working tree. | ||
| 376 | 388 | ||
| 377 | On a graphical display, you can move the mouse over this mode line | 389 | On a graphical display, you can move the mouse over this mode line |
| 378 | indicator to pop up a ``tool-tip'', which displays a more verbose | 390 | indicator to pop up a ``tool-tip'', which displays a more verbose |
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a5d171744e9..b23262bc367 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2010-09-30 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * vc/vc-hooks.el (vc-default-mode-line-string): Doc fix. | ||
| 4 | |||
| 1 | 2010-09-30 Juanma Barranquero <lekktu@gmail.com> | 5 | 2010-09-30 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 6 | ||
| 3 | * server.el (server-start): Don't write pid to the authentication file. | 7 | * server.el (server-start): Don't write pid to the authentication file. |
diff --git a/lisp/vc/vc-hooks.el b/lisp/vc/vc-hooks.el index 91e9b8e3cd3..5007231d960 100644 --- a/lisp/vc/vc-hooks.el +++ b/lisp/vc/vc-hooks.el | |||
| @@ -815,6 +815,9 @@ Format: | |||
| 815 | \"BACKEND-REV\" if the file is up-to-date | 815 | \"BACKEND-REV\" if the file is up-to-date |
| 816 | \"BACKEND:REV\" if the file is edited (or locked by the calling user) | 816 | \"BACKEND:REV\" if the file is edited (or locked by the calling user) |
| 817 | \"BACKEND:LOCKER:REV\" if the file is locked by somebody else | 817 | \"BACKEND:LOCKER:REV\" if the file is locked by somebody else |
| 818 | \"BACKEND@REV\" if the file was locally added | ||
| 819 | \"BACKEND!REV\" if the file contains conflicts or was removed | ||
| 820 | \"BACKEND?REV\" if the file is under VC, but is missing | ||
| 818 | 821 | ||
| 819 | This function assumes that the file is registered." | 822 | This function assumes that the file is registered." |
| 820 | (let* ((backend-name (symbol-name backend)) | 823 | (let* ((backend-name (symbol-name backend)) |