diff options
| author | Richard M. Stallman | 2002-03-25 00:44:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-03-25 00:44:51 +0000 |
| commit | e643ceae670107a1df04d7949e501723f81e1392 (patch) | |
| tree | e780aa07697f1b6fcb8515f523e178b4aa9927de /man | |
| parent | 35208b42393afa804063657fde8a39f5b70d4a8b (diff) | |
| download | emacs-e643ceae670107a1df04d7949e501723f81e1392.tar.gz emacs-e643ceae670107a1df04d7949e501723f81e1392.zip | |
(Quoted File Names): Minor clarifications.
Diffstat (limited to 'man')
| -rw-r--r-- | man/files.texi | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/man/files.texi b/man/files.texi index d119a85eb7d..1472b49c432 100644 --- a/man/files.texi +++ b/man/files.texi | |||
| @@ -3034,19 +3034,23 @@ can refer to that file in Emacs as @samp{/:/foo:/bar}. | |||
| 3034 | character for a user's home directory. For example, @file{/:/tmp/~hack} | 3034 | character for a user's home directory. For example, @file{/:/tmp/~hack} |
| 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 | Likewise, quoting with @samp{/:} is one way to enter in the minibuffer | 3037 | Quoting with @samp{/:} is also a way to enter in the minibuffer a |
| 3038 | a file name that contains @samp{$}. However, the @samp{/:} must be at | 3038 | file name that contains @samp{$}. In order for this to work, the |
| 3039 | the beginning of the minibuffer in order to quote @samp{$}. (For | 3039 | @samp{/:} must be at the beginning of the minibuffer contents. (You |
| 3040 | another way of quoting @samp{$} in file names see @ref{File Names with | 3040 | can also double each @samp{$}; see @ref{File Names with @samp{$}}.) |
| 3041 | @samp{$}}.) | ||
| 3042 | 3041 | ||
| 3043 | You can also quote wildcard characters with @samp{/:}, for visiting. | 3042 | You can also quote wildcard characters with @samp{/:}, for visiting. |
| 3044 | For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}. | 3043 | For example, @file{/:/tmp/foo*bar} visits the file |
| 3045 | However, in most cases you can simply type the wildcard characters for | 3044 | @file{/tmp/foo*bar}. |
| 3046 | themselves. For example, if the only file name in @file{/tmp} that | 3045 | |
| 3047 | starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, then | 3046 | Another method of getting the same result is to enter |
| 3048 | specifying @file{/tmp/foo*bar} will visit just @file{/tmp/foo*bar}. | 3047 | @file{/tmp/foo[*]bar}, which is a wildcard specification that matches |
| 3049 | Another way is to specify @file{/tmp/foo[*]bar}. | 3048 | only @file{/tmp/foo*bar}. However, in many cases there is no need to |
| 3049 | quote the wildcard characters because even unquoted they give the | ||
| 3050 | right result. For example, if the only file name in @file{/tmp} that | ||
| 3051 | starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, | ||
| 3052 | then specifying @file{/tmp/foo*bar} will visit only | ||
| 3053 | @file{/tmp/foo*bar}. | ||
| 3050 | 3054 | ||
| 3051 | @node File Name Cache | 3055 | @node File Name Cache |
| 3052 | @section File Name Cache | 3056 | @section File Name Cache |