aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Love2000-03-12 18:13:30 +0000
committerDave Love2000-03-12 18:13:30 +0000
commit259a88ca0528916a87a01e731352ecfc6329b1ff (patch)
treeb1542fce21ed6c57c6513099a33df169a073f114
parentb9d2c7e263873dd942fb09a77e084cd7be6da5a1 (diff)
downloademacs-259a88ca0528916a87a01e731352ecfc6329b1ff.tar.gz
emacs-259a88ca0528916a87a01e731352ecfc6329b1ff.zip
(Compressed Files): Note custom option.
(File Archives): New section.
-rw-r--r--man/files.texi67
1 files changed, 65 insertions, 2 deletions
diff --git a/man/files.texi b/man/files.texi
index dfd8087e424..bf2ddb5bb95 100644
--- a/man/files.texi
+++ b/man/files.texi
@@ -1,5 +1,5 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 1985,86,87,93,94,95,97,1999 Free Software Foundation, Inc. 2@c Copyright (C) 1985,86,87,93,94,95,97,99, 2000 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4@node Files, Buffers, Fixit, Top 4@node Files, Buffers, Fixit, Top
5@chapter File Handling 5@chapter File Handling
@@ -31,6 +31,7 @@ on file directories.
31* Comparing Files:: Finding where two files differ. 31* Comparing Files:: Finding where two files differ.
32* Misc File Ops:: Other things you can do on files. 32* Misc File Ops:: Other things you can do on files.
33* Compressed Files:: Accessing compressed files. 33* Compressed Files:: Accessing compressed files.
34* File Archives:: Operating on tar, zip, jar etc. archive files.
34* Remote Files:: Accessing files on other sites. 35* Remote Files:: Accessing files on other sites.
35* Quoted File Names:: Quoting special characters in file names. 36* Quoted File Names:: Quoting special characters in file names.
36@end menu 37@end menu
@@ -2346,10 +2347,12 @@ in use. Note that not all systems support symbolic links.
2346@pindex gzip 2347@pindex gzip
2347 2348
2348@findex auto-compression-mode 2349@findex auto-compression-mode
2350@vindex auto-compression-mode
2349 Emacs comes with a library that can automatically uncompress 2351 Emacs comes with a library that can automatically uncompress
2350compressed files when you visit them, and automatically recompress them 2352compressed files when you visit them, and automatically recompress them
2351if you alter them and save them. To enable this feature, type the 2353if you alter them and save them. To enable this feature, type the
2352command @kbd{M-x auto-compression-mode}. 2354command @kbd{M-x auto-compression-mode}. You can enable it permanently
2355by customizing the option @var{auto-compression-mode}.
2353 2356
2354 When automatic compression (which implies automatic uncompression as 2357 When automatic compression (which implies automatic uncompression as
2355well) is enabled, Emacs recognizes compressed files by their file names. 2358well) is enabled, Emacs recognizes compressed files by their file names.
@@ -2361,6 +2364,66 @@ which Emacs uses the contents of a file. This includes visiting it,
2361saving it, inserting its contents into a buffer, loading it, and byte 2364saving it, inserting its contents into a buffer, loading it, and byte
2362compiling it. 2365compiling it.
2363 2366
2367@node File Archives
2368@section File Archives
2369@cindex mode, tar
2370@cindex Tar mode
2371@cindex Archive mode
2372@cindex mode, archive
2373@cindex @code{arc}
2374@cindex @code{jar}
2375@cindex @code{zip}
2376@cindex @code{lzh}
2377@cindex @code{zoo}
2378@pindex tar
2379@pindex arc
2380@pindex jar
2381@pindex zip
2382@pindex lzh
2383@pindex zoo
2384
2385If you visit a file with extension @samp{.tar}, it is assumed to be an
2386`archive' made by the @code{tar} program and it is viewed in a Tar mode
2387buffer. This provides a Dired-like listing of the contents.
2388@xref{Dired}. You can move around the component files as in Dired to
2389visit and manipulate them.
2390
2391The keys @kbd{e}, @kbd{f} and @kbd{RET} all extract a component file
2392into its own buffer. You can edit it there and when you save the buffer
2393the edited version will replace the version in the Tar buffer. @var{v}
2394extracts a file into a buffer in View mode. @kbd{d} marks a file for
2395deletion when you later use @kbd{x}, as in Dired. @kbd{C} copies a file
2396from the archive to disk and @kbd{R} renames a file.
2397
2398Saving the Tar buffer writes a new version of the archive to disk with
2399the changes you made to the components.
2400
2401If you enable Auto Compression mode (@pxref{Compressed Files}), then Tar
2402mode will be used also for compressed archives in files with extensions
2403@samp{.tgz}, @code{.tar.Z} and @code{.tar.gz}.
2404
2405@cindex @code{arc}
2406@cindex @code{jar}
2407@cindex @code{zip}
2408@cindex @code{lzh}
2409@cindex @code{zoo}
2410@pindex tar
2411@pindex arc
2412@pindex jar
2413@pindex zip
2414@pindex lzh
2415@pindex zoo
2416@cindex Java class archives
2417A separate but similar Archive mode, is used for archives produced by
2418the programs @code{arc}, @code{zip}, @code{lzh} and @code{zoo} which
2419have extensions corresponding to the program names. These archiving
2420programs are typically used on MS-DOS and MS-Windows systems. Java
2421class archives with extension @samp{.jar} are also recognized. The
2422keybindings in Archive mode are similar to those in Tar mode.
2423
2424It is not necessary to have the archiving programs installed to use Tar
2425mode or Archive mode---Emacs reads the archives directly.
2426
2364@node Remote Files 2427@node Remote Files
2365@section Remote Files 2428@section Remote Files
2366 2429