From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Xah Lee" Newsgroups: gmane.emacs.bugs Subject: bug#4867: 23.1; dired cannot find gunzip with Z; Windows Date: Thu, 5 Nov 2009 13:12:30 -0800 Message-ID: <664A39468EC9464BAE3CFF2D86FD5E56@xahPC> References: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> <83iqdoby3a.fsf@gnu.org> <7DD094C4BE9F42B7965A217C4B33E7FF@xahPC> <83bpjgbtbq.fsf@gnu.org> Reply-To: Xah Lee , 4867@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257458784 4384 80.91.229.12 (5 Nov 2009 22:06:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 22:06:24 +0000 (UTC) Cc: 4867@emacsbugs.donarmstrong.com To: "Eli Zaretskii" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 05 23:06:16 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N6AT8-0006jY-DS for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 23:06:15 +0100 Original-Received: from localhost ([127.0.0.1]:51162 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N6AT7-0000sa-Ql for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 17:06:13 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N69rf-0002MJ-VX for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 16:27:32 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N69ra-0002FJ-Cv for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 16:27:30 -0500 Original-Received: from [199.232.76.173] (port=37975 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N69rY-0002F4-LQ for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 16:27:24 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:43773) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N69rU-00087c-Gr for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 16:27:21 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA5LRGFF016301; Thu, 5 Nov 2009 13:27:16 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA5LK6RQ015635; Thu, 5 Nov 2009 13:20:06 -0800 Resent-Date: Thu, 5 Nov 2009 13:20:06 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: "Xah Lee" Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 05 Nov 2009 21:20:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4867 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4867-submit@emacsbugs.donarmstrong.com id=B4867.125745556915137 (code B ref 4867); Thu, 05 Nov 2009 21:20:06 +0000 Original-Received: (at 4867) by emacsbugs.donarmstrong.com; 5 Nov 2009 21:12:49 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mout.perfora.net (mout.perfora.net [74.208.4.195]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA5LClYZ015129 for <4867@emacsbugs.donarmstrong.com>; Thu, 5 Nov 2009 13:12:48 -0800 Original-Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus1) with ESMTP (Nemesis) id 0Mds3B-1MnDZq0Pzp-00QCVx; Thu, 05 Nov 2009 16:12:41 -0500 In-Reply-To: <83bpjgbtbq.fsf@gnu.org> X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6002.18005 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6002.18005 X-Provags-ID: V01U2FsdGVkX19JMX0zTC1kOcwk4majPpL9PeUGvPjHf13bAma JuVaS5rQhDMPl6qEN4zfGW0CwE1rB99HjkP6dklwLzV6gUDHBr 1K/qqweXQe0T/Bu9mrSnw== X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id nA5LRGFF016301 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 05 Nov 2009 16:27:30 -0500 X-Mailman-Approved-At: Thu, 05 Nov 2009 17:05:20 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:32437 Archived-At: > It's better to change the last line to > > gzip -d %* > > because then you will be able to give more than one argument to this > batch file. E.g., if you want to pass additional switches or unpack > several files. Thanks for the tip. I followed your advice on my machine. > Anyway, why do you have gunzip as a shell script? I looked at a > native Windows port and on a GNU/Linux box, and they both have gunzip > as a first-class binary executable program. Cygwin and msys both use a shell script for some reason. Xah ----- Original Message -----=20 From: "Eli Zaretskii" To: "Xah Lee" Cc: <4867@emacsbugs.donarmstrong.com> Sent: Thursday, November 05, 2009 12:38 PM Subject: Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windows >> From: "Xah Lee" >> Date: Thu, 5 Nov 2009 12:25:14 -0800 >> >> Found a solution. Create a file name gunzip.bat, with this content: >> >> @echo off >> gzip -d %1 > > It's better to change the last line to > > gzip -d %* > > because then you will be able to give more than one argument to this > batch file. E.g., if you want to pass additional switches or unpack > several files. > >> I think this should still considered a bug though. Considering it as a >> Windows OS problem isn't very helpful in solving this. I'm sure if=20 >> similar >> problems happen in linux that's OS issue, people probably will not loo= k=20 >> at >> it as =E2=80=9COh, it's OS issue, emacs doesn't need to deal with it=E2= =80=9D. > > If you try the same with a Windows batch file on GNU/Linux, Emacs will > barf there as well. Emacs behave according to the rules of the host > OS, so you cannot expect it to be able to run alien executables from > some other OS that the host does not recognize as executables and > doesn't know how to run. > > Anyway, why do you have gunzip as a shell script? I looked at a > native Windows port and on a GNU/Linux box, and they both have gunzip > as a first-class binary executable program.=20