940 |
for a changed file. Since checking a remote file is too slow, these |
for a changed file. Since checking a remote file is too slow, these |
941 |
modes do not check or revert remote files. |
modes do not check or revert remote files. |
942 |
|
|
943 |
@vindex auto-revert-check-vc-info |
@xref{VC Mode Line}, for Auto Revert peculiarities in buffers that |
944 |
Whenever Auto Revert mode reverts the buffer, it updates the version |
visit files under version control. |
|
control information, such as the version control number displayed in |
|
|
the mode line. However, this information may not be properly updated |
|
|
if the version control state changes outside of Emacs---for example, |
|
|
if a new version is checked in from outside the current Emacs session. |
|
|
If you set @code{auto-revert-check-vc-info} to @code{t}, Auto Revert |
|
|
mode will update the version control status information periodically. |
|
945 |
|
|
946 |
@node Auto Save |
@node Auto Save |
947 |
@section Auto-Saving: Protection Against Disasters |
@section Auto-Saving: Protection Against Disasters |
1369 |
that it is modified. If the file is locked by some other user (for |
that it is modified. If the file is locked by some other user (for |
1370 |
instance, @samp{jim}), that is displayed as @samp{RCS:jim:1.3}. |
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. |
1383 |
|
|
1384 |
@node Basic VC Editing |
@node Basic VC Editing |
1385 |
@subsection Basic Editing under Version Control |
@subsection Basic Editing under Version Control |
1386 |
|
|