diff options
| author | Dave Love | 2000-03-26 17:56:47 +0000 |
|---|---|---|
| committer | Dave Love | 2000-03-26 17:56:47 +0000 |
| commit | 7ed32bd87f7df47ce63f2ee3810064e7d1d91896 (patch) | |
| tree | e839947a9fdc417395495a9c936949c19539edda /man | |
| parent | 08f8b1cc01be4dddc23f0fb4f88a678d53927880 (diff) | |
| download | emacs-7ed32bd87f7df47ce63f2ee3810064e7d1d91896.tar.gz emacs-7ed32bd87f7df47ce63f2ee3810064e7d1d91896.zip | |
(Visiting): List wildcard chars. Mention find-file-wildcards.
(File Archives): Archiving programs _are_ needed (but not tar).
(Remote Files): Xref quoted file names.
(Quoted File Names): Can quote * as [*].
Diffstat (limited to 'man')
| -rw-r--r-- | man/files.texi | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/man/files.texi b/man/files.texi index bf2ddb5bb95..2dabe05197c 100644 --- a/man/files.texi +++ b/man/files.texi | |||
| @@ -220,9 +220,14 @@ look at, or operate on the files in the directory. However, if the | |||
| 220 | variable @code{find-file-run-dired} is @code{nil}, then it is an error | 220 | variable @code{find-file-run-dired} is @code{nil}, then it is an error |
| 221 | to try to visit a directory. | 221 | to try to visit a directory. |
| 222 | 222 | ||
| 223 | If the file name you specify contains wildcard characters, Emacs | 223 | @cindex wildcard characters in file names |
| 224 | visits all the files that match it. @xref{Quoted File Names}, if you | 224 | @vindex find-file-wildcards |
| 225 | want to visit a file whose name actually contains wildcard characters. | 225 | If the file name you specify contains @code{sh}-style wildcard |
| 226 | characters, Emacs visits all the files that match it. @xref{Quoted File | ||
| 227 | Names}, if you want to visit a file whose name actually contains | ||
| 228 | wildcard characters. Wildcards comprise @samp{?}, @samp{*} and | ||
| 229 | @samp{[@dots{}]} sequences. The wildcard feature can be disabled by | ||
| 230 | customizing @code{find-file-wildcards}. | ||
| 226 | 231 | ||
| 227 | If you visit a file that the operating system won't let you modify, | 232 | If you visit a file that the operating system won't let you modify, |
| 228 | Emacs makes the buffer read-only, so that you won't go ahead and make | 233 | Emacs makes the buffer read-only, so that you won't go ahead and make |
| @@ -2402,6 +2407,9 @@ If you enable Auto Compression mode (@pxref{Compressed Files}), then Tar | |||
| 2402 | mode will be used also for compressed archives in files with extensions | 2407 | mode will be used also for compressed archives in files with extensions |
| 2403 | @samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}. | 2408 | @samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}. |
| 2404 | 2409 | ||
| 2410 | It is not necessary to have the @code{tar} program available to use Tar | ||
| 2411 | mode or Archive mode---Emacs reads the archives directly. | ||
| 2412 | |||
| 2405 | @cindex @code{arc} | 2413 | @cindex @code{arc} |
| 2406 | @cindex @code{jar} | 2414 | @cindex @code{jar} |
| 2407 | @cindex @code{zip} | 2415 | @cindex @code{zip} |
| @@ -2421,8 +2429,9 @@ programs are typically used on MS-DOS and MS-Windows systems. Java | |||
| 2421 | class archives with extension @samp{.jar} are also recognized. The | 2429 | class archives with extension @samp{.jar} are also recognized. The |
| 2422 | keybindings in Archive mode are similar to those in Tar mode. | 2430 | keybindings in Archive mode are similar to those in Tar mode. |
| 2423 | 2431 | ||
| 2424 | It is not necessary to have the archiving programs installed to use Tar | 2432 | Unlike Tar mode, Archive mode runs the appropriate program to unpack and |
| 2425 | mode or Archive mode---Emacs reads the archives directly. | 2433 | repack archives. Details of the program names and their options can be |
| 2434 | set in the `Archive' Customize group. | ||
| 2426 | 2435 | ||
| 2427 | @node Remote Files | 2436 | @node Remote Files |
| 2428 | @section Remote Files | 2437 | @section Remote Files |
| @@ -2458,7 +2467,9 @@ that means to use your own user name. But if you set the variable | |||
| 2458 | You can entirely turn off the FTP file name feature by removing the | 2467 | You can entirely turn off the FTP file name feature by removing the |
| 2459 | entries @var{ange-ftp-completion-hook-function} and | 2468 | entries @var{ange-ftp-completion-hook-function} and |
| 2460 | @var{ange-ftp-hook-function} from the variable | 2469 | @var{ange-ftp-hook-function} from the variable |
| 2461 | @code{file-name-handler-alist}. | 2470 | @code{file-name-handler-alist}. You can turn off the feature in |
| 2471 | individual cases by quoting the file name with @samp{/:} (@pxref{Quoted | ||
| 2472 | File Names}). | ||
| 2462 | 2473 | ||
| 2463 | @node Quoted File Names | 2474 | @node Quoted File Names |
| 2464 | @section Quoted File Names | 2475 | @section Quoted File Names |
| @@ -2481,10 +2492,11 @@ refers to a file whose name is @file{~hack} in directory @file{/tmp}. | |||
| 2481 | a file name that contains @samp{$}. However, the @samp{/:} must be at | 2492 | a file name that contains @samp{$}. However, the @samp{/:} must be at |
| 2482 | the beginning of the buffer in order to quote @samp{$}. | 2493 | the beginning of the buffer in order to quote @samp{$}. |
| 2483 | 2494 | ||
| 2495 | @cindex wildcard characters in file names | ||
| 2484 | You can also quote wildcard characters with @samp{/:}, for visiting. | 2496 | You can also quote wildcard characters with @samp{/:}, for visiting. |
| 2485 | For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}. | 2497 | For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}. |
| 2486 | However, in most cases you can simply type the wildcard characters for | 2498 | However, in most cases you can simply type the wildcard characters for |
| 2487 | themselves. For example, if the only file name in @file{/tmp} that | 2499 | themselves. For example, if the only file name in @file{/tmp} that |
| 2488 | starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, then | 2500 | starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, then |
| 2489 | specifying @file{/tmp/foo*bar} will visit just @file{/tmp/foo*bar}. | 2501 | specifying @file{/tmp/foo*bar} will visit just @file{/tmp/foo*bar}. |
| 2490 | 2502 | Another way is to specify @file{/tmp/foo[*]bar}. | |