From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "jerry d" Newsgroups: gmane.emacs.help Subject: Re: on winNT, zip-archive mode fails with jar files - please help Date: Mon, 4 Nov 2002 09:44:15 +0100 Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3dc6335f$0$46606$e4fe514c@news.xs4all.nl> References: NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1036400539 29368 80.91.224.249 (4 Nov 2002 09:02:19 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 4 Nov 2002 09:02:19 +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 188d7h-0007dU-00 for ; Mon, 04 Nov 2002 10:02:17 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 188d5Q-0004WQ-00; Mon, 04 Nov 2002 03:59:56 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!peer1.news.newnet.co.uk!zen.net.uk!news.nl.linux.org!humbolt.nl.linux.org!transit.news.xs4all.nl!newsfeed.xs4all.nl!xs4all!news.xs4all.nl!not-for-mail Original-Newsgroups: gnu.emacs.help X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 Original-Lines: 35 Original-NNTP-Posting-Host: 212.78.172.30 Original-X-Trace: 1036399455 news.xs4all.nl 46606 jdijkmei/212.78.172.30:30431 Original-Xref: shelby.stanford.edu gnu.emacs.help:106714 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:3268 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:3268 I had the same thing, it worked fine on 20.7 but apparently default behaviour has changed in 21.2. What i did to get it to work correctly was download the gnu-utils zip, unzip etc. and used that for unzip. with M-x customize-group RET archive-zip you can customize the invoked programs for zipping and unzipping files. below the settings I use: (custom-set-variables ;; custom-set-variables was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. '(archive-zip-expunge (quote ("zip" "-d" "-q"))) '(archive-zip-extract (quote ("unzip" "-qq" "-c"))) '(archive-zip-update (quote ("zip" "-q"))) '(archive-zip-update-case (quote ("zip" "-q" "-k"))) '(archive-zip-use-pkzip nil)) (custom-set-faces ;; custom-set-faces was added by Custom -- don't edit or cut/paste it! ;; Your init file should contain only one such instance. ) regards, jeroen. "cirvine" wrote in message news:ece6c769.0211031212.3dcaedb9@posting.google.com... > When I invoke find-file on a Java .jar file, the contents of the jar > file are displayed in a zip-archive mode buffer. Is this the correct > mode? When I attempt to view the contents of one of the archived files > (by pressing "f"), emacs displays an error in the mode line that says > "'gunzip' exited with status 128". Please, someone, what's going wrong > here? Thanks.