help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: odt file instant open


From: Eli Zaretskii
Subject: Re: odt file instant open
Date: Tue, 27 Jul 2010 19:58:31 +0300

> Date: Tue, 27 Jul 2010 09:30:32 +0200
> From: Andreas Röhler <andreas.roehler@easy-emacs.de>
> 
> Am 26.07.2010 18:29, schrieb Olwe Melwasul:
> > I'm trying to grok the open document format, so I took the first wild
> > and crazy step of simply trying to open it in Emacs (23.2.1) -- and it
> > opened up to a "Zip-Archive Narrow" view of all the files contained
> > therein Poking around on the Internet, I found that Emacs
> > automatically unpacks a .odt file, which is nothing more than a zip
> > file. My question is this: How is Emacs doing this?
> 
> by calling a shell-command resp. to the ending found.

No.  For most archive types, arc-mode.el (and tar-mode.el) can list
the contents directly, just by reading the archive file itself.
Extracting the individual files in the archive sometimes needs to run
an external program.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]