From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Re: Attachments and refiling Date: Tue, 19 Jul 2011 14:17:45 +0200 Message-ID: References: <87ei1rrdzd.fsf@gnu.org> <4e21b345.c74cec0a.7e49.3340@mx.google.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=90e6ba61385474fbfc04a86b1aad Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60268) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj9FI-0006el-Mb for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 08:17:56 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qj9FE-000552-5Y for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 08:17:52 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:35063) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qj9FD-00054T-Rp for emacs-orgmode@gnu.org; Tue, 19 Jul 2011 08:17:48 -0400 Received: by iyb14 with SMTP id 14so3148083iyb.0 for ; Tue, 19 Jul 2011 05:17:46 -0700 (PDT) In-Reply-To: <4e21b345.c74cec0a.7e49.3340@mx.google.com> 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: Darlan Cavalcante Moreira Cc: Bastien , emacs-orgmode@gnu.org --90e6ba61385474fbfc04a86b1aad Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok. I would really like attachments to be integrated with refiling though even if it was a non-default option. Another feature that could improve the use of attachments is to allow links to the attached folders also via the C-c C-l interface in a similar way as stored links (C-c l ). I.E to get the attachment-folder as an item in the C-c C-l buffer with TAB-completion. regards G 2011/7/16 Darlan Cavalcante Moreira > > 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 othe= r > 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 archivin= g > 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=F6m wrote: > > > > [1 ] > > Hello Bastien! > > > > To clarify a bit. Lets say I have a file c:\temp\agenda.org (I'm callin= g > 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\da= ta > > 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=F6m writes: > > > > > > > Is it possible to make attachment-folders move with the headings wh= en > > > > refiling them to other locations? > > > > > > I'm not sure what you mean. > > > > > > Can you give an example? > > > > > > -- > > > Bastien > > > > > [2 ] > > > --90e6ba61385474fbfc04a86b1aad Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Ok. I would really like attachments to be integrated with refiling though e= ven if it was a non-default option. Another feature that could improve the = use of attachments is to allow links to the attached folders also via the C= -c C-l interface in a similar way as stored links (C-c l ). I.E to get the = attachment-folder as an item in the C-c C-l buffer with TAB-completion.
regards
G

2011/7= /16 Darlan Cavalcante Moreira <darcamo@gmail.com>

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<= br> 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<= br> 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=F6m <gustav.erik@= gmail.com> wrote:
>
> [1 =A0<text/plain; ISO-8859-1 (quoted-printable)>]
> 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 t= o
> 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' an= d 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 <bzg@altern.org= >
>
> > Hi Gustav,
> >
> > Gustav Wikstr=F6m <gu= stav.erik@gmail.com> writes:
> >
> > > Is it possible to make attachment-folders move with the head= ings when
> > > refiling them to other locations?
> >
> > I'm not sure what you mean.
> >
> > Can you give an example?
> >
> > --
> > =A0Bastien
> >
> [2 =A0<text/html; ISO-8859-1 (quoted-printable)>] >

--90e6ba61385474fbfc04a86b1aad--