From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Fabrice Bauzac-Stehly Newsgroups: gmane.emacs.devel Subject: Re: [External] : Re: Dired C idea Date: Thu, 05 Aug 2021 21:43:56 +0200 Message-ID: <87bl6bsmmb.fsf@mykolab.com> References: <87zgu3p2gc.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18498"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, Drew Adams , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Aug 05 21:44:43 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 1mBjIJ-0004bN-Ng for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 21:44:43 +0200 Original-Received: from localhost ([::1]:49642 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mBjII-0002PY-Mo for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Aug 2021 15:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46398) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBjHk-0001hz-Qa for emacs-devel@gnu.org; Thu, 05 Aug 2021 15:44:09 -0400 Original-Received: from mx.kolabnow.com ([95.128.36.42]:50104) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mBjHi-00080A-GY; Thu, 05 Aug 2021 15:44:07 -0400 Original-Received: from localhost (unknown [127.0.0.1]) by ext-mx-out001.mykolab.com (Postfix) with ESMTP id 0224312BA; Thu, 5 Aug 2021 21:44:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mykolab.com; h= content-type:content-type:mime-version:message-id:in-reply-to :date:date:references:subject:subject:from:from:received :received:received:received; s=dkim20160331; t=1628192640; x= 1630007041; bh=00M2jTeP+D/PCjderpV4UgctRT7HyDqY6HLekRqXOZk=; b=h iqTdpR3Gqy+34/iN2ydq6FOKNMymtTC8oPKU8yC9iuxn+oz424xWOd5l65AYAmS6 rLBxM+LnXROa66CeJQPW+7WjdAFf8DRFByKOCoC6qOIo6Vy7maALaHjCLRlAqfey ecMZwDp0u383cWdK1gmYVrXzzbmo/b8UOO6MQ+TVUZLA5QVwKhcBk0Cx2mtOsFbn xsONg9xFioikvIBsy8MvHdhDhsYU8NbVMi5NmEzmXwNpTUDg+RYrsq6vpcBBLs3z AlslPEN0vKr54KeeB9VfDkernnPyKdDNfc2DoLQpif2SjYk6rLIwdu4bdjgLfj0z a5IVdaioJBGpwpv5Id7EKHJHhEUBlZDcmC/mQuzPKRU7/229eI11zxjrIAsJWDTF ngx7CcpkD/71pMkhjjKlFX4iXgk44+0/DwoJ7o3LvQTist8WybcVmvYlemgCzCdB tVepI6NVw/djzTUSIi3/hMRbZcSWDgnbV0a+NaoMKLmpsv3A5c9o8RXriYGzfGX2 t8mRmeHx2XC4ReeV9tzmxzhjzSd8Mbp+y5O58hubE0XDxIVGe X-Virus-Scanned: amavisd-new at mykolab.com Original-Received: from mx.kolabnow.com ([127.0.0.1]) by localhost (ext-mx-out001.mykolab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UWdzRfsj1TMo; Thu, 5 Aug 2021 21:44:00 +0200 (CEST) Original-Received: from int-mx003.mykolab.com (unknown [10.9.13.3]) by ext-mx-out001.mykolab.com (Postfix) with ESMTPS id 2947DF76; Thu, 5 Aug 2021 21:44:00 +0200 (CEST) Original-Received: from ext-subm002.mykolab.com (unknown [10.9.6.2]) by int-mx003.mykolab.com (Postfix) with ESMTPS id AC4088281; Thu, 5 Aug 2021 21:43:58 +0200 (CEST) Original-Received: from noon by asus.home with local (Exim 4.94.2) (envelope-from ) id 1mBjHY-00024i-2P; Thu, 05 Aug 2021 21:43:56 +0200 In-Reply-To: (Richard Stallman's message of "Thu, 05 Aug 2021 10:12:24 -0400") Received-SPF: pass client-ip=95.128.36.42; envelope-from=noon@mykolab.com; helo=mx.kolabnow.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:272113 Archived-At: Richard Stallman writes: > > 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. Currently, "C" asks before overwriting files. rsync overwrites files without asking. Users who are used to having a prompt to prevent accidental overwrites could be surprised of the new behaviour. Maybe it could be gentler to allow both cp and rsync implementations, and ask for which to use on the first invocation (prominently indicating the new overwrite behaviour), saving the setting for all later uses. Which options should we give to rsync by default? Maybe: -a --hard-links --partial --one-file-system I'm not sure whether we should add --acls and/or --xattrs. > 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. I think that's what --protect-args do. Let's add it to the default options. -- Fabrice Bauzac-Stehly PGP 01EEACF8244E9C14B551C5256ADA5F189BD322B6