From: Eli Zaretskii <eliz@gnu.org>
To: Dani Moncayo <dmoncayo@gmail.com>
Cc: 10990@debbugs.gnu.org
Subject: bug#10990: 24.0.94; Uncompressing files
Date: Sun, 11 Mar 2012 18:48:47 +0200 [thread overview]
Message-ID: <83ipibxevk.fsf@gnu.org> (raw)
In-Reply-To: <CAH8Pv0iRHeWmmxXicivmnff0p5uofvmh89C6WPFK7mH7nYhMAw@mail.gmail.com>
> Date: Sun, 11 Mar 2012 09:23:11 +0100
> From: Dani Moncayo <dmoncayo@gmail.com>
>
> I am on a MS Windows 7 OS. All the GNU/Unix-like tools that I
> currently have/need come from a MinGW/MSYS installation.
>
> I've tried the "Z" command from a dired buffer (to compress a file).
> The compression goes well, but when I try to uncompress the same file,
> I get the error message: "Searching for program: no such file or
> directory, gunzip".
Evidently, you don't have gunzip, at least not on PATH. Or maybe it's
MSYS revenge day: perhaps you do have gunzip, but it's a shell script
or some such. Anyway, copying gzip.exe into gunzip.exe should be all
you need.
> However:
> * I can visit the compressed file, which implies an implicit
> uncompression. So if Emacs is able to uncompress the file in this
> case, why does it fail in other cases?
Visiting compressed files uses "gzip -d", so it doesn't need gunzip.
See lisp/jka-cmpr-hook.el.
> * If I open a cmd.exe console and do "gzip -d my_file", the file is
> uncompressed without problems.
Another evidence to the same effect.
> The docstring of the "Z" command says nothing about customizing the
> way of performing the uncompression, and the current way doesn't work
> for me. So I'd like to ask for (a) a better way of finding the
> uncompression utility and (b) a way of customizing the command to
> perform the uncompression.
I submit that your system is misconfigured, but of course I won't
object if someone makes a defcustom out of
dired-compress-file-suffixes.
next prev parent reply other threads:[~2012-03-11 16:48 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-11 8:23 bug#10990: 24.0.94; Uncompressing files Dani Moncayo
2012-03-11 16:48 ` Eli Zaretskii [this message]
2012-03-11 21:50 ` Dani Moncayo
2012-03-12 3:52 ` Eli Zaretskii
2012-03-12 7:46 ` Dani Moncayo
2012-03-12 17:28 ` Juanma Barranquero
2012-03-12 17:29 ` Eli Zaretskii
2012-03-12 19:12 ` Dani Moncayo
2012-03-12 20:12 ` Stefan Monnier
2012-03-12 20:58 ` Eli Zaretskii
2012-03-12 17:58 ` Achim Gratz
2012-03-12 20:47 ` Achim Gratz
2012-03-12 20:59 ` Eli Zaretskii
2012-03-12 21:50 ` Achim Gratz
2021-08-31 16:20 ` Marco Centurion
2021-09-01 7:37 ` Lars Ingebrigtsen
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=83ipibxevk.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=10990@debbugs.gnu.org \
--cc=dmoncayo@gmail.com \
/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.