emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Attachments and refiling


From: Bastien
Subject: Re: [O] Attachments and refiling
Date: Wed, 24 Aug 2011 16:12:01 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Hi Darlan,

Darlan Cavalcante Moreira <address@hidden> writes:

> At Fri, 19 Aug 2011 10:46:26 +0200,
> Bastien <address@hidden> wrote:
>
> What about org-add-link-type?

Mmhh..  yes.  We should be able to use something like:

  (org-add-link-type "attach" 'org-attach-open 'org-attach-export)

> However, I could not make the the "export" part work because I can't use
> org-attach-expand in it. Therefore, I don't know how to get the attach
> directory inside a function that I can pass to org-add-link-type as the
> export function. 

That's not possible for now.  That's something we can keep in mind 
while working an a new export engine: exporting part of the content 
should be done in a context-aware fashion, where it's possible to 
get the value of org-attach-dir.

> Unfortunately, my elisp skills are very limited to go any further for
> now.

Even with good elisp skills I'm afraid we cannot achieve this for 
the moment.  

HTH,

-- 
 Bastien



reply via email to

[Prev in Thread] Current Thread [Next in Thread]