From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files Date: Wed, 14 Oct 2015 19:16:43 +0300 Message-ID: <83lhb5xw5w.fsf@gnu.org> References: <20151013135354.28594.43074@vcs.savannah.gnu.org> <87io69opbs.fsf@gmail.com> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1444839472 29947 80.91.229.3 (14 Oct 2015 16:17:52 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 Oct 2015 16:17:52 +0000 (UTC) Cc: rgm@gnu.org, emacs-devel@gnu.org To: Oleh Krehel Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Oct 14 18:17:44 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZmOkI-0007L6-N6 for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2015 18:17:42 +0200 Original-Received: from localhost ([::1]:43416 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmOkI-0003TA-8W for ged-emacs-devel@m.gmane.org; Wed, 14 Oct 2015 12:17:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55117) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmOjA-0003EH-HC for emacs-devel@gnu.org; Wed, 14 Oct 2015 12:16:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmOj7-0003MK-5m for emacs-devel@gnu.org; Wed, 14 Oct 2015 12:16:32 -0400 Original-Received: from mtaout28.012.net.il ([80.179.55.184]:45300) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmOj6-0003Kw-U3; Wed, 14 Oct 2015 12:16:29 -0400 Original-Received: from conversion-daemon.mtaout28.012.net.il by mtaout28.012.net.il (HyperSendmail v2007.08) id <0NW700A00X176G00@mtaout28.012.net.il>; Wed, 14 Oct 2015 19:15:48 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([84.94.185.246]) by mtaout28.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NW700OTXX6C7CA0@mtaout28.012.net.il>; Wed, 14 Oct 2015 19:15:48 +0300 (IDT) In-reply-to: <87io69opbs.fsf@gmail.com> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.184 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:191579 Archived-At: > From: Oleh Krehel > Date: Wed, 14 Oct 2015 09:56:55 +0200 > Cc: emacs-devel@gnu.org > > >> + ("\\.gz\\'" "" "gunzip") > >> ("\\.tgz\\'" ".tar" "gunzip") > >> ("\\.Z\\'" "" "uncompress") > > > > This makes ".tar.gz" and ".tgz" be treated differently. > > Isn't that a little odd? > > Also: .tar.bz2, .tar.xz, .tar, etc are not handled, only the gzip version. > > This will be harder to fix, since I've only ever dealt with .tar.gz > archives (and .zip sometimes). Could someone provide the relative > extraction commands for .tar.bz2, .tar.xz, and .tar? For .tar.bz2, uncompress with bunzip2 to get .tar, for .tar.xz, uncompress with unxz to get .tar. Is that what you wanted?