From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Dired C idea Date: Thu, 05 Aug 2021 10:12:24 -0400 Message-ID: References: <87zgu3p2gc.fsf@gmail.com> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27393"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, emacs-devel@gnu.org To: Drew Adams Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 16:17:33 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mBeBh-0006uI-Re for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 16:17:33 +0200 Original-Received: from localhost ([::1]:56038 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBeBg-0002RS-KM for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 10:17:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51464) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBe6r-0000eG-G3 for emacs-devel@gnu.org; Thu, 05 Aug 2021 10:12:33 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38840) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBe6r-00022V-6r; Thu, 05 Aug 2021 10:12:33 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mBe6i-0004ds-Cc; Thu, 05 Aug 2021 10:12:24 -0400 In-Reply-To: (message from Drew Adams on Mon, 2 Aug 2021 01:37:13 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272086 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > All I asked was why replace the command bound to > `C'. Because that's the Dired command to copy files. I think of rsync as a better way of copying them. So I think that the default way to do the copying. When you copy individual files in Dired, it tells you which have been copied. That's different from rsync but it achieves the same purpose. But in recursive copying of a directory, Dired does not help you avoid repeated copying when you restart. Why not add rsync copying and (if it deserves > a binding) give it a different key from `C'? I don't see a need to have a binding for cp. I did not know about the command copy-directory, but making that use rsync seems like a good idea. I recall that rsync has a bug in handling arguments that contain spaces. We would need to get that fixed, in order for this change not to cause problems. > Are you also proposing to remove ordinary copying > altogether? I'm not sure what "altogether" means here, since there are several levels for how far we could go. I see no need for Dired to have a key to do cp rather than rsync, when operating on ordinary local disks. Someone said it might be better not to use rsync when the files are accessed through Tramp. I don't know -- I don't use Tramp. But I agree we should DTRT about that case. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)