From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#4867: marked as done (23.1; dired cannot find gunzip with Z; Windows) Date: Thu, 05 Nov 2009 19:05:06 +0000 Message-ID: References: <83iqdoby3a.fsf@gnu.org> <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1257447906-767-0" X-Trace: ger.gmane.org 1257448101 32450 80.91.229.12 (5 Nov 2009 19:08:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 5 Nov 2009 19:08:21 +0000 (UTC) To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Nov 05 20:08:12 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 1N67gi-0004t7-HB for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 20:08:04 +0100 Original-Received: from localhost ([127.0.0.1]:48942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N67gh-0004xW-TY for geb-bug-gnu-emacs@m.gmane.org; Thu, 05 Nov 2009 14:08:03 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N67g8-0004gq-C4 for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 14:07:28 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N67g3-0004dx-DG for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 14:07:27 -0500 Original-Received: from [199.232.76.173] (port=49014 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N67g2-0004dr-Pp for bug-gnu-emacs@gnu.org; Thu, 05 Nov 2009 14:07:22 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:46675) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1N67fz-0002oU-49; Thu, 05 Nov 2009 14:07: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 nA5J7GXl001773; Thu, 5 Nov 2009 11:07:17 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id nA5J56BX001078; Thu, 5 Nov 2009 11:05:06 -0800 X-Mailer: MIME-tools 5.427 (Entity 5.427) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 4867 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:32435 Archived-At: This is a multi-part message in MIME format... ------------=_1257447906-767-0 Content-Disposition: inline Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Your message dated Thu, 05 Nov 2009 20:55:37 +0200 with message-id <83iqdoby3a.fsf@gnu.org> and subject line Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windo= ws has caused the Emacs bug report #4867, regarding 23.1; dired cannot find gunzip with Z; Windows to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 4867: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D4867 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1257447906-767-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at submit) by emacsbugs.donarmstrong.com; 4 Nov 2009 16:56:23 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-0.6 required=4.0 tests=AWL,FOURLA,STOX_REPLY_TYPE autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id nA4GuLqf028422 for ; Wed, 4 Nov 2009 08:56:22 -0800 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N5j9g-0007E5-P5 for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2009 11:56:20 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N5j9f-0007CU-1O for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2009 11:56:19 -0500 Received: from [199.232.76.173] (port=46942 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N5j9e-0007CR-V4 for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2009 11:56:19 -0500 Received: from mout.perfora.net ([74.208.4.195]:59505) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N5j9e-00080F-Jt for bug-gnu-emacs@gnu.org; Wed, 04 Nov 2009 11:56:18 -0500 Received: from xahPC (c-76-102-12-87.hsd1.ca.comcast.net [76.102.12.87]) by mrelay.perfora.net (node=mrus0) with ESMTP (Nemesis) id 0McUXo-1MoCIq14DI-00I6Cm; Wed, 04 Nov 2009 11:56:17 -0500 Message-ID: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> From: "Xah Lee" To: Subject: 23.1; dired cannot find gunzip with Z; Windows Date: Wed, 4 Nov 2009 08:56:09 -0800 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="utf-8"; reply-type=original 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: V01U2FsdGVkX18oZh4cVJxn/K/tVIXxkZUqUmYL/6KbsSghbD+ tlgaU6dBJguFyrHizCDz0UrAhRF2RnVrcoQ9vVL06FT0jjx5Nu xu5lq6eTLdH56/adx7WGQ== X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by rzlab.ucr.edu id nA5J7GXl001773 when using emacs on Windows, when in dired, when i press Z on a file that= 's=20 gzip compressed, emacs tells me: 'gunzip' is not recognized as an internal or external command, the problem is apparently that emacs won't recognize the gunzip shell scr= ipt=20 without the exe suffix. (the gunzip is in the same dir as gzip.exe) But i= f i=20 rename gunzip to gunzip.exe, but Windows complain that the file is not a = exe=20 format. extra detail: when i do (executable-find "gzip") emacs says "c:/cygwin/bin/gzip.exe" and (executable-find "gunzip") says nil. the gunzip exists at c:/cygwin/bin/gunzip which is a shell script that calls gzip -d. Same problem when starting emacs with -Q. GNU Emacs 23.1.1 (i386-mingw-nt6.0.6002) of 2009-07-29 on SOFT-MJASON --------- I'm reporting this as a bug, but tips on solving this on my machine also=20 would be appreciated. Thank you. I'm thinking, shouldn't emacs's dired simply look for gzip and call it wi= th=20 gzip -d, instead of looking for the gunzip program? That seems to me simp= ler=20 and more reliable. Xah =E2=88=91 http://xahlee.org/ =E2=98=84=20 ------------=_1257447906-767-0 Content-Type: message/rfc822 Content-Disposition: inline Received: (at 4867-done) by emacsbugs.donarmstrong.com; 5 Nov 2009 18:55:38 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-2.9 required=4.0 tests=AWL,HAS_BUG_NUMBER autolearn=ham version=3.2.5-bugs.debian.org_2005_01_02 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 nA5ItaYM032467 for <4867-done@emacsbugs.donarmstrong.com>; Thu, 5 Nov 2009 10:55:37 -0800 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0KSN00400GJQJS00@a-mtaout22.012.net.il> for 4867-done@emacsbugs.donarmstrong.com; Thu, 05 Nov 2009 20:55:29 +0200 (IST) Received: from HOME-C4E4A596F7 ([87.70.37.193]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0KSN00MZMGKGPUC0@a-mtaout22.012.net.il>; Thu, 05 Nov 2009 20:55:29 +0200 (IST) Date: Thu, 05 Nov 2009 20:55:37 +0200 From: Eli Zaretskii Subject: Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windows In-reply-to: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> X-012-Sender: halo1@inter.net.il To: Xah Lee , 4867-done@emacsbugs.donarmstrong.com Reply-to: Eli Zaretskii Message-id: <83iqdoby3a.fsf@gnu.org> References: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> MIME-Version: 1.0 > From: "Xah Lee" > Date: Wed, 4 Nov 2009 08:56:09 -0800 > Cc: > > when using emacs on Windows, when in dired, when i press Z on a file that's > gzip compressed, emacs tells me: > 'gunzip' is not recognized as an internal or external command, > > the problem is apparently that emacs won't recognize the gunzip shell script > without the exe suffix. No, this error message comes from the OS, not from Emacs. Windows does not support invocation of Unixy shell scripts, and thus Emacs, being a native Windows program that uses Windows APIs, cannot run them. To make this work, create a Windows batch file unzip.bat which invokes gzip.exe with the -d switch. Then Emacs will find it and do what you want. I'm closing this bug. ------------=_1257447906-767-0--