GNU bug report logs - #4867
23.1; dired cannot find gunzip with Z; Windows

Previous Next

Package: emacs;

Reported by: "Xah Lee" <xah <at> xahlee.org>

Date: Wed, 4 Nov 2009 17:05:05 UTC

Severity: normal

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 4867-done <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Xah Lee" <xah <at> xahlee.org>
To: "Eli Zaretskii" <eliz <at> gnu.org>, <4867-done <at> debbugs.gnu.org>
Subject: Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windows
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

thanks to Eli and others.

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 similar 
problems happen in linux that's OS issue, people probably will not look at 
it as “Oh, it's OS issue, emacs doesn't need to deal with it”.

 Xah
∑ http://xahlee.org/

☄


----- Original Message ----- 
From: "Eli Zaretskii" <eliz <at> gnu.org>
To: "Xah Lee" <xah <at> xahlee.org>; <4867-done <at> debbugs.gnu.org>
Sent: Thursday, November 05, 2009 10:55 AM
Subject: Re: bug#4867: 23.1; dired cannot find gunzip with Z; Windows


>> From: "Xah Lee" <xah <at> xahlee.org>
>> 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. 




This bug report was last modified 15 years and 255 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.