comparison man/files.texi @ 44327:1e166973cd8b

Don't use @samp in an anchor. Minor cleanup.
author Richard M. Stallman <rms@gnu.org>
date Mon, 01 Apr 2002 23:06:21 +0000
parents f7a64b7a993d
children 8fe6d54a756b
comparison
equal deleted inserted replaced
44326:c69907b4eb03 44327:1e166973cd8b
102 @xref{Minibuffer File}. 102 @xref{Minibuffer File}.
103 103
104 @cindex environment variables in file names 104 @cindex environment variables in file names
105 @cindex expansion of environment variables 105 @cindex expansion of environment variables
106 @cindex @code{$} in file names 106 @cindex @code{$} in file names
107 @anchor{File Names with @samp{$}} 107 @anchor{File Names with $}
108 @samp{$} in a file name is used to substitute environment variables. 108 @samp{$} in a file name is used to substitute environment variables.
109 For example, if you have used the shell command @command{export 109 For example, if you have used the shell command @command{export
110 FOO=rms/hacks} to set up an environment variable named @env{FOO}, then 110 FOO=rms/hacks} to set up an environment variable named @env{FOO}, then
111 you can use @file{/u/$FOO/test.c} or @file{/u/$@{FOO@}/test.c} as an 111 you can use @file{/u/$FOO/test.c} or @file{/u/$@{FOO@}/test.c} as an
112 abbreviation for @file{/u/rms/hacks/test.c}. The environment variable 112 abbreviation for @file{/u/rms/hacks/test.c}. The environment variable
1046 recover are present in Emacs buffers. You should then save them. Only 1046 recover are present in Emacs buffers. You should then save them. Only
1047 this---saving them---updates the files themselves. 1047 this---saving them---updates the files themselves.
1048 1048
1049 @vindex auto-save-list-file-prefix 1049 @vindex auto-save-list-file-prefix
1050 Emacs records interrupted sessions for later recovery in files named 1050 Emacs records interrupted sessions for later recovery in files named
1051 @file{~/.emacs.d/auto-save-list/.saves-@var{pid}-@var{hostname}}. The 1051 @file{~/.emacs.d/auto-save-list/.saves-@var{pid}-@var{hostname}}. All
1052 @samp{~/.emacs.d/auto-save-list/.saves-} portion of these names comes 1052 of this name except @file{@var{pid}-@var{hostname}} comes from the
1053 from the value of @code{auto-save-list-file-prefix}. You can record 1053 value of @code{auto-save-list-file-prefix}. You can record sessions
1054 sessions in a different place by customizing that variable. If you 1054 in a different place by customizing that variable. If you set
1055 set @code{auto-save-list-file-prefix} to @code{nil} in your 1055 @code{auto-save-list-file-prefix} to @code{nil} in your @file{.emacs}
1056 @file{.emacs} file, sessions are not recorded for recovery. 1056 file, sessions are not recorded for recovery.
1057 1057
1058 @node File Aliases 1058 @node File Aliases
1059 @section File Name Aliases 1059 @section File Name Aliases
1060 1060
1061 Symbolic links and hard links both make it possible for several file 1061 Symbolic links and hard links both make it possible for several file
3035 refers to a file whose name is @file{~hack} in directory @file{/tmp}. 3035 refers to a file whose name is @file{~hack} in directory @file{/tmp}.
3036 3036
3037 Quoting with @samp{/:} is also a way to enter in the minibuffer a 3037 Quoting with @samp{/:} is also a way to enter in the minibuffer a
3038 file name that contains @samp{$}. In order for this to work, the 3038 file name that contains @samp{$}. In order for this to work, the
3039 @samp{/:} must be at the beginning of the minibuffer contents. (You 3039 @samp{/:} must be at the beginning of the minibuffer contents. (You
3040 can also double each @samp{$}; see @ref{File Names with @samp{$}}.) 3040 can also double each @samp{$}; see @ref{File Names with $}.)
3041 3041
3042 You can also quote wildcard characters with @samp{/:}, for visiting. 3042 You can also quote wildcard characters with @samp{/:}, for visiting.
3043 For example, @file{/:/tmp/foo*bar} visits the file 3043 For example, @file{/:/tmp/foo*bar} visits the file
3044 @file{/tmp/foo*bar}. 3044 @file{/tmp/foo*bar}.
3045 3045