From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: BUG ??? Cannot export custom link type to ASCII :-( Date: Thu, 30 Sep 2010 21:57:38 +0200 Message-ID: <01FA4FC6-6881-476B-837F-938C8F1C7BCA@gmail.com> References: <877hj1nf7j.fsf@gmx.de> <87mxrwxxig.fsf@gmx.de> <87fwxo12xl.fsf@gnu.org> <87k4mzx0ac.fsf@gmx.de> <87aanvwckb.fsf@gmx.de> <87fwxnm8ax.fsf@gnu.org> <8762yjvwv1.fsf@gmx.de> <3227634B-2C33-47F9-A61B-A48F8254ED77@gmail.com> <87zkv0b2lj.fsf@gmx.de> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from [140.186.70.92] (port=55499 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P1PGP-0002d0-DO for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 15:57:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P1PGO-0003Xu-9H for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 15:57:57 -0400 Received: from mail-ey0-f169.google.com ([209.85.215.169]:53712) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P1PGO-0003Xi-0O for emacs-orgmode@gnu.org; Thu, 30 Sep 2010 15:57:56 -0400 Received: by eyh5 with SMTP id 5so1295491eyh.0 for ; Thu, 30 Sep 2010 12:57:55 -0700 (PDT) In-Reply-To: <87zkv0b2lj.fsf@gmx.de> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Sebastian Rose Cc: Emacs-orgmode mailing list , Bastien Hi Sebastian, I believe I have fixed the bug. But please note that there is a typo in your function osm-org-link-export, in the last line it must be target, not taget. HTH - Carsten On Sep 30, 2010, at 12:35 AM, Sebastian Rose wrote: > Carsten Dominik writes: >> Hi Sebastian, >> >> is this still an open issue? If you, can you please summarize >> again and show the code you are using for your link definition? >> I am not sure if I have up to date information. >> >> - Carsten > > > Hi Carsten, > > > it's still an issue when exporting to ASCII. The reason is, that my > "track" links have looooong paths (all the coordinates of the track > plus > the desired filename, see the comments in the code for an example > link). > That causes the "footnote" for a track to span pages (worsed case). > > See the example ASCII export on the bottom of this mail. > > Anyway, I'll rarely export the files to ASCII, so it's not urgent at > all. > > > > The code is here: > > http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el > > > The function to export those links is: > > > > > > >> On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote: >>> Org file: > >>> * Test links >>> >>> [[track:((9.707032442092896 52.37033874553582))test.svg][test- >>> track]] >>> >>> > > >>> ASCII-export: > >>> 1 Test links >>> ~~~~~~~~~~~~~ >>> >>> [test-track] >>> >>> >>> [test-track]: track:((9.707032442092896 52.37033874553582))test.svg > > > Sebastian