aboutsummaryrefslogtreecommitdiffstats
path: root/man
diff options
context:
space:
mode:
authorDave Love2000-03-26 17:56:47 +0000
committerDave Love2000-03-26 17:56:47 +0000
commit7ed32bd87f7df47ce63f2ee3810064e7d1d91896 (patch)
treee839947a9fdc417395495a9c936949c19539edda /man
parent08f8b1cc01be4dddc23f0fb4f88a678d53927880 (diff)
downloademacs-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.texi26
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
220variable @code{find-file-run-dired} is @code{nil}, then it is an error 220variable @code{find-file-run-dired} is @code{nil}, then it is an error
221to try to visit a directory. 221to 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
224visits all the files that match it. @xref{Quoted File Names}, if you 224@vindex find-file-wildcards
225want to visit a file whose name actually contains wildcard characters. 225 If the file name you specify contains @code{sh}-style wildcard
226characters, Emacs visits all the files that match it. @xref{Quoted File
227Names}, if you want to visit a file whose name actually contains
228wildcard characters. Wildcards comprise @samp{?}, @samp{*} and
229@samp{[@dots{}]} sequences. The wildcard feature can be disabled by
230customizing @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,
228Emacs makes the buffer read-only, so that you won't go ahead and make 233Emacs 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
2402mode will be used also for compressed archives in files with extensions 2407mode 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
2410It is not necessary to have the @code{tar} program available to use Tar
2411mode 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
2421class archives with extension @samp{.jar} are also recognized. The 2429class archives with extension @samp{.jar} are also recognized. The
2422keybindings in Archive mode are similar to those in Tar mode. 2430keybindings in Archive mode are similar to those in Tar mode.
2423 2431
2424It is not necessary to have the archiving programs installed to use Tar 2432Unlike Tar mode, Archive mode runs the appropriate program to unpack and
2425mode or Archive mode---Emacs reads the archives directly. 2433repack archives. Details of the program names and their options can be
2434set 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
2459entries @var{ange-ftp-completion-hook-function} and 2468entries @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
2471individual cases by quoting the file name with @samp{/:} (@pxref{Quoted
2472File 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}.
2481a file name that contains @samp{$}. However, the @samp{/:} must be at 2492a file name that contains @samp{$}. However, the @samp{/:} must be at
2482the beginning of the buffer in order to quote @samp{$}. 2493the 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.
2485For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}. 2497For example, @file{/:/tmp/foo*bar} visits the file @file{/tmp/foo*bar}.
2486However, in most cases you can simply type the wildcard characters for 2498However, in most cases you can simply type the wildcard characters for
2487themselves. For example, if the only file name in @file{/tmp} that 2499themselves. For example, if the only file name in @file{/tmp} that
2488starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, then 2500starts with @samp{foo} and ends with @samp{bar} is @file{foo*bar}, then
2489specifying @file{/tmp/foo*bar} will visit just @file{/tmp/foo*bar}. 2501specifying @file{/tmp/foo*bar} will visit just @file{/tmp/foo*bar}.
2490 2502Another way is to specify @file{/tmp/foo[*]bar}.