From mboxrd@z Thu Jan 1 00:00:00 1970 From: Sebastian Rose Subject: Re: BUG ??? Cannot export custom link type to ASCII :-( Date: Sun, 05 Sep 2010 13:03:51 +0200 Message-ID: <87mxrwxxig.fsf@gmx.de> References: <877hj1nf7j.fsf@gmx.de> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from [140.186.70.92] (port=41393 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OsD3T-00077c-Jv for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 07:06:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OsD1w-0006ix-Bz for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 07:05:01 -0400 Received: from mailout-de.gmx.net ([213.165.64.23]:34467 helo=mail.gmx.net) by eggs.gnu.org with smtp (Exim 4.69) (envelope-from ) id 1OsD1v-0006eP-RG for emacs-orgmode@gnu.org; Sun, 05 Sep 2010 07:05:00 -0400 In-Reply-To: (Carsten Dominik's message of "Sun, 5 Sep 2010 07:59:29 +0200") 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: Carsten Dominik Cc: Emacs-orgmode mailing list --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Carsten Dominik writes: > Hi Sebastian, > > On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose wr= ote: >> Hi, >> >> >> I have problems to export a custom link type to ASCII. >> >> The code is here: >> >> =C2=A0 http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.= el >> >> =C2=A0 line 66 ff. > > > Do you mean that it does not honor your export formatting as defined > in org-osm-link-export ? Exactly. This affects bbdb: links as well. file: links work as expected (or as I expect??). --=-=-= Content-Type: text/x-verbatim Content-Disposition: inline * Test links [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))2010-test-file.svg][test-track]] [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))unterverzeichnis/testtrack.svg][test-track im Unterverzeichnis]] [[bbdb:Sebastian%20Rose][Sebastian Rose, Hannover]] [[file:~/emacs/gnus/News/drafts/drafts/1::This%20affects%20bbdb%20links%20as%20well][Mail to Carsten]] --=-=-= Exports to ASCII like this: --=-=-= Content-Type: text/x-verbatim Content-Disposition: inline 1 Test links ~~~~~~~~~~~~~ [test-track] [test-track im Unterverzeichnis] [Sebastian Rose, Hannover] [Mail to Carsten] [test-track]: track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))2010-test-file.svg [test-track im Unterverzeichnis]: track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))unterverzeichnis/testtrack.svg [Sebastian Rose, Hannover]: bbdb:Sebastian%20Rose [Mail to Carsten]: file:~/emacs/gnus/News/drafts/drafts/1::This%20affects%20bbdb%20links%20as%20well --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hmmm ---- this seems so deliberate... For bbdb links this even seems to make sense... But how could I avoid this "footnote like" behaviour? Sebastian >> >> >> HTML export works as expected. >> >> >> Example Org file: >> >> =C2=A0--8<---------------cut here---------------start------------->8-- >> >> * Test links >> >> =C2=A0[[track:((9.707032442092896 52.37033874553582) (9.711474180221558 = 52.375238282987))FILENAME.svg][DESCRIPTION]] >> >> =C2=A0--8<---------------cut here---------------end--------------->8-- >> >> >> >> >> Results in ASCII (just the section with the link): >> >> =C2=A0--8<---------------cut here---------------start------------->8-- >> >> 1 Test links >> ~~~~~~~~~~~~~ >> >> =C2=A0[DESCRIPTION] >> >> =C2=A0[DESCRIPTION]: track:((9.707032442092896 52.37033874553582) (9.711= 474180221558 52.375238282987))FILENAME.svg >> >> >> =C2=A0--8<---------------cut here---------------end--------------->8-- >> >> >> >> HTML works: >> >> =C2=A0--8<---------------cut here---------------start------------->8-- >> >>
>>

1 Test links >>
>> >> >>

>> DESCRIPTION >>

>>

>> ... >> =C2=A0--8<---------------cut here---------------end--------------->8-- >> >> >> >> >> Now as write this, I found I could as well use a bbdb link and come to >> similar results... >> >> :-( >> >> >> =C2=A0Sebastian >> --=-=-= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --=-=-=--