comparison man/files.texi @ 61197:188e0bfcbc42

(Reverting): Move `auto-revert-check-vc-info' to `VC Mode Line' and put in an xref to that node. (VC Mode Line): Move `auto-revert-check-vc-info' here and clarify its description.
author Luc Teirlinck <teirllm@auburn.edu>
date Fri, 01 Apr 2005 02:06:49 +0000
parents 89f67218c46b
children fee88679cf47 7a3341d65a12
comparison
equal deleted inserted replaced
61196:6d50d8b30aef 61197:188e0bfcbc42
938 @vindex auto-revert-interval 938 @vindex auto-revert-interval
939 The variable @code{auto-revert-interval} controls how often to check 939 The variable @code{auto-revert-interval} controls how often to check
940 for a changed file. Since checking a remote file is too slow, these 940 for a changed file. Since checking a remote file is too slow, these
941 modes do not check or revert remote files. 941 modes do not check or revert remote files.
942 942
943 @vindex auto-revert-check-vc-info 943 @xref{VC Mode Line}, for Auto Revert peculiarities in buffers that
944 Whenever Auto Revert mode reverts the buffer, it updates the version 944 visit files under version control.
945 control information, such as the version control number displayed in
946 the mode line. However, this information may not be properly updated
947 if the version control state changes outside of Emacs---for example,
948 if a new version is checked in from outside the current Emacs session.
949 If you set @code{auto-revert-check-vc-info} to @code{t}, Auto Revert
950 mode will update the version control status information periodically.
951 945
952 @node Auto Save 946 @node Auto Save
953 @section Auto-Saving: Protection Against Disasters 947 @section Auto-Saving: Protection Against Disasters
954 @cindex Auto Save mode 948 @cindex Auto Save mode
955 @cindex mode, Auto Save 949 @cindex mode, Auto Save
1372 indicates the version control status of the file. @samp{-} means that 1366 indicates the version control status of the file. @samp{-} means that
1373 the work file is not locked (if locking is in use), or not modified (if 1367 the work file is not locked (if locking is in use), or not modified (if
1374 locking is not in use). @samp{:} indicates that the file is locked, or 1368 locking is not in use). @samp{:} indicates that the file is locked, or
1375 that it is modified. If the file is locked by some other user (for 1369 that it is modified. If the file is locked by some other user (for
1376 instance, @samp{jim}), that is displayed as @samp{RCS:jim:1.3}. 1370 instance, @samp{jim}), that is displayed as @samp{RCS:jim:1.3}.
1371
1372 @vindex auto-revert-check-vc-info
1373 When Auto Revert mode (@pxref{Reverting}) reverts a buffer that is
1374 under version control, it updates the version control information in
1375 the mode line. However, Auto Revert mode may not properly update this
1376 information if the version control status changes without changes to
1377 the work file, from outside the current Emacs session. If you set
1378 @code{auto-revert-check-vc-info} to @code{t}, Auto Revert mode updates
1379 the version control status information every
1380 @code{auto-revert-interval} seconds, even if the work file itself is
1381 unchanged. The resulting CPU usage depends on the version control
1382 system, but is usually not excessive.
1377 1383
1378 @node Basic VC Editing 1384 @node Basic VC Editing
1379 @subsection Basic Editing under Version Control 1385 @subsection Basic Editing under Version Control
1380 1386
1381 The principal VC command is an all-purpose command that performs 1387 The principal VC command is an all-purpose command that performs