From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: joakim@verona.se Newsgroups: gmane.emacs.devel Subject: Re: Tramp and recursive file operations Date: Tue, 29 Sep 2009 19:49:56 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1254251256 14132 80.91.229.12 (29 Sep 2009 19:07:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 29 Sep 2009 19:07:36 +0000 (UTC) Cc: tramp-devel@gnu.org, emacs-devel@gnu.org To: Michael Albinus Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 29 21:07:29 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Msi2q-0000pI-Hj for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 21:07:28 +0200 Original-Received: from localhost ([127.0.0.1]:44892 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msi2p-0002n6-PR for ged-emacs-devel@m.gmane.org; Tue, 29 Sep 2009 15:07:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Msi2k-0002mi-St for emacs-devel@gnu.org; Tue, 29 Sep 2009 15:07:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Msi2f-0002lK-DB for emacs-devel@gnu.org; Tue, 29 Sep 2009 15:07:21 -0400 Original-Received: from [199.232.76.173] (port=42110 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Msi2f-0002lD-7S; Tue, 29 Sep 2009 15:07:17 -0400 Original-Received: from proxy3.bredband.net ([195.54.101.73]:61106) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Msi2e-0002RO-I5; Tue, 29 Sep 2009 15:07:16 -0400 Original-Received: from iph2.telenor.se (195.54.127.133) by proxy3.bredband.net (7.3.140.3) id 49F597CD03D34722; Tue, 29 Sep 2009 21:07:15 +0200 X-SMTPAUTH-B2: joakvero X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq5ZAO/3wUpT44qWPGdsb2JhbACacAEBAQE3vHeEHgU X-IronPort-AV: E=Sophos;i="4.44,475,1249250400"; d="scan'208";a="48948320" Original-Received: from ua-83-227-138-150.cust.bredbandsbolaget.se (HELO exodia) ([83.227.138.150]) by iph2.telenor.se with ESMTP; 29 Sep 2009 21:07:15 +0200 Original-Received: from localhost.localdomain (DIR-655.lan [192.168.200.113]) (authenticated bits=0) by exodia (8.14.3/8.14.3) with ESMTP id n8THnu0D017388 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NO); Tue, 29 Sep 2009 19:49:56 +0200 In-Reply-To: (Michael Albinus's message of "Tue, 29 Sep 2009 16:39:54 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:115789 Archived-At: Michael Albinus writes: > Hi, > > recursive copy or deletion of files can last a long time, because all > operations are performed file by file. This could be much faster, if > Tramp would be allowed to apply such operations in one step, for a whole > directory. Think about "scp" or "rsync". > > Therefore, I propose to add a file name handler to `dired-copy-file-recursive'. > > Recursive file deletion happens via `dired-delete-file'. Here I propose > to add a new function `dired-delete-file-recursive', which takes over > the recursive part of `dired-delete-file', and which calls also a file > name handler when appropriate. > > I volunteer to implement such handlers in Tramp :-) > > What do people think? As a user, I welcome all improvements to Tramp! I use it every day. > > Best regards, Michael. > -- Joakim Verona