From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Moving and resetting attachments Date: Sun, 04 Jun 2017 09:59:53 +0200 Message-ID: <87fufgnpxi.fsf@nicolasgoaziou.fr> References: <874lw05njr.fsf@ericabrahamsen.net> <8737bi21dc.fsf@ericabrahamsen.net> <87d1am4t0h.fsf@nicolasgoaziou.fr> <874lvy8t6s.fsf@ericabrahamsen.net> <87inkelapp.fsf@nicolasgoaziou.fr> <87wp8utjs9.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:42916) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dHQS9-0005De-PP for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 04:00:02 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dHQS5-000373-0n for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 04:00:01 -0400 Received: from relay4-d.mail.gandi.net ([217.70.183.196]:43541) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dHQS4-00035h-Pr for emacs-orgmode@gnu.org; Sun, 04 Jun 2017 03:59:56 -0400 In-Reply-To: <87wp8utjs9.fsf@ericabrahamsen.net> (Eric Abrahamsen's message of "Sat, 03 Jun 2017 00:51:34 +0800") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Eric Abrahamsen Cc: emacs-orgmode@gnu.org Hello, Eric Abrahamsen writes: > What I meant was, first ask the user for a directory, then cycle through > the files and ask whether to move each file to that directory. The user > wouldn't specify the directory itself for each file. And with > `map-y-or-n-p', the user can just hit "!" to take care of all files. > > Am I misunderstanding your concern? The only time the ID attachment > directory scheme (which is indeed opaque) would come into play is when > the command was called with a prefix argument -- ie, when removing a > custom directory, and reverting to the automatic directory. In that > case, the directory would be automatically derived, and the user would > simply be presented with the choice to move each file there, or not. When asking for each file if it should be moved or not, you can end up with files in both the old and the new directory. My concern is that, when the old directory is a default ID directory, there is no simple way to get the files back. So, I think we should automatically move files in this case. I also agree with your special case described above. Regards, -- Nicolas Goaziou