From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bijan Soleymani Newsgroups: gmane.emacs.help Subject: Re: visiting large zip file Date: 06 Feb 2003 21:36:25 -0500 Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <87adh8izpy.fsf@server.crasseux.com> References: <7ivg04kf6z.fsf@neoscale.com> <5l7kch5pa2.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1044584985 8332 80.91.224.249 (7 Feb 2003 02:29:45 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 7 Feb 2003 02:29:45 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 18gyGu-0002AG-00 for ; Fri, 07 Feb 2003 03:29:44 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18gyHd-0008AJ-08 for gnu-help-gnu-emacs@m.gmane.org; Thu, 06 Feb 2003 21:30:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!nntp.cs.ubc.ca!cyclone.bc.net!snoopy.risq.qc.ca!wesley.videotron.net!wagner.videotron.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 21 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Original-NNTP-Posting-Host: 24.201.123.149 Original-X-Complaints-To: abuse@videotron.ca Original-X-Trace: wagner.videotron.net 1044584973 24.201.123.149 (Thu, 06 Feb 2003 21:29:33 EST) Original-NNTP-Posting-Date: Thu, 06 Feb 2003 21:29:33 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:109900 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:6405 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:6405 "Stefan Monnier " writes: > >> Obviously this is not the way it should work since the zip file > >> content doesn't need to be read into the buffer. > > Actually, the Emacs mode that supports operations on *.zip files > > _does_ read the whole zip file into a buffer; hence the problem. > > But I think Kin's point still holds: Emacs does not *need* to read > the file, since it uses external tools to extract/list/... > Contrary to tar-mode, for example. > > > Stefan Technically it doesn't. Emacs simply opens the file to determine the contents by itself. If it didn't do this it would have to deal with the different switches used by various "unzip" programs out there to list the contents of an archive (not to mention having to reformat the output of such a listing). Wouldn't be so hard but might cause problems if people use nonstandard tools. Bijan