From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#10990: 24.0.94; Uncompressing files Date: Sun, 11 Mar 2012 18:48:47 +0200 Message-ID: <83ipibxevk.fsf@gnu.org> References: Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: dough.gmane.org 1331484628 26512 80.91.229.3 (11 Mar 2012 16:50:28 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 11 Mar 2012 16:50:28 +0000 (UTC) Cc: 10990@debbugs.gnu.org To: Dani Moncayo Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Mar 11 17:50:27 2012 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1S6lyR-0007yh-Ms for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Mar 2012 17:50:23 +0100 Original-Received: from localhost ([::1]:52587 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6lyR-0002Zz-5A for geb-bug-gnu-emacs@m.gmane.org; Sun, 11 Mar 2012 12:50:23 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:32781) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6lyN-0002ZT-Fw for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 12:50:20 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6lyL-000607-KZ for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 12:50:19 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:38391) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6lyL-000601-Gm for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 12:50:17 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1S6mR8-0004Yu-G8 for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 13:20:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Mar 2012 17:20:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133148636517486 (code B ref 10990); Sun, 11 Mar 2012 17:20:02 +0000 Original-Received: (at 10990) by debbugs.gnu.org; 11 Mar 2012 17:19:25 +0000 Original-Received: from localhost ([127.0.0.1]:45223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6mQV-0004Xx-GL for submit@debbugs.gnu.org; Sun, 11 Mar 2012 13:19:25 -0400 Original-Received: from mtaout21.012.net.il ([80.179.55.169]:46189) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6mQR-0004Xn-Ke for 10990@debbugs.gnu.org; Sun, 11 Mar 2012 13:19:21 -0400 Original-Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M0Q00000C0QW900@a-mtaout21.012.net.il> for 10990@debbugs.gnu.org; Sun, 11 Mar 2012 18:48:39 +0200 (IST) Original-Received: from HOME-C4E4A596F7 ([77.127.205.223]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0Q0006SC12L5B0@a-mtaout21.012.net.il>; Sun, 11 Mar 2012 18:48:39 +0200 (IST) In-reply-to: X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:57678 Archived-At: > Date: Sun, 11 Mar 2012 09:23:11 +0100 > From: Dani Moncayo > > 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.