From: Eli Zaretskii <eliz@gnu.org>
To: help-gnu-emacs@gnu.org
Subject: Re: emacsW32 can't find gunzip
Date: Mon, 13 Jul 2009 21:40:35 +0300 [thread overview]
Message-ID: <834otgs9y4.fsf@gnu.org> (raw)
In-Reply-To: <e221c6ba-1c4a-43b9-8fbf-de305a409798@q40g2000prh.googlegroups.com>
> From: Xah Lee <xahlee@gmail.com>
> Date: Sun, 12 Jul 2009 17:58:28 -0700 (PDT)
>
> after looking into this with your help, i think my problem is about
> emacs unable to execute unix shell script.
>
> pressing Z in dired to compress a file is no problem. The problem is
> with uncompressing. The gunzip is located at
>
> c:/cygwin/bin/gunzip
>
> however, it is just a shell script, the content is:
>
> #!/bin/sh
> PATH=${GZIP_BINDIR-'/usr/bin'}:$PATH
> exec gzip -d "$@"
Yuck! I _hate_ this unportable stuff!
> any suggestion on getting emacs to call gzip -d directly?
You can't, not without significant changes to Dired. It currently
assumes that the association in dired-compress-file-suffixes is a file
name of a program, not a shell command.
Does it help to copy gzip.exe to gunzip.exe?
If that doesn't work (it depends on how your gzip.exe was compiled),
then perhaps crafting a gunzip.bat batch file that invokes "gzip -d %*"
will work.
prev parent reply other threads:[~2009-07-13 18:40 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-12 5:14 emacsW32 can't find gunzip Xah Lee
2009-07-12 14:11 ` despen
2009-07-12 19:29 ` Eli Zaretskii
[not found] ` <mailman.2378.1247426988.2239.help-gnu-emacs@gnu.org>
2009-07-13 0:58 ` Xah Lee
2009-07-13 3:58 ` Will Willis
[not found] ` <mailman.2399.1247457507.2239.help-gnu-emacs@gnu.org>
2009-07-13 5:19 ` Xah Lee
2009-07-13 18:40 ` Eli Zaretskii [this message]
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=834otgs9y4.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=help-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.