From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#4867: 23.1; dired cannot find gunzip with Z; Windows Date: Thu, 05 Nov 2009 22:38:33 +0200 Message-ID: <83bpjgbtbq.fsf@gnu.org> References: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> <83iqdoby3a.fsf@gnu.org> <7DD094C4BE9F42B7965A217C4B33E7FF@xahPC> Reply-To: Eli Zaretskii , 4867@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1257455698 26251 80.91.229.12 (5 Nov 2009 21:14:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 21:14:58 +0000 (UTC) Cc: 4867@emacsbugs.donarmstrong.com To: Xah Lee Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 05 22:14:51 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 1N69fO-0007iv-Kj for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 22:14:50 +0100 Original-Received: from localhost ([127.0.0.1]:33768 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N69fN-0007gu-QD for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 16:14:49 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N69Es-0001fH-Uw for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 15:47:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N69Eo-0001c5-73 for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 15:47:25 -0500 Original-Received: from [199.232.76.173] (port=33631 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N69En-0001bw-9Y for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 15:47:21 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:33078) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N69El-0001p2-2z for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 15:47:19 -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 nA5KlGas012199; Thu, 5 Nov 2009 12:47:16 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA5Kj4Qu011787; Thu, 5 Nov 2009 12:45:04 -0800 Resent-Date: Thu, 5 Nov 2009 12:45:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Eli Zaretskii Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Thu, 05 Nov 2009 20:45:03 +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.125745355011097 (code B ref 4867); Thu, 05 Nov 2009 20:45:03 +0000 Original-Received: (at 4867) by emacsbugs.donarmstrong.com; 5 Nov 2009 20:39:10 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from mtaout22.012.net.il (mtaout22.012.net.il [80.179.55.172]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA5Kd85d011086 for <4867@emacsbugs.donarmstrong.com>; Thu, 5 Nov 2009 12:39:09 -0800 Original-Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KSN00800KYQ5200@a-mtaout22.012.net.il> for 4867@emacsbugs.donarmstrong.com; Thu, 05 Nov 2009 22:38:26 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KSN00874LC0KK00@a-mtaout22.012.net.il>; Thu, 05 Nov 2009 22:38:25 +0200 (IST) In-reply-to: <7DD094C4BE9F42B7965A217C4B33E7FF@xahPC> X-012-Sender: halo1@inter.net.il X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id nA5KlGas012199 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 05 Nov 2009 15:47:25 -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:32436 Archived-At: > From: "Xah Lee" > Date: Thu, 5 Nov 2009 12:25:14 -0800 >=20 > Found a solution. Create a file name gunzip.bat, with this content: >=20 > @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=20 > Windows OS problem isn't very helpful in solving this. I'm sure if simi= lar=20 > problems happen in linux that's OS issue, people probably will not look= at=20 > 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.