From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.tramp,gmane.emacs.devel Subject: Re: Tramp and recursive file operations Date: Wed, 30 Sep 2009 10:06:06 +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 1254298011 2972 80.91.229.12 (30 Sep 2009 08:06:51 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 30 Sep 2009 08:06:51 +0000 (UTC) Cc: "tramp-devel@gnu.org" , "emacs-devel@gnu.org" To: Stefan Monnier Original-X-From: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Wed Sep 30 10:06:43 2009 Return-path: Envelope-to: tramp@deer.gmane.org Original-Received: from quimby.gnus.org ([80.91.231.51]) by lo.gmane.org with esmtp (Exim 4.50) id 1MsuCk-0004aI-AX for tramp@deer.gmane.org; Wed, 30 Sep 2009 10:06:30 +0200 Original-Received: from lists.gnu.org ([199.232.76.165]) by quimby.gnus.org with esmtp (Exim 3.36 #1 (Debian)) id 1MsuDN-0006l1-00 for ; Wed, 30 Sep 2009 10:07:09 +0200 Original-Received: from localhost ([127.0.0.1]:56461 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsuCi-0003HK-Sp for tramp@quimby.gnus.org; Wed, 30 Sep 2009 04:06:28 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MsuCc-0003Gy-9m for tramp-devel@gnu.org; Wed, 30 Sep 2009 04:06:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MsuCX-0003FQ-OV for tramp-devel@gnu.org; Wed, 30 Sep 2009 04:06:21 -0400 Original-Received: from [199.232.76.173] (port=34843 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MsuCX-0003FN-KK; Wed, 30 Sep 2009 04:06:17 -0400 Original-Received: from mailrelay1.alcatel.de ([194.113.59.95]:33124) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MsuCW-0000tO-VF; Wed, 30 Sep 2009 04:06:17 -0400 Original-Received: from destgsu0048.stgl.sel.alcatel.de (destgsu0048.de.alcatel-lucent.com [149.204.242.4]) by mailrelay1.alcatel.de (8.13.8/8.13.8/ICT) with ESMTP id n8U867Ts030539; Wed, 30 Sep 2009 10:06:07 +0200 Original-Received: from slbhn1.alcatel.de (slbhn1.de.alcatel-lucent.com [149.204.90.35]) by destgsu0048.stgl.sel.alcatel.de (8.12.3/8.12.3) with ESMTP id n8U867Y4029902; Wed, 30 Sep 2009 10:06:07 +0200 (MEST) In-Reply-To: (Stefan Monnier's message of "Tue, 29 Sep 2009 22:53:11 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-Alcanet-virus-scanned: n8U867Y4029902 at destgsu0048.stgl.sel.alcatel.de X-Scanned-By: MIMEDefang 2.57 on 149.204.45.72 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 2) X-BeenThere: tramp-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: tramp-devel.gnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Errors-To: tramp-devel-bounces+tramp=quimby.gnus.org@gnu.org Xref: news.gmane.org gmane.emacs.tramp:6967 gmane.emacs.devel:115801 Archived-At: Stefan Monnier writes: > It seems OK, but I'd rather see them renamed to copy-file-recursive and > delete-file-recursive at the same time and made independent from dired. OK. Looking outside dired, there is already delete-directory, good for empty directories. Maybe we add an optional parameter RECURSIVE? A copy-directory function does not exist. What about allowing the first parameter of copy-file to be a directory name? This would imply to copy recursively. Comments? > Stefan Best regards, Michael.