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: Sun, 08 Aug 2021 22:26:13 -0400 Message-ID: References: <87zgu3p2gc.fsf@gmail.com> <87bl6bsmmb.fsf@mykolab.com> <87sfzlk4zi.fsf@mykolab.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="33831"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, drew.adams@oracle.com, emacs-devel@gnu.org To: Fabrice Bauzac-Stehly Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 09 04:26:52 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 1mCv07-0008bO-Sv for ged-emacs-devel@m.gmane-mx.org; Mon, 09 Aug 2021 04:26:51 +0200 Original-Received: from localhost ([::1]:51044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCv06-0000N3-A6 for ged-emacs-devel@m.gmane-mx.org; Sun, 08 Aug 2021 22:26:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45270) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mCuzV-00087z-Oi for emacs-devel@gnu.org; Sun, 08 Aug 2021 22:26:13 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54130) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mCuzV-0001BQ-60; Sun, 08 Aug 2021 22:26:13 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1mCuzV-0003pt-1C; Sun, 08 Aug 2021 22:26:13 -0400 In-Reply-To: <87sfzlk4zi.fsf@mykolab.com> (message from Fabrice Bauzac-Stehly on Sat, 07 Aug 2021 10:56:33 +0200) 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:272221 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. ]]] > Let's imagine a user with a scanner which generates a time-based name > for each pdf file it scans. That person regularly scans per invoices > and uses the "C" command to archive them into directory "invoices/", > while changing the name at the same time to "invoice-NiceCompany.pdf". Would you please describe the commands more precisely? Are you using the C command on just one file at a time? Or on several files at a time? Or on a directory for recursive copying? I'm talking about the case of recursive copying of a directory. > It sometimes happens that this person forgets that a long time ago a > file with the same name was already saved, for another invoice. This > person trusts the "C" command to tell if an overwrite is going to > happen, preventing the loss of the old invoice. I'm thinking about the case of copying a directory. With the C command as it is now, you can copy a directory to make a new directory. I don't think it is possible to use it to merge a directory's files into an existing directory. We could add the ability to do that -- it would be natural if it worked using rsync -- but that is a case not currently supported. So there is no possibility of an incompatible change in 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)