From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?Gustav_Wikstr=F6m?= Subject: Re: Attachments and refiling Date: Fri, 29 Jul 2011 10:33:37 +0200 Message-ID: References: <87ei1rrdzd.fsf@gnu.org> <4e21b345.c74cec0a.7e49.3340@mx.google.com> <8739hvwikz.fsf@altern.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=20cf3042719e4acb8104a9312351 Return-path: Received: from eggs.gnu.org ([140.186.70.92]:52907) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmiVo-0001FZ-F0 for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 04:33:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QmiVm-0006XQ-Fu for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 04:33:40 -0400 Received: from mail-iy0-f169.google.com ([209.85.210.169]:35564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QmiVm-0006XM-Bb for emacs-orgmode@gnu.org; Fri, 29 Jul 2011 04:33:38 -0400 Received: by iyb14 with SMTP id 14so4801310iyb.0 for ; Fri, 29 Jul 2011 01:33:37 -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: Bastien Cc: emacs-orgmode@gnu.org --20cf3042719e4acb8104a9312351 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What about being able to link to attachments in a similar way as one links to files or web-pages? Using [[attachment:some_file.sql][some link name]] ? Comments? Problems with this? 2011/7/25 Gustav Wikstr=F6m > To make org-mode look for attachments in the current sub-tree when using > org-insert-link would simplify the process of "linking" to attached files > (useful at least when exporting). Persistent links, in in this regard, se= ems > like a nice idea! > > /Gustav > > 2011/7/24 Bastien > >> Hi Gustav, >> >> Gustav Wikstr=F6m writes: >> >> > 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. >> >> You can already use (setq org-attach-store-link-p t) to create a link >> while attaching a file. >> >> Since links are deleted as soon as they are inserted, this will be >> usable only once. We can imagine *persistent links* -- and links to >> attached files could be a good example of persistent links. >> >> What do you think? >> >> -- >> Bastien >> > > --20cf3042719e4acb8104a9312351 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable What about being able to link to attachments in a similar way as one links = to files or web-pages? Using [[attachment:some_file.sql][some link name]] ?= Comments? Problems with this?

2011/7/25 = Gustav Wikstr=F6m <gustav.erik@gmail.com>
To make org-mode look for attachments = in the current=A0sub-tree=A0when using org-insert-link would simplify the p= rocess of "linking" to attached files (useful at least when expor= ting).=A0Persistent links, in in this regard, seems like a nice idea!

/Gustav

2011/7/24 Bastien <bzg@altern.org>
Hi Gustav,

Gustav Wikstr=F6m <gustav.erik@gmail.com> writes:

> Another feature that could improve the use of attachments i= s 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.

You can already use (setq org-attach-store-link-p t) to create a link=
while attaching a file.

Since links are deleted as soon as they are inserted, this will be
usable only once. =A0We can imagine *persistent links* -- and links to
attached files could be a good example of persistent links.

What do you think?

--
=A0Bastien


--20cf3042719e4acb8104a9312351--