arc-mode.el) is the Emacs builtin mode for viewing and editing the contents of archive files like
.zoo, etc. See arc for the basics.
.tar files are handled by TarMode, which is slightly different.
New archive types can be added to
archive-mode without too much trouble. The builtin modes usually look at the file directly to get the contents, but run an external program to make changes. Have a look at for instance
- arc-lzh-exe.el – adds support for lzh self-extracting executables (viewing only)
Note about archive-mode for emacs within the cygwin environment:
- Diagnostics: Only an empty directory is shown by emacs within cygwin for a non-empty zip-file.
- Cause: The zip file has been stored in a MS-DOS path that was mounted under cygwin in text-mode. The zip-file contains carry return-linefeed sequences that are truncated to linefeed only in the cygwin text file system. This invalidates the offsets in the central directory at the end of the zip-file. Thus the directory entries are not found.
- Fix: Mount the file system in binary mode. See manual page for mount under cygwin.