[O] org-attach link proposal

2011-04-01 Thread Juraj Kubelka
Hi, I played a bit with org-attach. It is great package! Thanks for it! :) I have one proposal. So at first why: I would like to do something like this: * Project documents :PROPERTIES: :Attachments: first.doc second.doc third.doc :ID: 37773ace-b471-4003-a8d1-448e7c48f77b :END:

Re: [O] org-attach link proposal

2011-04-01 Thread Aankhen
Hi Juraj, On Fri, Apr 1, 2011 at 16:32, Juraj Kubelka juraj.kube...@gmail.com wrote: I played a bit with org-attach. It is great package! Thanks for it! :) I have one proposal. So at first why: I would like to do something like this: * Project documents   :PROPERTIES:   :Attachments:

Re: [O] org-attach link proposal

2011-04-01 Thread Darlan Cavalcante Moreira
I have the same use-case scenario as you and I asked the same question a while ago [1]. As you, I define a link type for attached files with #+LINK: attach elisp:(org-open-file (org-attach-expand %s)) To avoid the confirmation to execute elisp code you can use the

Re: [O] org-attach link proposal

2011-04-01 Thread Juraj Kubelka
Hi Darlan and Aankhen, thank you for your help! In the end a use this setup: (org-add-link-type att 'org-attach-open-link) (defun org-attach-open-link (file) (org-open-file (org-attach-expand file))) (set-variable 'org-attach-store-link-p t) I have learned a lot. This is a great