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 #5 received at submit <at> emacsbugs.donarmstrong.com (full text, mbox):

From: "Xah Lee" <xah <at> xahlee.org>
To: <bug-gnu-emacs <at> gnu.org>
Subject: 23.1; dired cannot find gunzip with Z; Windows
Date: Wed, 4 Nov 2009 08:56:09 -0800
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. (the gunzip is in the same dir as gzip.exe) But if i 
rename gunzip to gunzip.exe, but Windows complain that the file is not a exe 
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 
would be appreciated. Thank you.

I'm thinking, shouldn't emacs's dired simply look for gzip and call it with 
gzip -d, instead of looking for the gunzip program? That seems to me simpler 
and more reliable.

 Xah
∑ http://xahlee.org/

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

Previous Next


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