aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-04-11 08:32:46 +0000
committerRichard M. Stallman2001-04-11 08:32:46 +0000
commitd3ff0a5773daf3bc6e98ec470c51e71df59f638c (patch)
treedaac01927b58e1302ec11e68773dc2cf072e7c73
parent189a47e48dc8c47d69495953c84232dac9a830e6 (diff)
downloademacs-d3ff0a5773daf3bc6e98ec470c51e71df59f638c.tar.gz
emacs-d3ff0a5773daf3bc6e98ec470c51e71df59f638c.zip
Change @var to @code in many places.
Correct the case of some messages and buffer names. Minor cleanups.
-rw-r--r--man/files.texi64
1 files changed, 33 insertions, 31 deletions
diff --git a/man/files.texi b/man/files.texi
index cfa3db94a73..d9679afa4f3 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -215,7 +215,7 @@ message is printed. @xref{Interlocking,,Simultaneous Editing}.
215 215
216@cindex creating files 216@cindex creating files
217 What if you want to create a new file? Just visit it. Emacs prints 217 What if you want to create a new file? Just visit it. Emacs prints
218@samp{(New File)} in the echo area, but in other respects behaves as if 218@samp{(New file)} in the echo area, but in other respects behaves as if
219you had visited an existing empty file. If you make any changes and 219you had visited an existing empty file. If you make any changes and
220save them, the file is created. 220save them, the file is created.
221 221
@@ -774,9 +774,9 @@ it will copy the file you edited to the other files in its group. You
774can also do the copying without exiting Emacs, by typing @kbd{M-x 774can also do the copying without exiting Emacs, by typing @kbd{M-x
775shadow-copy-files}. 775shadow-copy-files}.
776 776
777To set up a file group, use @kbd{M-x shadow-define-literal-group} or 777To set up a shadow file group, use @kbd{M-x
778@kbd{M-x shadow-define-regexp-group}. See their documentation strings 778shadow-define-literal-group} or @kbd{M-x shadow-define-regexp-group}.
779for further information. 779See their documentation strings for further information.
780 780
781Before copying a file to its shadows, Emacs asks for confirmation. 781Before copying a file to its shadows, Emacs asks for confirmation.
782You can answer ``no'' to bypass copying of this file, this time. If 782You can answer ``no'' to bypass copying of this file, this time. If
@@ -1481,15 +1481,16 @@ Register the visited file for version control.
1481to use for it. If the file's directory already contains files 1481to use for it. If the file's directory already contains files
1482registered in a version control system, Emacs uses that system. If 1482registered in a version control system, Emacs uses that system. If
1483there is more than one system in use for a directory, Emacs uses the one 1483there is more than one system in use for a directory, Emacs uses the one
1484that appears first in @var{vc-handled-backends} (@pxref{Customizing VC}). 1484that appears first in @code{vc-handled-backends} (@pxref{Customizing VC}).
1485On the other hand, if there are no files already registered, 1485On the other hand, if there are no files already registered,
1486Emacs uses the first system from @var{vc-handled-backends} that could 1486Emacs uses the first system from @code{vc-handled-backends} that could
1487register the file---for example, you cannot register a file under CVS if 1487register the file---for example, you cannot register a file under CVS if
1488its directory is not already part of a CVS tree. 1488its directory is not already part of a CVS tree.
1489 1489
1490 With the default value of @var{vc-handled-backends}, this means that 1490 With the default value of @code{vc-handled-backends}, this means
1491Emacs uses RCS if there are any files under RCS control, or CVS if 1491that Emacs uses RCS if there are any files under RCS control, CVS if
1492there are any files under CVS, or RCS as the ultimate default. 1492there are any files under CVS, SCCS if any files are under SCCS, or
1493RCS as the ultimate default.
1493 1494
1494 If locking is in use, @kbd{C-x v i} leaves the file unlocked and 1495 If locking is in use, @kbd{C-x v i} leaves the file unlocked and
1495read-only. Type @kbd{C-x C-q} if you wish to start editing it. After 1496read-only. Type @kbd{C-x C-q} if you wish to start editing it. After
@@ -1687,7 +1688,7 @@ change.
1687@findex vc-dired-mark-locked 1688@findex vc-dired-mark-locked
1688 You can toggle between terse display (only locked files, or files not 1689 You can toggle between terse display (only locked files, or files not
1689up-to-date) and full display at any time by typing @kbd{v t} 1690up-to-date) and full display at any time by typing @kbd{v t}
1690@code{vc-dired-toggle-terse-mode}. There is also a special command 1691(@code{vc-dired-toggle-terse-mode}). There is also a special command
1691@kbd{* l} (@code{vc-dired-mark-locked}), which marks all files currently 1692@kbd{* l} (@code{vc-dired-mark-locked}), which marks all files currently
1692locked (or, with CVS, all files not up-to-date). Thus, typing @kbd{* l 1693locked (or, with CVS, all files not up-to-date). Thus, typing @kbd{* l
1693t k} is another way to delete from the buffer all files except those 1694t k} is another way to delete from the buffer all files except those
@@ -1969,7 +1970,7 @@ mechanism works with any combination of version control systems
1969 1970
1970To make it work with other back ends, you must make sure that the 1971To make it work with other back ends, you must make sure that the
1971``more local'' back end comes before the ``more remote'' back end in 1972``more local'' back end comes before the ``more remote'' back end in
1972the setting of @var{vc-handled-backends} (@pxref{Customizing VC}). By 1973the setting of @code{vc-handled-backends} (@pxref{Customizing VC}). By
1973default, this variable is set up so that you can use remote CVS and 1974default, this variable is set up so that you can use remote CVS and
1974local RCS as described here. 1975local RCS as described here.
1975 1976
@@ -2403,15 +2404,15 @@ headers.
2403@subsection Customizing VC 2404@subsection Customizing VC
2404 2405
2405@vindex vc-handled-backends 2406@vindex vc-handled-backends
2406The variable @var{vc-handled-backends} determines which version 2407The variable @code{vc-handled-backends} determines which version
2407control systems VC should handle. The default value is @code{(RCS CVS 2408control systems VC should handle. The default value is @code{(RCS CVS
2408SCCS)}, so it contains all three version systems that are currently 2409SCCS)}, so it contains all three version systems that are currently
2409supported. If you want VC to ignore one or more of these systems, 2410supported. If you want VC to ignore one or more of these systems,
2410exclude its name from the list. 2411exclude its name from the list.
2411 2412
2412The order of systems in the list is significant: when you visit a file 2413The order of systems in the list is significant: when you visit a file
2413is registered in more than one system (@pxref{Local Version Control}), 2414registered in more than one system (@pxref{Local Version Control}),
2414VC uses the system that comes first in @var{vc-handled-backends} by 2415VC uses the system that comes first in @code{vc-handled-backends} by
2415default. The order is also significant when you register a file for 2416default. The order is also significant when you register a file for
2416the first time, @pxref{Registering} for details. 2417the first time, @pxref{Registering} for details.
2417 2418
@@ -2513,8 +2514,8 @@ Then VC always checks the master file to determine the file's status.
2513 2514
2514 VC determines the version control state of files under SCCS much as 2515 VC determines the version control state of files under SCCS much as
2515with RCS. It does not consider SCCS version headers, though. Thus, 2516with RCS. It does not consider SCCS version headers, though. Thus,
2516the variable @var{vc-mistrust-permissions} affects SCCS use, but 2517the variable @code{vc-mistrust-permissions} affects SCCS use, but
2517@var{vc-consult-headers} does not. 2518@code{vc-consult-headers} does not.
2518 2519
2519@node CVS Options 2520@node CVS Options
2520@subsubsection Options specific for CVS 2521@subsubsection Options specific for CVS
@@ -2550,7 +2551,7 @@ using the watch feature.
2550@cindex remote repositories (CVS) 2551@cindex remote repositories (CVS)
2551 When a file's repository is on a remote machine, VC tries to keep 2552 When a file's repository is on a remote machine, VC tries to keep
2552network interactions to a minimum. This is controlled by the variable 2553network interactions to a minimum. This is controlled by the variable
2553@var{vc-cvs-stay-local}. If it is @code{t} (the default), then VC uses 2554@code{vc-cvs-stay-local}. If it is @code{t} (the default), then VC uses
2554only the entry in the local CVS subdirectory to determine the file's 2555only the entry in the local CVS subdirectory to determine the file's
2555state (and possibly information returned by previous CVS commands). One 2556state (and possibly information returned by previous CVS commands). One
2556consequence of this is that when you have modified a file, and somebody 2557consequence of this is that when you have modified a file, and somebody
@@ -2559,16 +2560,16 @@ notified of it until you actually try to commit. (But you can try to
2559pick up any recent changes from the repository first, using @kbd{C-x v m 2560pick up any recent changes from the repository first, using @kbd{C-x v m
2560@key{RET}}, @pxref{Merging}). 2561@key{RET}}, @pxref{Merging}).
2561 2562
2562 When @var{vc-cvs-stay-local} is @code{t}, VC also makes local 2563 When @code{vc-cvs-stay-local} is @code{t}, VC also makes local
2563version backups, so that simple diff and revert operations are 2564version backups, so that simple diff and revert operations are
2564completely local (@pxref{Version Backups}). 2565completely local (@pxref{Version Backups}).
2565 2566
2566 On the other hand, if you set @var{vc-cvs-stay-local} to @code{nil}, 2567 On the other hand, if you set @code{vc-cvs-stay-local} to @code{nil},
2567then VC queries the remote repository @emph{before} it decides what to 2568then VC queries the remote repository @emph{before} it decides what to
2568do in @code{vc-next-action} (@kbd{C-x v v}), just as it does for local 2569do in @code{vc-next-action} (@kbd{C-x v v}), just as it does for local
2569repositories. It also does not make any version backups. 2570repositories. It also does not make any version backups.
2570 2571
2571 You can also set @var{vc-cvs-stay-local} to a regular expression 2572 You can also set @code{vc-cvs-stay-local} to a regular expression
2572that is matched against the repository hostname; VC then stays local 2573that is matched against the repository hostname; VC then stays local
2573only for repositories from hosts that match the pattern. 2574only for repositories from hosts that match the pattern.
2574 2575
@@ -2617,7 +2618,7 @@ C-x C-d /u2/emacs/src/*.c @key{RET}
2617 2618
2618 Normally, @kbd{C-x C-d} prints a brief directory listing containing 2619 Normally, @kbd{C-x C-d} prints a brief directory listing containing
2619just file names. A numeric argument (regardless of value) tells it to 2620just file names. A numeric argument (regardless of value) tells it to
2620make a verbose listing including sizes, dates, and authors (like 2621make a verbose listing including sizes, dates, and owners (like
2621@samp{ls -l}). 2622@samp{ls -l}).
2622 2623
2623@vindex list-directory-brief-switches 2624@vindex list-directory-brief-switches
@@ -2636,11 +2637,11 @@ use in a verbose listing (@code{"-l"} by default).
2636@findex diff 2637@findex diff
2637@vindex diff-switches 2638@vindex diff-switches
2638 The command @kbd{M-x diff} compares two files, displaying the 2639 The command @kbd{M-x diff} compares two files, displaying the
2639differences in an Emacs buffer named @samp{*Diff*}. It works by running 2640differences in an Emacs buffer named @samp{*diff*}. It works by running
2640the @code{diff} program, using options taken from the variable 2641the @code{diff} program, using options taken from the variable
2641@code{diff-switches}, whose value should be a string. 2642@code{diff-switches}, whose value should be a string.
2642 2643
2643 The buffer @samp{*Diff*} has Compilation mode as its major mode, so 2644 The buffer @samp{*diff*} has Compilation mode as its major mode, so
2644you can use @kbd{C-x `} to visit successive changed locations in the two 2645you can use @kbd{C-x `} to visit successive changed locations in the two
2645source files. You can also move to a particular hunk of changes and 2646source files. You can also move to a particular hunk of changes and
2646type @key{RET} or @kbd{C-c C-c}, or click @kbd{Mouse-2} on it, to move 2647type @key{RET} or @kbd{C-c C-c}, or click @kbd{Mouse-2} on it, to move
@@ -2782,7 +2783,7 @@ in use. Note that not all systems support symbolic links.
2782compressed files when you visit them, and automatically recompress them 2783compressed files when you visit them, and automatically recompress them
2783if you alter them and save them. To enable this feature, type the 2784if you alter them and save them. To enable this feature, type the
2784command @kbd{M-x auto-compression-mode}. You can enable it permanently 2785command @kbd{M-x auto-compression-mode}. You can enable it permanently
2785by customizing the option @var{auto-compression-mode}. 2786by customizing the option @code{auto-compression-mode}.
2786 2787
2787 When automatic compression (which implies automatic uncompression as 2788 When automatic compression (which implies automatic uncompression as
2788well) is enabled, Emacs recognizes compressed files by their file names. 2789well) is enabled, Emacs recognizes compressed files by their file names.
@@ -2865,8 +2866,8 @@ owner, are supported only for some of the archive formats.
2865 Unlike Tar mode, Archive mode runs the archiving program to unpack 2866 Unlike Tar mode, Archive mode runs the archiving program to unpack
2866and repack archives. Details of the program names and their options 2867and repack archives. Details of the program names and their options
2867can be set in the @samp{Archive} Customize group. However, you don't 2868can be set in the @samp{Archive} Customize group. However, you don't
2868need these programs to the archive table of contents, only to extract 2869need these programs to look at the archive table of contents, only to
2869or manipulate the subfiles in the archive. 2870extract or manipulate the subfiles in the archive.
2870 2871
2871@node Remote Files 2872@node Remote Files
2872@section Remote Files 2873@section Remote Files
@@ -2934,8 +2935,8 @@ ange-ftp @key{RET}}.
2934@vindex file-name-handler-alist 2935@vindex file-name-handler-alist
2935@cindex disabling remote files 2936@cindex disabling remote files
2936 You can entirely turn off the FTP file name feature by removing the 2937 You can entirely turn off the FTP file name feature by removing the
2937entries @var{ange-ftp-completion-hook-function} and 2938entries @code{ange-ftp-completion-hook-function} and
2938@var{ange-ftp-hook-function} from the variable 2939@code{ange-ftp-hook-function} from the variable
2939@code{file-name-handler-alist}. You can turn off the feature in 2940@code{file-name-handler-alist}. You can turn off the feature in
2940individual cases by quoting the file name with @samp{/:} (@pxref{Quoted 2941individual cases by quoting the file name with @samp{/:} (@pxref{Quoted
2941File Names}). 2942File Names}).
@@ -2959,7 +2960,7 @@ refers to a file whose name is @file{~hack} in directory @file{/tmp}.
2959 2960
2960 Likewise, quoting with @samp{/:} is one way to enter in the minibuffer 2961 Likewise, quoting with @samp{/:} is one way to enter in the minibuffer
2961a file name that contains @samp{$}. However, the @samp{/:} must be at 2962a file name that contains @samp{$}. However, the @samp{/:} must be at
2962the beginning of the buffer in order to quote @samp{$}. 2963the beginning of the minibuffer in order to quote @samp{$}.
2963 2964
2964 You can also quote wildcard characters with @samp{/:}, for visiting. 2965 You can also quote wildcard characters with @samp{/:}, for visiting.
2965For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}. 2966For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}.
@@ -3017,9 +3018,10 @@ Clear the cache; that is, remove all file names from it.
3017@findex recentf-save-list 3018@findex recentf-save-list
3018@findex recentf-edit-list 3019@findex recentf-edit-list
3019 If you enable Recentf mode, with @kbd{M-x recentf-mode}, the 3020 If you enable Recentf mode, with @kbd{M-x recentf-mode}, the
3020@samp{Files} menu includes a submenu containing a list of recently 3021@samp{File} menu includes a submenu containing a list of recently
3021opened files. @kbd{M-x recentf-save-list} saves the current 3022opened files. @kbd{M-x recentf-save-list} saves the current
3022recent-file-list to a file, and @kbd{M-x recentf-edit-list} edits it. 3023@code{recent-file-list} to a file, and @kbd{M-x recentf-edit-list}
3024edits it.
3023 3025
3024@findex auto-image-file-mode 3026@findex auto-image-file-mode
3025@findex mode, auto-image-file 3027@findex mode, auto-image-file