[Top][All Lists]

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

Re: [O] Attachments and refiling

From: Darlan Cavalcante Moreira
Subject: Re: [O] Attachments and refiling
Date: Wed, 24 Aug 2011 11:56:37 -0300
User-agent: Wanderlust/2.15.9 (Almost Unreal) Emacs/24.0 Mule/6.0 (HANACHIRUSATO)

At Wed, 24 Aug 2011 16:12:01 +0200,
Bastien <address@hidden> wrote:
> 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.

Thanks for the confirmation Bastien. At least for me the export part is not
very important right now. A context aware export engine would make this
easy to achieve with org-add-link-type and probably open up many other
possibilities, but I understand it is a lot of work.

> > 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]