From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Achim Gratz Newsgroups: gmane.emacs.devel Subject: Re: master 6d6bf46 2/2: Make dired-do-compress work for *.tar.gz files Date: Thu, 15 Oct 2015 21:46:53 +0200 Organization: Linux Private Site Message-ID: <87k2qnrk2a.fsf@Rainer.invalid> References: <20151013135354.28594.43074@vcs.savannah.gnu.org> <87io69opbs.fsf@gmail.com> <83lhb5xw5w.fsf@gnu.org> <87wpupqo60.fsf@Rainer.invalid> <87zizk1ds3.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1444938481 27784 80.91.229.3 (15 Oct 2015 19:48:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 15 Oct 2015 19:48:01 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Oct 15 21:47:53 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 1ZmoVA-00079o-CD for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 21:47:48 +0200 Original-Received: from localhost ([::1]:49380 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoV9-0002Q1-QH for ged-emacs-devel@m.gmane.org; Thu, 15 Oct 2015 15:47:47 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:45357) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoUX-0002HN-JF for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:47:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZmoUU-0007tD-Cf for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:47:09 -0400 Original-Received: from plane.gmane.org ([80.91.229.3]:52104) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZmoUU-0007sX-5u for emacs-devel@gnu.org; Thu, 15 Oct 2015 15:47:06 -0400 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZmoUO-0006Ms-8h for emacs-devel@gnu.org; Thu, 15 Oct 2015 21:47:00 +0200 Original-Received: from p54b47acc.dip0.t-ipconnect.de ([84.180.122.204]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Oct 2015 21:47:00 +0200 Original-Received: from Stromeko by p54b47acc.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 15 Oct 2015 21:47:00 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 22 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: p54b47acc.dip0.t-ipconnect.de User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) Cancel-Lock: sha1:5Z7hqogQTpTBEtkwfnQ70wRmJN0= X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 80.91.229.3 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:191680 Archived-At: Oleh Krehel writes: > For creating archives I propose that we use: > > (defcustom dired-compress-command > "tar -caf %i.tar.gz %i" > "The default command for creating archives from directories. > %i denotes the directory name.") You can't assume to have GNU tar nor that it is sufficiently new nor that the necessary support has been compiled in. As necessary in other places, you need to test the capabilities available and chose from those that are. You may well end up using a method that is more complicated in order to have it work across a larger set of systems. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Wavetables for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables