Re: [O] easy way to link to file in attachment directory?

2014-09-04 Thread Darlan Cavalcante Moreira
I have this
  #+LINK: attach elisp:(org-open-file (org-attach-expand "%s"))
in all of my org-mode files. In fact, I have this line, among others, in
an org-mode setup file which is included in all of my org-mode files
using "#+SETUPFILE:"

Then I can create a link to an attachment with
[[attach:filename_without_any_path.extension][description]]

Also, just after attaching a new file org will automatically store the
link so that you can use "C-c C-l" to include the link.

-- 
Darlan Cavalcante Moreira
darc...@gmail.com


mirko.vuko...@gmail.com writes:

> Hello,
>
> Is there a way to insert a link to a file in the attachment directory?
>
> Currently, I open the attachment directory in emacs and copy the full path.
> then in the document I create the link using org-insert-link (C-u C-c C-l).
>
> Thanks,
>
> Mirko



[O] easy way to link to file in attachment directory?

2014-09-04 Thread Mirko Vukovic
Hello,

Is there a way to insert a link to a file in the attachment directory?

Currently, I open the attachment directory in emacs and copy the full path.
then in the document I create the link using org-insert-link (C-u C-c C-l).

Thanks,

Mirko