From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Olwe Melwasul Newsgroups: gmane.emacs.help Subject: odt file instant open Date: Mon, 26 Jul 2010 11:29:17 -0500 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: dough.gmane.org 1280207682 13420 80.91.229.12 (27 Jul 2010 05:14:42 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Tue, 27 Jul 2010 05:14:42 +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 07:14:41 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 1OdcUx-0000d6-GQ for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 07:14:39 +0200 Original-Received: from localhost ([127.0.0.1]:49901 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdcUw-00040y-KO for geh-help-gnu-emacs@m.gmane.org; Tue, 27 Jul 2010 01:14:38 -0400 Original-Received: from [140.186.70.92] (port=39079 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OdQYK-0001wK-T3 for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 12:29:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OdQYJ-0005R4-Pc for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 12:29:20 -0400 Original-Received: from mail-vw0-f41.google.com ([209.85.212.41]:63636) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OdQYJ-0005Qo-G6 for help-gnu-emacs@gnu.org; Mon, 26 Jul 2010 12:29:19 -0400 Original-Received: by vws16 with SMTP id 16so2820678vws.0 for ; Mon, 26 Jul 2010 09:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:date:message-id :subject:from:to:content-type; bh=Xp7HloNWLubtIfHJOjJRlOfTipaJ1pjW1HuxML6nnGg=; b=iMJzFlYHDyrh0Nf751Isf5PYyGLl4mBlOQC3JenDZZC0e9sZexBGSfOTktEFqdWG0y Hyz4E8peweJhpG70m5phZeKjk3PhSi5q95Pgm9FU3K/pBvKgyWva0IAHkJZUBT94+EZZ i1vNjtPOtPtSekn0P15KXQPbu0JHslb1ntJGQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=FZW74Cf3olq6gUkOnPqJu0sz927MbtTNvniZFp5AtGwGcGCL/yc5dVFgjIhzI6BZ/K OgDOlvjw1+B9xcUVgGSJmkDYJg0ZdOUbi+wBQPPAYv+oL9Z2si/gO+kENnQCsfWdA8nv 838YDKe1NUThsFW9o1pULnCdLDr/aU5pPY1RM= Original-Received: by 10.220.88.167 with SMTP id a39mr4280578vcm.73.1280161758956; Mon, 26 Jul 2010 09:29:18 -0700 (PDT) Original-Received: by 10.220.194.137 with HTTP; Mon, 26 Jul 2010 09:29:17 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 27 Jul 2010 01:13:43 -0400 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:74300 Archived-At: 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? What code is running (what .el is invoked) to make this happen? Also, where might documentation be on how to control this zip/unzip functionality with elisp. I don't want to do a system call, i.e., reinvent the wheel. O