From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Paul Eggert Newsgroups: gmane.emacs.devel Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files Date: Tue, 13 Oct 2015 11:38:57 -0700 Organization: UCLA Computer Science Department Message-ID: <561D4FC1.8010107@cs.ucla.edu> References: <20151013135354.28594.43074@vcs.savannah.gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1444761634 3872 80.91.229.3 (13 Oct 2015 18:40:34 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 13 Oct 2015 18:40:34 +0000 (UTC) Cc: Oleh Krehel To: Glenn Morris , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Oct 13 20:40:23 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 1Zm4Un-0000IT-Ke for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 20:40:21 +0200 Original-Received: from localhost ([::1]:38800 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm4Um-0002TY-UD for ged-emacs-devel@m.gmane.org; Tue, 13 Oct 2015 14:40:20 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57163) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm4TY-0002LZ-Ik for emacs-devel@gnu.org; Tue, 13 Oct 2015 14:39:09 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zm4TU-0005Vv-Hr for emacs-devel@gnu.org; Tue, 13 Oct 2015 14:39:04 -0400 Original-Received: from zimbra.cs.ucla.edu ([131.179.128.68]:58299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zm4TU-0005Vq-Bp; Tue, 13 Oct 2015 14:39:00 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id B509C160192; Tue, 13 Oct 2015 11:38:58 -0700 (PDT) Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id DSfkREioce0C; Tue, 13 Oct 2015 11:38:58 -0700 (PDT) Original-Received: from localhost (localhost [127.0.0.1]) by zimbra.cs.ucla.edu (Postfix) with ESMTP id 1303F160D55; Tue, 13 Oct 2015 11:38:58 -0700 (PDT) X-Virus-Scanned: amavisd-new at zimbra.cs.ucla.edu Original-Received: from zimbra.cs.ucla.edu ([127.0.0.1]) by localhost (zimbra.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id EfyV_0TMoUT2; Tue, 13 Oct 2015 11:38:57 -0700 (PDT) Original-Received: from Penguin.CS.UCLA.EDU (Penguin.CS.UCLA.EDU [131.179.64.200]) by zimbra.cs.ucla.edu (Postfix) with ESMTPSA id ED084160192; Tue, 13 Oct 2015 11:38:57 -0700 (PDT) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 131.179.128.68 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:191505 Archived-At: On 10/13/2015 11:28 AM, Glenn Morris wrote: >> - '(("\\.gz\\'" "" "gunzip") >> >+ '(("\\.tar\\.gz" "" "tar" "-zxvf") > Missing anchor. > >> >+ ("\\.gz\\'" "" "gunzip") >> > ("\\.tgz\\'" ".tar" "gunzip") >> > ("\\.Z\\'" "" "uncompress") > This makes ".tar.gz" and ".tgz" be treated differently. > Isn't that a little odd? Also, not every 'tar' has the -z option. Emacs should use -z only after it's verified that the installed 'tar' supports -z.