From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: Attachments and refiling Date: Wed, 24 Aug 2011 16:12:01 +0200 Message-ID: <87fwkqublv.fsf@altern.org> References: <87ei1rrdzd.fsf@gnu.org> <4e21b345.c74cec0a.7e49.3340@mx.google.com> <8739hvwikz.fsf@altern.org> <4e331ef7.47c3ec0a.7625.6ac7@mx.google.com> <87pqk2lj4e.fsf@altern.org> <4e4d77f7.1136650a.10fc.73a6@mx.google.com> <877h69pz4t.fsf@gnu.org> <4e4e8f74.0750640a.5572.ffff968b@mx.google.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwERe-0002xz-Ro for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 10:28:48 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QwERY-00029B-SB for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 10:28:42 -0400 Received: from mail-ww0-f41.google.com ([74.125.82.41]:41272) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QwERY-000295-M7 for emacs-orgmode@gnu.org; Wed, 24 Aug 2011 10:28:36 -0400 Received: by wwj26 with SMTP id 26so4486858wwj.0 for ; Wed, 24 Aug 2011 07:28:35 -0700 (PDT) In-Reply-To: <4e4e8f74.0750640a.5572.ffff968b@mx.google.com> (Darlan Cavalcante Moreira's message of "Fri, 19 Aug 2011 13:29:34 -0300") 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: Darlan Cavalcante Moreira Cc: Gustav =?iso-8859-1?Q?Wikstr=F6m?= , emacs-orgmode@gnu.org Hi Darlan, Darlan Cavalcante Moreira writes: > At Fri, 19 Aug 2011 10:46:26 +0200, > Bastien 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