From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: odt file instant open Date: Tue, 27 Jul 2010 19:58:31 +0300 Message-ID: <83y6cwamko.fsf@gnu.org> References: <4C4E8B18.9080005@easy-emacs.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: dough.gmane.org 1280250063 27307 80.91.229.12 (27 Jul 2010 17:01:03 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 17:01:03 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 27 19:01:01 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OdnWX-0003e4-47 for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 19:01:01 +0200 Original-Received: from localhost ([127.0.0.1]:54905 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdnWW-0005tD-Bt for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 13:01:00 -0400 Original-Received: from [140.186.70.92] (port=37992 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdnU8-0003mL-GY for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 12:58:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdnU6-0000e2-Nk for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 12:58:31 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:42635) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdnU6-0000do-HT for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 12:58:30 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0L6800B00734Y800@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 19:58:29 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([77.127.61.30]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0L680093475G89A0@a-mtaout21.012.net.il> for help-gnu-emacs@gnu.org; Tue, 27 Jul 2010 19:58:29 +0300 (IDT) In-reply-to: <4C4E8B18.9080005@easy-emacs.de> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74310 Archived-At: > Date: Tue, 27 Jul 2010 09:30:32 +0200 > From: Andreas R=C3=B6hler >=20 > 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) -- a= nd it > > opened up to a "Zip-Archive Narrow" view of all the files contain= ed > > therein Poking around on the Internet, I found that Emacs > > automatically unpacks a .odt file, which is nothing more than a z= ip > > file. My question is this: How is Emacs doing this? >=20 > 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.