From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Mar 2012 08:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 10990 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 10990@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133145599617656 (code B ref -1); Sun, 11 Mar 2012 08:54:02 +0000 Received: (at submit) by debbugs.gnu.org; 11 Mar 2012 08:53:16 +0000 Received: from localhost ([127.0.0.1]:44452 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6eWh-0004ai-68 for submit@debbugs.gnu.org; Sun, 11 Mar 2012 04:53:15 -0400 Received: from eggs.gnu.org ([208.118.235.92]:33784) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6eWU-0004aP-Uq for submit@debbugs.gnu.org; Sun, 11 Mar 2012 04:53:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6e3h-0000p0-NI for submit@debbugs.gnu.org; Sun, 11 Mar 2012 04:23:18 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:53992) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6e3h-0000ow-HJ for submit@debbugs.gnu.org; Sun, 11 Mar 2012 04:23:17 -0400 Received: from eggs.gnu.org ([208.118.235.92]:53675) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6e3g-0000hD-1V for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 04:23:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S6e3e-0000og-7E for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 04:23:15 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:48377) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S6e3d-0000oD-W1 for bug-gnu-emacs@gnu.org; Sun, 11 Mar 2012 04:23:14 -0400 Received: by iajr24 with SMTP id r24so5577832iaj.0 for ; Sun, 11 Mar 2012 00:23:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=icwmcBty4fjkTlKPeJCGPQ4SV6ZyfG9xYK5yaH+Iywk=; b=t2Ibhz/yWXUu9bvfpZHOt8EaNIMWRs/04g9wRmp/WP+wDACbptvsolefmakKVaB1DC mND07RgtWUqFvr7PKJfoViAdgOLd8dZCJZ6vC/HuiK4MbOow79bxYK4DBSgoGC2THpuj DftZjzfU/d6f2ZrQ14HxorN73RMoVFX42xVTNT+uv4CHAlj6dmbUK7qwIMMKDCec9jVM HNmDrPJk2DIyzbKdqr64ZOjhVNPx8oyes0mi3cchuJuM/56qZ90JRuMdVjfzoarXJrf8 Y4g2LQ3EYcoGXQxxuiBrBNjO3pTMZ5RXyBvXF7bpne7AaaYsSfn/PIuaT+qiSmGP4uD4 Sodw== MIME-Version: 1.0 Received: by 10.182.192.36 with SMTP id hd4mr3690922obc.60.1331454191252; Sun, 11 Mar 2012 00:23:11 -0800 (PST) Received: by 10.60.42.193 with HTTP; Sun, 11 Mar 2012 00:23:11 -0800 (PST) Date: Sun, 11 Mar 2012 09:23:11 +0100 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.1 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.1 (------) Hi, 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". 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? * If I open a cmd.exe console and do "gzip -d my_file", the file is uncompressed without problems. 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. TIA. In GNU Emacs 24.0.94.1 (i386-mingw-nt6.1.7601) of 2012-03-07 on DANI-PC Windowing system distributor `Microsoft Corp.', version 6.1.7601 Configured using: `configure --with-gcc (4.6) --enable-checking' -- Dani Moncayo From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files 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: To: Dani Moncayo Cc: 10990@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133148636517486 (code B ref 10990); Sun, 11 Mar 2012 17:20:02 +0000 Received: (at 10990) by debbugs.gnu.org; 11 Mar 2012 17:19:25 +0000 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 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 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) 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) Date: Sun, 11 Mar 2012 18:48:47 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83ipibxevk.fsf@gnu.org> References: X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > 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. From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 11 Mar 2012 22: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: To: Eli Zaretskii Cc: 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133150439820231 (code B ref 10990); Sun, 11 Mar 2012 22:20:02 +0000 Received: (at 10990) by debbugs.gnu.org; 11 Mar 2012 22:19:58 +0000 Received: from localhost ([127.0.0.1]:45397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6r7N-0005GF-U5 for submit@debbugs.gnu.org; Sun, 11 Mar 2012 18:19:58 -0400 Received: from mail-gx0-f172.google.com ([209.85.161.172]:62337) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6r7K-0005G6-Di for 10990@debbugs.gnu.org; Sun, 11 Mar 2012 18:19:56 -0400 Received: by ggmi1 with SMTP id i1so1934747ggm.3 for <10990@debbugs.gnu.org>; Sun, 11 Mar 2012 14:50:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=1ftZlDhKIMgKFDj8ZDBJlavUDkMzEyURjNySjXwbLFg=; b=SSiK+52eeEdA7NwrEgEnpup4Qw2+F5wgZ8KtSzurVFAddFBeVuL7S5K3jd12CNgI2j cNSzCSc5uD2yLuDmocscVKXN35Bib7Gc/J44BFz+2KRDcLxEvlF4jbYeqCY5+VAXPMIp cXS00GCEpSdMqKCJ/LfJgmClKhU/P5Abxy7JCUaMc3EeYQN5uxMXImizjEhAAzy8Qr+6 2MgbSo9Yk/7OoGfUUGD+WueNDU8ZFr0gMpOBz1ZH2/8C9NZUjF9syYOwvJw7ZXtlT16E tLQ7anzl6DFsW18C7SaKa1LF8i16J3LCKiYk+bZuoIn935PX9oa1cJALy4TFqGHrngCm HEhg== MIME-Version: 1.0 Received: by 10.60.5.231 with SMTP id v7mr5998849oev.50.1331502606757; Sun, 11 Mar 2012 14:50:06 -0700 (PDT) Received: by 10.60.42.193 with HTTP; Sun, 11 Mar 2012 14:50:06 -0700 (PDT) In-Reply-To: <83ipibxevk.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> Date: Sun, 11 Mar 2012 22:50:06 +0100 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Sun, Mar 11, 2012 at 17:48, Eli Zaretskii wrote: >> Date: Sun, 11 Mar 2012 09:23:11 +0100 >> From: Dani Moncayo >> >> I am on a MS Windows 7 OS. =A0All 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. =A0Or maybe it's > MSYS revenge day: perhaps you do have gunzip, but it's a shell script > or some such. =A0Anyway, copying gzip.exe into gunzip.exe should be all > you need. Well, it's obvious that there is no "gunzip" executable visible from my environment. I knew that. And it is also obvious that I don't need it. The problem is not that my system is lacking an uncompression program (I have "gzip -d"), the problem is that Emacs (a) doesn't know how to invoke it, and (b) doesn't let me tell it how. >> However: >> * I can visit the compressed file, which implies an implicit >> uncompression. =A0So 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. Then, why doesn't Emacs use that same method whenever it needs to uncompress a file? If Emacs was consistent in this regard and used "gzip -d" whenever it need to uncompress a file, I would not have had any problem. >> * 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. An evidence that my system does have a tool for uncompressing files. >> 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. =A0So 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 ??? I showed clearly that my system is capable of uncompressing files compressed by Emacs. > but of course I won't > object if someone makes a defcustom out of > dired-compress-file-suffixes. --=20 Dani Moncayo From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 04:23:01 +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: To: Dani Moncayo Cc: 10990@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133152612932162 (code B ref 10990); Mon, 12 Mar 2012 04:23:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 04:22:09 +0000 Received: from localhost ([127.0.0.1]:45713 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wls-0008Mf-IV for submit@debbugs.gnu.org; Mon, 12 Mar 2012 00:22:09 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:46806) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S6wlf-0008M2-T3 for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 00:22:07 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M0R002006QJEE00@a-mtaout21.012.net.il> for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 05:52:06 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0R002YM6QTBT40@a-mtaout21.012.net.il>; Mon, 12 Mar 2012 05:52:05 +0200 (IST) Date: Mon, 12 Mar 2012 05:52:15 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83boo2xyq8.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Sun, 11 Mar 2012 22:50:06 +0100 > From: Dani Moncayo > Cc: 10990@debbugs.gnu.org > > Well, it's obvious that there is no "gunzip" executable visible from > my environment. I knew that. And it is also obvious that I don't > need it. The problem is not that my system is lacking an > uncompression program (I have "gzip -d"), the problem is that Emacs > (a) doesn't know how to invoke it, and (b) doesn't let me tell it how. gzip and gunzip are parts of the same package. It is reasonable to assume that having one means you also have the other. But it sounds like you don't actually want to solve your problem, but rather make some point about big bad Emacs. Whatever. > > Visiting compressed files uses "gzip -d", so it doesn't need gunzip. > > See lisp/jka-cmpr-hook.el. > > Then, why doesn't Emacs use that same method whenever it needs to > uncompress a file? Because dired uses a different code which was written by a different person, I guess. That code needs a program name, not a shell command, so "gzip -d" will not do. > If Emacs was consistent in this regard and used "gzip -d" whenever it > need to uncompress a file, I would not have had any problem. I don't see why there should be a consistency in this case. > > I submit that your system is misconfigured > > ??? > I showed clearly that my system is capable of uncompressing files > compressed by Emacs. You have only half of a package installed. From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 08:17:01 +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: To: Eli Zaretskii Cc: 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133154020323442 (code B ref 10990); Mon, 12 Mar 2012 08:17:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 08:16:43 +0000 Received: from localhost ([127.0.0.1]:45983 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S70Qt-000663-3E for submit@debbugs.gnu.org; Mon, 12 Mar 2012 04:16:43 -0400 Received: from mail-yw0-f44.google.com ([209.85.213.44]:52376) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S70Qq-00065v-Di for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 04:16:41 -0400 Received: by yhpp34 with SMTP id p34so2181616yhp.3 for <10990@debbugs.gnu.org>; Mon, 12 Mar 2012 00:46:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=UpqmkZChj+bQARkUU12c2a8+TRCdbrItGRBshlN00FY=; b=S6D+Z9h+XBqWXbJuoCKkH4U+IbcbymW4TNXpTqdxTdzdccdMG16uOHRWFKvrMo6zqX 0YR1acMYSAHCW0wT+c7osgLwf/2ehiErZx2a8xFjJluKW1HC1g9ct3CrzorrVT4DIrhc RhKTDsQ3iPtceqIybMHuLvH2tfFP7uDTWUk+SKEoyZ3LuzhyofO2oArWCeIA+WqzCIfV MaTydj3/bXoyDf6sETkSzhdoOyk7+guwURWlnluGWXhW0x+hT8PWt59zXGI50Bj+RGzj yV1WBNXtlez/NnR3rMR+IfXO102BhwR6FGXdVHUisVe2hS8eCWhB9TPa6eiR4263ni3B m9ZA== MIME-Version: 1.0 Received: by 10.182.192.36 with SMTP id hd4mr6481058obc.60.1331538410362; Mon, 12 Mar 2012 00:46:50 -0700 (PDT) Received: by 10.60.42.193 with HTTP; Mon, 12 Mar 2012 00:46:50 -0700 (PDT) In-Reply-To: <83boo2xyq8.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> Date: Mon, 12 Mar 2012 08:46:50 +0100 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> Well, it's obvious that there is no "gunzip" executable visible from >> my environment. =A0I knew that. =A0And it is also obvious that I don't >> need it. =A0The problem is not that my system is lacking an >> uncompression program (I have "gzip -d"), the problem is that Emacs >> (a) doesn't know how to invoke it, and (b) doesn't let me tell it how. > > gzip and gunzip are parts of the same package. =A0It is reasonable to > assume that having one means you also have the other. In the standard MinGW/MSYS distribution, "gzip" program is designed to do both things. In fact "gzip -h" shows: C:\emacs>gzip -h Usage: gzip [OPTION]... [FILE]... Compress or uncompress FILEs (by default, compress FILES in-place). [...] So, in this case, "gunzip" is unnecessary. BTW, I tried to copy "gzip.exe" as "gunzip.exe" as you suggested, but it doesn't work, because Emacs invokes "gunzip" without "-d" (obviously), so it doesn't work. A workaround that does work (I've just tested it) is to create a file "gunzip.bat" with a single line "gzip -d %1 %2 %3 %4", and store it in the same folder as "gzip.exe". > But it sounds like you don't actually want to solve your problem, but > rather make some point about big bad Emacs. =A0Whatever. No. Evidently I want to solve my problem. What happens it that, IMHO, the right solution in this case would be to modify Emacs so that the command for uncompression would be configurable, because in this case, the default configuration is not the right one. >> > Visiting compressed files uses "gzip -d", so it doesn't need gunzip. >> > See lisp/jka-cmpr-hook.el. >> >> Then, why doesn't Emacs use that same method whenever it needs to >> uncompress a file? > > Because dired uses a different code which was written by a different > person, I guess. =A0That code needs a program name, not a shell command, > so "gzip -d" will not do. > >> If Emacs was consistent in this regard and used "gzip -d" whenever it >> need to uncompress a file, I would not have had any problem. > > I don't see why there should be a consistency in this case. Neither I don't see why Emacs use different methods to perform the same operation (uncompress a file). >> > I submit that your system is misconfigured >> >> ??? >> I showed clearly that my system is capable of uncompressing files >> compressed by Emacs. > > You have only half of a package installed. No. I have installed the standard MinGW/MSYS distribution, which has support for uncompressing files. --=20 Dani Moncayo From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Juanma Barranquero Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 17:59:01 +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: To: Dani Moncayo Cc: Eli Zaretskii , 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133157511726548 (code B ref 10990); Mon, 12 Mar 2012 17:59:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 17:58:37 +0000 Received: from localhost ([127.0.0.1]:47124 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79W1-0006u9-0R for submit@debbugs.gnu.org; Mon, 12 Mar 2012 13:58:37 -0400 Received: from mail-yw0-f44.google.com ([209.85.213.44]:63765) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79Vy-0006u1-OX for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 13:58:35 -0400 Received: by yhpp34 with SMTP id p34so2740318yhp.3 for <10990@debbugs.gnu.org>; Mon, 12 Mar 2012 10:28:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type:content-transfer-encoding; bh=OBROZ3nbeo7O+rVJehmrsKjrJ0qPDlMzatyHXZmoLY4=; b=WZ82hNCWkHOTYJuhu/HNzV4yJIWweYEvjJkaWpbDbQKSkZ9Js2CXqhBRzRJwidsLV0 SaMaP0cy+c5siBFK6azvOoINM0qPJcBmUsr7PC/57Y8uAR27LKSoaaRFPpU9Ih8IjKg5 ygyMYnz/XE90LyG8pk+D7n+wtwkFIaYnf0kgeF657fr7jS1OtJV6AM78kQqiqVXLLvOd MmTmJGJ4haZy7kZCHNtx4WyApmsiYXXfog7H2pyx2J0ZqwA/SEqht14YFb128OKZIcuG bEWhurJUWmObUySR5SJ5KIHudwVQ1GSLFvKlSG7AvtiNxmgmAtIfqJVZAWk1rRvNTWVe h6OQ== Received: by 10.68.237.66 with SMTP id va2mr2205618pbc.32.1331573322470; Mon, 12 Mar 2012 10:28:42 -0700 (PDT) MIME-Version: 1.0 Received: by 10.142.71.15 with HTTP; Mon, 12 Mar 2012 10:28:01 -0700 (PDT) In-Reply-To: References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> From: Juanma Barranquero Date: Mon, 12 Mar 2012 18:28:01 +0100 Message-ID: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) On Mon, Mar 12, 2012 at 08:46, Dani Moncayo wrote: > No. =C2=A0I have installed the standard MinGW/MSYS distribution, which ha= s > support for uncompressing files. And so what? I could write tomorrow two utilities, glurb and deglurb, to compress and uncompress files, but I wouldn't push Emacs to adapt to them. You insist in using MinGW/MSYS as a Unixy-tools-on-Windows package, but it does things its own way and it's not a supported environment for Emacs on Windows (some things work, some things don't, as you just found). And then you complain that it is not supported. =C2=A0 =C2=A0 Juanma From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 18:01: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: To: Dani Moncayo Cc: 10990@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133157521126770 (code B ref 10990); Mon, 12 Mar 2012 18:01:02 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 18:00:11 +0000 Received: from localhost ([127.0.0.1]:47140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79XW-0006xj-CG for submit@debbugs.gnu.org; Mon, 12 Mar 2012 14:00:10 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:38159) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79XR-0006xB-4q for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 14:00:07 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M0S00M007IMS000@a-mtaout22.012.net.il> for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 19:29:34 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0S00LRJ8L9WPK0@a-mtaout22.012.net.il>; Mon, 12 Mar 2012 19:29:34 +0200 (IST) Date: Mon, 12 Mar 2012 19:29:44 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <837gypybg7.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Mon, 12 Mar 2012 08:46:50 +0100 > From: Dani Moncayo > Cc: 10990@debbugs.gnu.org > > In the standard MinGW/MSYS distribution, "gzip" program is designed to > do both things. In fact "gzip -h" shows: > > C:\emacs>gzip -h > Usage: gzip [OPTION]... [FILE]... > Compress or uncompress FILEs (by default, compress FILES in-place). > [...] Can I persuade you to use the native Windows binaries instead? > So, in this case, "gunzip" is unnecessary. Well, evidently, it is necessary ;-) > BTW, I tried to copy "gzip.exe" as "gunzip.exe" as you suggested, but > it doesn't work, because Emacs invokes "gunzip" without "-d" > (obviously), so it doesn't work. gunzip doesn't need -d, it knows by itself that it needs to decompress. No, I guess you have some version of gzip where the maintainers decided not to change the behavior according to the name of the program. Or maybe the MSYS port has a bug in comparing the program name with "gunzip" (the .exe suffix needs to be stripped). > A workaround that does work (I've just tested it) is to create a file > "gunzip.bat" with a single line "gzip -d %1 %2 %3 %4", and store it in > the same folder as "gzip.exe". Yep, that's another way of solving this conundrum. From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files In-Reply-To: Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 18:30: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: To: 10990@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133157696729431 (code B ref -1); Mon, 12 Mar 2012 18:30:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2012 18:29:27 +0000 Received: from localhost ([127.0.0.1]:47172 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79zo-0007eb-Qs for submit@debbugs.gnu.org; Mon, 12 Mar 2012 14:29:26 -0400 Received: from eggs.gnu.org ([208.118.235.92]:39647) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S79zm-0007eS-3f for submit@debbugs.gnu.org; Mon, 12 Mar 2012 14:29:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S79Wn-0004by-RO for submit@debbugs.gnu.org; Mon, 12 Mar 2012 13:59:30 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:57831) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S79Wn-0004bu-ON for submit@debbugs.gnu.org; Mon, 12 Mar 2012 13:59:25 -0400 Received: from eggs.gnu.org ([208.118.235.92]:51548) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S79Wh-00064j-G9 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 13:59:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S79Wc-0004Zx-Fs for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 13:59:18 -0400 Received: from plane.gmane.org ([80.91.229.3]:37512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S79Wc-0004Ya-8n for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 13:59:14 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S79Wa-0000ZC-Lb for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 18:59:12 +0100 Received: from pd9eb3b4f.dip.t-dialin.net ([217.235.59.79]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 18:59:12 +0100 Received: from Stromeko by pd9eb3b4f.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 18:59:12 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Achim Gratz Date: Mon, 12 Mar 2012 18:58:59 +0100 Lines: 39 Message-ID: <87d38hwvj0.fsf@Rainer.invalid> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb3b4f.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:DES/Qd9yJZ6y8/gEMTRNf1YMyCk= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Dani Moncayo writes: > BTW, I tried to copy "gzip.exe" as "gunzip.exe" as you suggested, but > it doesn't work, because Emacs invokes "gunzip" without "-d" > (obviously), so it doesn't work. It does not need to and you don't seem to understand how that is supposed to work. If gzip gets invoked as gunzip, then it automatically infers the "-d" switch. Which is why usually a symbolic link gunzip -> gzip is sufficient. Only that you are running on Windows and Windows doesn't have symbolic links. MSys has them, but Windows applications know nothing about that. > What happens it that, IMHO, the right solution in this case would be > to modify Emacs so that the command for uncompression would be > configurable, because in this case, the default configuration is not > the right one. MSys tries to provide a POSIX layer on Windows. NTemacs tries to provide it's usual functionality in the absence of such layer. The two don't fully mix, in the same way that Cygwin and NTemacs don't. The solution is to stay in one world or the other or learn to live with the roughness around the edges. > No. I have installed the standard MinGW/MSYS distribution, which has > support for uncompressing files. Well, then look up again where you pick up "gunzip" along your path. I'm reasonably sure that Windows finds something else instead of the gunzip.exe you just copied in MSys' /usr/bin (like gunzip, without any suffix?). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Waldorf MIDI Implementation & additional documentation: http://Synth.Stromeko.net/Downloads.html#WaldorfDocs From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Dani Moncayo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 19:43:01 +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: To: Eli Zaretskii Cc: 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.13315813308524 (code B ref 10990); Mon, 12 Mar 2012 19:43:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 19:42:10 +0000 Received: from localhost ([127.0.0.1]:47246 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7B8D-0002DP-H5 for submit@debbugs.gnu.org; Mon, 12 Mar 2012 15:42:10 -0400 Received: from mail-gx0-f172.google.com ([209.85.161.172]:39905) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7B8B-0002DI-0e for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 15:42:08 -0400 Received: by ggmi1 with SMTP id i1so2855401ggm.3 for <10990@debbugs.gnu.org>; Mon, 12 Mar 2012 12:12:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=pH5esMHMoXOVhcO3syuQXoCyiitIPMoYaElHDcgS7IY=; b=Kp99GazNcEBd/L4J5iB6IYO2eL5M00xmbGLlwahcG/NXL9Glz8dzdmTSOM2jySvqKF NCBpVTCEA+O5McK1AMpwuqeiJ0FbKK79zXqqaYC4NmYiRbw38QHUPLd3zxwgkhs9cs71 OhIPYfOlx1pp5WZl0El9S7QIv4ckU3cf+rYbmaOfNWGyqYjbO40SSwhLlc8ULXmVeN3w O1f+ACKKWfK1IgrR5D7o3O/v1BUxllaPZ8wd66SbEubrrayfSR7NcN79SvVB2odw0hcW sU9+fUccoNKX/JhVSTIFMym52jPmTlf085X+ITHwR2QR4+f0dS72bXoIPfRlrrQZgVqO tUdw== MIME-Version: 1.0 Received: by 10.182.160.10 with SMTP id xg10mr8716186obb.40.1331579534251; Mon, 12 Mar 2012 12:12:14 -0700 (PDT) Received: by 10.60.42.193 with HTTP; Mon, 12 Mar 2012 12:12:14 -0700 (PDT) In-Reply-To: <837gypybg7.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <837gypybg7.fsf@gnu.org> Date: Mon, 12 Mar 2012 20:12:14 +0100 Message-ID: From: Dani Moncayo Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Spam-Score: -2.6 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -2.6 (--) >> In the standard MinGW/MSYS distribution, "gzip" program is designed to >> do both things. =A0In fact "gzip -h" shows: >> >> =A0C:\emacs>gzip -h >> =A0Usage: gzip [OPTION]... [FILE]... >> =A0Compress or uncompress FILEs (by default, compress FILES in-place). >> =A0[...] > > Can I persuade you to use the native Windows binaries instead? But aren't the MSYS utilities native Windows binaries? Maybe they are not exactly like the GnuWin32 counterparts, but I currently use them because they just work and are more convenient to install (they are bundled as a MinGW package, as you know). So far, my experience with this setup has been good, but of course I can change my mind if I find problems in the future. >> So, in this case, "gunzip" is unnecessary. > > Well, evidently, it is necessary ;-) I'll try to be more accurate: "The functionality offered by gunzip is a subset of that offered by gzip". >> BTW, I tried to copy "gzip.exe" as "gunzip.exe" as you suggested, but >> it doesn't work, because Emacs invokes "gunzip" without "-d" >> (obviously), so it doesn't work. > > gunzip doesn't need -d, it knows by itself that it needs to > decompress. > > No, I guess you have some version of gzip where the maintainers > decided not to change the behavior according to the name of the > program. =A0Or maybe the MSYS port has a bug in comparing the program > name with "gunzip" (the .exe suffix needs to be stripped). As a curiosity: I've seen that gunzip is implemented in MSYS as a shell scr= ipt: #!/bin/sh PATH=3D${GZIP_BINDIR-'/usr/bin'}:$PATH exec gzip -d "$@" Hence, "gunzip" is unavailable from a native cmd.exe console. >> A workaround that does work (I've just tested it) is to create a file >> "gunzip.bat" with a single line "gzip -d %1 %2 %3 %4", and store it in >> the same folder as "gzip.exe". > > Yep, that's another way of solving this conundrum. I will use this workaround for now. Summarizing: IMO Emacs would be (a bit) better if: 1. The commands for (un)compressing files were configurable (not only the programs, as in `dired-compress-file-suffixes', but the whole commands). 2. It was consistent in the uncompression method (when visiting a file uses one method, and from Dired uses another one). Needless to say that if you (the maintainers) don't agree, or don't see a need for this change, you can close this bug report. In any case, thanks for all your altruistic work. --=20 Dani Moncayo From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Stefan Monnier Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 20:43:01 +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: To: Dani Moncayo Cc: 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133158492215531 (code B ref 10990); Mon, 12 Mar 2012 20:43:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 20:42:02 +0000 Received: from localhost ([127.0.0.1]:47309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7C49-000429-8c for submit@debbugs.gnu.org; Mon, 12 Mar 2012 16:42:02 -0400 Received: from pruche.dit.umontreal.ca ([132.204.246.22]:49719) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7C46-000420-JC for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 16:41:59 -0400 Received: from faina.iro.umontreal.ca (lechon.iro.umontreal.ca [132.204.27.242]) by pruche.dit.umontreal.ca (8.14.1/8.14.1) with ESMTP id q2CKC59u016716; Mon, 12 Mar 2012 16:12:05 -0400 Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id AAD28130D24; Mon, 12 Mar 2012 16:12:05 -0400 (EDT) From: Stefan Monnier Message-ID: References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <837gypybg7.fsf@gnu.org> Date: Mon, 12 Mar 2012 16:12:05 -0400 In-Reply-To: (Dani Moncayo's message of "Mon, 12 Mar 2012 20:12:14 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-NAI-Spam-Flag: NO X-NAI-Spam-Threshold: 5 X-NAI-Spam-Score: 0 X-NAI-Spam-Rules: 1 Rules triggered RV4159=0 X-NAI-Spam-Version: 2.2.0.9309 : core <4159> : streams <737229> : uri <1081846> X-Spam-Score: -3.5 (---) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -3.5 (---) > IMO Emacs would be (a bit) better if: > 1. The commands for (un)compressing files were configurable (not only > the programs, as in `dired-compress-file-suffixes', but the whole > commands). > 2. It was consistent in the uncompression method (when visiting a file > uses one method, and from Dired uses another one). Agreed. Patches welcome, Stefan From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files In-Reply-To: Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 21:18:01 +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: To: 10990@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133158707718925 (code B ref -1); Mon, 12 Mar 2012 21:18:01 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2012 21:17:57 +0000 Received: from localhost ([127.0.0.1]:47359 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Ccv-0004vB-Ab for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:17:57 -0400 Received: from eggs.gnu.org ([208.118.235.92]:58640) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Ccr-0004v3-Ok for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:17:55 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7C9v-0002Q7-N5 for submit@debbugs.gnu.org; Mon, 12 Mar 2012 16:48:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:55563) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7C9v-0002Q2-Jf for submit@debbugs.gnu.org; Mon, 12 Mar 2012 16:47:59 -0400 Received: from eggs.gnu.org ([208.118.235.92]:36990) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7C9t-0005e2-N5 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 16:47:59 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7C9r-0002PB-FV for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 16:47:57 -0400 Received: from plane.gmane.org ([80.91.229.3]:48069) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7C9r-0002On-84 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 16:47:55 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S7C9n-00039D-8l for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 21:47:51 +0100 Received: from pd9eb4ee2.dip.t-dialin.net ([217.235.78.226]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 21:47:51 +0100 Received: from Stromeko by pd9eb4ee2.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 21:47:51 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Achim Gratz Date: Mon, 12 Mar 2012 21:47:36 +0100 Lines: 20 Message-ID: <87d38hwnpz.fsf@Rainer.invalid> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <87d38hwvj0.fsf@Rainer.invalid> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb4ee2.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:v44Sa7Q7BHqKfnh44cuO9LeIIAc= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Achim Gratz writes: > It does not need to and you don't seem to understand how that is > supposed to work. If gzip gets invoked as gunzip, then it automatically > infers the "-d" switch. Which is why usually a symbolic link gunzip -> > gzip is sufficient. Only that you are running on Windows and Windows > doesn't have symbolic links. MSys has them, but Windows applications > know nothing about that. Come to think of it, I don't think MSys implements symbolic links, so it most likely uses a shell script to emulate one (again, Windows wouldn't know what to do with them). Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ SD adaptation for Waldorf rackAttack V1.04R1: http://Synth.Stromeko.net/Downloads.html#WaldorfSDada From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 21:29:01 +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: To: Dani Moncayo Cc: 10990@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133158771219862 (code B ref 10990); Mon, 12 Mar 2012 21:29:01 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 21:28:32 +0000 Received: from localhost ([127.0.0.1]:47368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Cn9-0005AJ-Lc for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:28:32 -0400 Received: from mtaout21.012.net.il ([80.179.55.169]:56931) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Cn5-0005A7-DG for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 17:28:29 -0400 Received: from conversion-daemon.a-mtaout21.012.net.il by a-mtaout21.012.net.il (HyperSendmail v2007.08) id <0M0S00700I2I6D00@a-mtaout21.012.net.il> for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 22:58:15 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout21.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0S006H3I91XYG0@a-mtaout21.012.net.il>; Mon, 12 Mar 2012 22:58:15 +0200 (IST) Date: Mon, 12 Mar 2012 22:58:23 +0200 From: Eli Zaretskii In-reply-to: X-012-Sender: halo1@inter.net.il Message-id: <83399dy1sg.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <837gypybg7.fsf@gnu.org> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > Date: Mon, 12 Mar 2012 20:12:14 +0100 > From: Dani Moncayo > Cc: 10990@debbugs.gnu.org > > But aren't the MSYS utilities native Windows binaries? No. MSYS is a fork of Cygwin, so MSYS binaries are actually much closer to Cygwin binaries than to native Windows binaries. From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Eli Zaretskii Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 21:30: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: To: Achim Gratz Cc: 10990@debbugs.gnu.org Reply-To: Eli Zaretskii Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.133158774519926 (code B ref 10990); Mon, 12 Mar 2012 21:30:02 +0000 Received: (at 10990) by debbugs.gnu.org; 12 Mar 2012 21:29:05 +0000 Received: from localhost ([127.0.0.1]:47373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Cnh-0005BK-Aq for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:29:05 -0400 Received: from mtaout22.012.net.il ([80.179.55.172]:50559) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7Cnf-0005B6-3r for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 17:29:04 -0400 Received: from conversion-daemon.a-mtaout22.012.net.il by a-mtaout22.012.net.il (HyperSendmail v2007.08) id <0M0S00100I4BLP00@a-mtaout22.012.net.il> for 10990@debbugs.gnu.org; Mon, 12 Mar 2012 22:59:09 +0200 (IST) Received: from HOME-C4E4A596F7 ([77.124.179.236]) by a-mtaout22.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0M0S0012CIAGAM70@a-mtaout22.012.net.il>; Mon, 12 Mar 2012 22:59:09 +0200 (IST) Date: Mon, 12 Mar 2012 22:59:15 +0200 From: Eli Zaretskii In-reply-to: <87d38hwvj0.fsf@Rainer.invalid> X-012-Sender: halo1@inter.net.il Message-id: <831uoxy1r0.fsf@gnu.org> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <87d38hwvj0.fsf@Rainer.invalid> X-Spam-Score: -1.2 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -1.2 (-) > From: Achim Gratz > Date: Mon, 12 Mar 2012 18:58:59 +0100 > > usually a symbolic link gunzip -> gzip is sufficient. Only that you > are running on Windows and Windows doesn't have symbolic links. Actually, starting with Vista, it does. From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files In-Reply-To: Resent-From: Achim Gratz Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Mar 2012 22:22: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: To: 10990@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.133159089224571 (code B ref -1); Mon, 12 Mar 2012 22:22:02 +0000 Received: (at submit) by debbugs.gnu.org; 12 Mar 2012 22:21:32 +0000 Received: from localhost ([127.0.0.1]:47463 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7DcS-0006OF-4L for submit@debbugs.gnu.org; Mon, 12 Mar 2012 18:21:32 -0400 Received: from eggs.gnu.org ([208.118.235.92]:56510) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1S7DcP-0006O8-Sa for submit@debbugs.gnu.org; Mon, 12 Mar 2012 18:21:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7D9H-0001ov-Ql for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:51:37 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=unavailable version=3.3.2 Received: from lists.gnu.org ([208.118.235.17]:50773) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7D9H-0001og-OO for submit@debbugs.gnu.org; Mon, 12 Mar 2012 17:51:23 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40335) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7D8x-0003k9-L2 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 17:51:23 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1S7D8v-0001js-Ao for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 17:51:03 -0400 Received: from plane.gmane.org ([80.91.229.3]:32904) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1S7D8v-0001jU-3q for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 17:51:01 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1S7D8p-0005OB-R2 for bug-gnu-emacs@gnu.org; Mon, 12 Mar 2012 22:50:55 +0100 Received: from pd9eb5130.dip.t-dialin.net ([217.235.81.48]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 22:50:55 +0100 Received: from Stromeko by pd9eb5130.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 12 Mar 2012 22:50:55 +0100 X-Injected-Via-Gmane: http://gmane.org/ From: Achim Gratz Date: Mon, 12 Mar 2012 22:50:43 +0100 Lines: 27 Message-ID: <87399dwkss.fsf@Rainer.invalid> References: <83ipibxevk.fsf@gnu.org> <83boo2xyq8.fsf@gnu.org> <87d38hwvj0.fsf@Rainer.invalid> <831uoxy1r0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: pd9eb5130.dip.t-dialin.net User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.94 (gnu/linux) Cancel-Lock: sha1:UQ5AF6nbJMSgbzthOzixavCOKck= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 208.118.235.17 X-Spam-Score: -6.9 (------) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@debbugs.gnu.org X-Spam-Score: -6.9 (------) Eli Zaretskii writes: >> From: Achim Gratz >> >> usually a symbolic link gunzip -> gzip is sufficient. Only that you >> are running on Windows and Windows doesn't have symbolic links. > > Actually, starting with Vista, it does. I glossed over that detail since they aren't very useful for users (require elevated administrative privileges to create and change). Also, see why they are useless for Cygwin: http://cygwin.com/ml/cygwin/2009-10/msg00756.html I suspect the same problems would appear if you were to try and use them from within MSys. Maybe symbolic links from Windows into Cygwin/MSys would work, however. I'll have to try that some time, it would probably make integration with NTemacs a bit smoother. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Factory and User Sound Singles for Waldorf Q+, Q and microQ: http://Synth.Stromeko.net/Downloads.html#WaldorfSounds From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files References: In-Reply-To: Resent-From: Marco Centurion Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Aug 2021 16:21: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: To: 10990@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.163042683327060 (code B ref -1); Tue, 31 Aug 2021 16:21:02 +0000 Received: (at submit) by debbugs.gnu.org; 31 Aug 2021 16:20:33 +0000 Received: from localhost ([127.0.0.1]:35289 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6Uv-00072K-Ho for submit@debbugs.gnu.org; Tue, 31 Aug 2021 12:20:33 -0400 Received: from lists.gnu.org ([209.51.188.17]:46492) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mL6Uq-000727-S1 for submit@debbugs.gnu.org; Tue, 31 Aug 2021 12:20:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL6Un-0006MK-S2 for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 12:20:22 -0400 Received: from smtp.fing.edu.uy ([164.73.32.16]:56172) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mL6Ue-0006vZ-1t for bug-gnu-emacs@gnu.org; Tue, 31 Aug 2021 12:20:17 -0400 Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp.fing.edu.uy (Postfix) with ESMTP id 30139E0E1C for ; Tue, 31 Aug 2021 13:20:07 -0300 (-03) X-Virus-Scanned: amavisd-new at fing.edu.uy Received: from smtp.fing.edu.uy ([127.0.0.1]) by localhost (smtp.fing.edu.uy [127.0.0.1]) (amavisd-new, port 10024) with LMTP id DY4ICFys2E8x for ; Tue, 31 Aug 2021 13:20:02 -0300 (-03) Received: from localhost.localdomain (r167-60-135-28.dialup.adsl.anteldata.net.uy [167.60.135.28]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: mcenturion) by smtp.fing.edu.uy (Postfix) with ESMTPSA id 0B99BE0DA7 for ; Tue, 31 Aug 2021 13:20:02 -0300 (-03) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=fing.edu.uy; s=default; t=1630426802; bh=INHUumLhc+fp4ZKxiGknUHpQr9tPnRxsatMiQdtvteI=; h=From:To:Subject:Date; b=NdUlKVEWmnJu+uuGU9Hij23iw3KUG7PFXMEAX1AsJfInBWJS6ZdGPq5rFIdAUocSq Vf5wPPseMUjGyLJTjErU/SeGJjCTZqNrxzYfcONmuyS/YpIXcERwg5+OcdzCwUCi7R HIsF7FkY/s/jDDY3kuaTcSL+rsGhcquGGL/TPyLY= From: Marco Centurion Date: Tue, 31 Aug 2021 13:20:01 -0300 Message-ID: <87k0k18u32.fsf@fing.edu.uy> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Received-SPF: pass client-ip=164.73.32.16; envelope-from=mcenturion@fing.edu.uy; helo=smtp.fing.edu.uy X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 5.0 requ) BAYES_05=-0.5, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.4 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.4 (--) --=-=-= Content-Type: text/plain Given that we already use `gzip` in dired for other formats like `.tar.gz` and `.tgz`, could we not just replace gunzip with `gzip -d`? I mean, even in my (gnu/linux) system `gunzip` is just a script that passes through to `gzip -d`. I don't think that change would be a breaking one because we already assume that `gzip` is present in the system and that `gzip -d` decompresses files (again, the command for `.tar.gz` is "gzip -dc %i | tar -xf -"). But if it is considered breaking, we could maybe add an option to only use gzip? --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=bug#10990.patch diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 0b8c693b29..8e00af8f96 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -1137,12 +1137,12 @@ dired-compress-file-suffixes ("\\.tar\\.gz\\'" "" "gzip -dc %i | tar -xf -") ("\\.tar\\.xz\\'" "" "xz -dc %i | tar -xf -") ("\\.tgz\\'" "" "gzip -dc %i | tar -xf -") - ("\\.gz\\'" "" "gunzip") + ("\\.gz\\'" "" "gzip -d") ("\\.lz\\'" "" "lzip -d") ("\\.Z\\'" "" "uncompress") ;; For .z, try gunzip. It might be an old gzip file, ;; or it might be from compact? pack? (which?) but gunzip handles both. - ("\\.z\\'" "" "gunzip") + ("\\.z\\'" "" "gzip -d") ("\\.dz\\'" "" "dictunzip") ("\\.tbz\\'" ".tar" "bunzip2") ("\\.bz2\\'" "" "bunzip2") --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable --=20 Marco Centurion Unidad de Recursos Inform=C3=A1ticos Facultad de Ingenier=C3=ADa - UdelaR --=-=-=-- From unknown Sat Aug 09 09:37:27 2025 X-Loop: help-debbugs@gnu.org Subject: bug#10990: 24.0.94; Uncompressing files Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 01 Sep 2021 07:39:01 +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: To: Marco Centurion Cc: 10990@debbugs.gnu.org Received: via spool by 10990-submit@debbugs.gnu.org id=B10990.163048188412528 (code B ref 10990); Wed, 01 Sep 2021 07:39:01 +0000 Received: (at 10990) by debbugs.gnu.org; 1 Sep 2021 07:38:04 +0000 Received: from localhost ([127.0.0.1]:36094 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLKop-0003FZ-Ot for submit@debbugs.gnu.org; Wed, 01 Sep 2021 03:38:04 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56808) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLKoj-0003F8-IV for 10990@debbugs.gnu.org; Wed, 01 Sep 2021 03:37:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RzaQvHreI89sTeCmXv1bd5Lm37ckSM1tvrH/yN0a56c=; b=bYoF9+bqnPZWI9DhfeKvmkAuDq mS9tf6Gh+UO4agib1vm/tE93FxwMtFXregDYWVNSHYUYH2pRhzuPcRAquiAnplBLTFs9Q61lan8eD wuTNZcra67TNNh+Lil6wkUXhjVRhuHD+Oor1Zxx7Y3WkKDMkjqGZ1rOfTocOSAuuEP8g=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLKoX-0005nv-4p; Wed, 01 Sep 2021 09:37:45 +0200 From: Lars Ingebrigtsen References: <87k0k18u32.fsf@fing.edu.uy> Date: Wed, 01 Sep 2021 09:37:40 +0200 In-Reply-To: <87k0k18u32.fsf@fing.edu.uy> (Marco Centurion's message of "Tue, 31 Aug 2021 13:20:01 -0300") Message-ID: <87v93kiw57.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Marco Centurion writes: > Given that we already use `gzip` in dired for other formats like `.tar.gz` > and `.tgz`, could we not just replace gunzip with `gzip -d`? I mean, > even in my (gnu/linux) system `gunzip` is just a s [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Marco Centurion writes: > Given that we already use `gzip` in dired for other formats like `.tar.gz` > and `.tgz`, could we not just replace gunzip with `gzip -d`? I mean, > even in my (gnu/linux) system `gunzip` is just a script that passes > through to `gzip -d`. Makes sense to me; pushed to Emacs 28. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Wed Sep 01 03:38:08 2021 Received: (at control) by debbugs.gnu.org; 1 Sep 2021 07:38:08 +0000 Received: from localhost ([127.0.0.1]:36096 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLKou-0003G1-9J for submit@debbugs.gnu.org; Wed, 01 Sep 2021 03:38:08 -0400 Received: from quimby.gnus.org ([95.216.78.240]:56822) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLKon-0003FF-7B for control@debbugs.gnu.org; Wed, 01 Sep 2021 03:38:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=0mPlwhncFOH11eq/cL6Wqoa7bHXM9zmN095k8Ow71YQ=; b=t9pWYnXWwETN/8jBtwws2PYWMF 3kvlE0GPsbsOTM8+dZSd7WXmeXwBiOdNqysqXrA+0D/XLSBDG/4Lddh6Xx4PaY1X1vKFS7JBcYEBa z9gvUHHNbRAFsZretpt695uWZf7Rm9bTpKIHH9J3CsxBW0e+i39SqGsNu6vUK48MjQhQ=; Received: from [84.212.220.105] (helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mLKof-0005p3-Dz for control@debbugs.gnu.org; Wed, 01 Sep 2021 09:37:51 +0200 Date: Wed, 01 Sep 2021 09:37:48 +0200 Message-Id: <87tuj4iw4z.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #10990 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 10990 28.1 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 10990 28.1 quit