From mboxrd@z Thu Jan 1 00:00:00 1970 From: Darlan Cavalcante Moreira Subject: Re: Attachments and refiling Date: Sat, 16 Jul 2011 12:50:23 -0300 Message-ID: <4e21b345.c74cec0a.7e49.3340@mx.google.com> References: <87ei1rrdzd.fsf@gnu.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:47771) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi78T-0003xI-Qw for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 11:50:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qi78R-0007GG-Rq for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 11:50:33 -0400 Received: from mail-yw0-f41.google.com ([209.85.213.41]:62207) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qi78R-0007GA-J9 for emacs-orgmode@gnu.org; Sat, 16 Jul 2011 11:50:31 -0400 Received: by ywm39 with SMTP id 39so995937ywm.0 for ; Sat, 16 Jul 2011 08:50:30 -0700 (PDT) In-Reply-To: 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Gustav =?UTF-8?B?V2lrc3Ryw7Zt?= Cc: Bastien , emacs-orgmode@gnu.org I use org-attach regularly and consider it to be a great feature of org-mode. Since I only attach to the sub-tree (instead of to a different file) I have not this problem. However, sometimes a set the attach directory of two different headings to the same folder (when it makes sense) and if org always moved the attached files it would break the other sub-tree. An alternative is to change the attach directory in the archived entry to point to the original attach directory where the files are. When archiving to a file in a different folder org could ask if it should also move the attached files or simply change the attach directory accordingly (I would prefer this as the default if "ask" as the default was considered too annoying). -- Darlan At Fri, 15 Jul 2011 16:55:06 +0200, Gustav Wikström wrote: > > [1 ] > Hello Bastien! > > To clarify a bit. Lets say I have a file c:\temp\agenda.org (I'm calling it > file 'a'). > > When marked with TODO item: done, headings in this file are archived to > another file called c:\temp\archive\agenda.org_archive ('b') > > If i use C-c C-a to attach a file to a certain topic in 'a' and then refile > this topic to 'b', when done the attachment still resides in c:\temp\data > and will not be found when looking at the attachment in 'b'. > > Thus my question is if it is possible to also refile the attachment so the > attachment-folder resides in c:\temp\archive\data and is avaliable in 'b'? > > /Gustav > > 2011/7/15 Bastien > > > Hi Gustav, > > > > Gustav Wikström writes: > > > > > Is it possible to make attachment-folders move with the headings when > > > refiling them to other locations? > > > > I'm not sure what you mean. > > > > Can you give an example? > > > > -- > > Bastien > > > [2 ] >