all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Xah Lee" <xah@xahlee.org>
To: <bug-gnu-emacs@gnu.org>
Subject: bug#4867: 23.1; dired cannot find gunzip with Z; Windows
Date: Wed, 4 Nov 2009 08:56:09 -0800	[thread overview]
Message-ID: <39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC> (raw)

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/

             reply	other threads:[~2009-11-04 16:56 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <83iqdoby3a.fsf@gnu.org>
2009-11-04 16:56 ` Xah Lee [this message]
2009-11-05 19:05   ` bug#4867: marked as done (23.1; dired cannot find gunzip with Z; Windows) Emacs bug Tracking System
     [not found] ` <7DD094C4BE9F42B7965A217C4B33E7FF@xahPC>
2009-11-05 20:38   ` bug#4867: 23.1; dired cannot find gunzip with Z; Windows Eli Zaretskii
2009-11-05 21:12     ` Xah Lee

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=39D68B7CFFBC482AA1F57C354FD0E2AE@xahPC \
    --to=xah@xahlee.org \
    --cc=4867@emacsbugs.donarmstrong.com \
    --cc=bug-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.