emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Sebastian Rose <sebastian_rose@gmx.de>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Emacs-orgmode mailing list <emacs-orgmode@gnu.org>
Subject: Re: BUG ??? Cannot export custom link type to ASCII :-(
Date: Sun, 05 Sep 2010 13:03:51 +0200	[thread overview]
Message-ID: <87mxrwxxig.fsf@gmx.de> (raw)
In-Reply-To: <AANLkTi=Opy+ZX0PsRf5nghXctC9KhGUVXU4NCSJ2rw8o@mail.gmail.com> (Carsten Dominik's message of "Sun, 5 Sep 2010 07:59:29 +0200")

[-- Attachment #1: Type: text/plain, Size: 569 bytes --]

Carsten Dominik <carsten.dominik@gmail.com> writes:

> Hi Sebastian,
>
> On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose <sebastian_rose@gmx.de> wrote:
>> Hi,
>>
>>
>> I have problems to export a custom link type to ASCII.
>>
>> The code is here:
>>
>>   http://github.com/SebastianRose/org-osm/blob/master/org-osm-link.el
>>
>>   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??).


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-verbatim, Size: 441 bytes --]

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

[-- Attachment #3: Type: text/plain, Size: 31 bytes --]


Exports to  ASCII like this:


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #4: Type: text/x-verbatim, Size: 550 bytes --]

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

[-- Attachment #5: Type: text/plain, Size: 1542 bytes --]



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:
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> * Test links
>>
>>  [[track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))FILENAME.svg][DESCRIPTION]]
>>
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>>
>> Results in ASCII (just the section with the link):
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> 1 Test links
>> ~~~~~~~~~~~~~
>>
>>  [DESCRIPTION]
>>
>>  [DESCRIPTION]: track:((9.707032442092896 52.37033874553582) (9.711474180221558 52.375238282987))FILENAME.svg
>>
>>
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>> HTML works:
>>
>>  --8<---------------cut here---------------start------------->8--
>>
>> <div id="outline-container-1" class="outline-2">
>> <h2 id="sec-1"><span class="section-number-2">1</span> Test links </h2>
>> <div class="outline-text-2" id="text-1">
>>
>>
>> <p>
>> <a href="FILENAME.svg">DESCRIPTION</a>
>> </p></div>
>> </div>
>> ...
>>  --8<---------------cut here---------------end--------------->8--
>>
>>
>>
>>
>> Now as write this, I found I could as well use a bbdb link and come to
>> similar results...
>>
>> :-(
>>
>>
>>  Sebastian
>>

[-- Attachment #6: Type: text/plain, Size: 201 bytes --]

_______________________________________________
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

  reply	other threads:[~2010-09-05 11:06 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-05  1:37 BUG ??? Cannot export custom link type to ASCII :-( Sebastian Rose
2010-09-05  5:59 ` Carsten Dominik
2010-09-05 11:03   ` Sebastian Rose [this message]
2010-09-05 18:05     ` Bastien
2010-09-05 23:01       ` Sebastian Rose
2010-09-06  6:19         ` Carsten Dominik
2010-09-06  7:33           ` Sebastian Rose
2010-09-06 11:16             ` Bastien
2010-09-06 13:13               ` Sebastian Rose
2010-09-29  5:55                 ` Carsten Dominik
2010-09-29 22:35                   ` Sebastian Rose
2010-09-30 19:57                     ` Carsten Dominik
2010-09-30 22:15                       ` Sebastian Rose
2010-09-06  6:50         ` Bastien
2010-09-06  7:29           ` Sebastian Rose
2010-09-06  7:52           ` Bastien
2010-09-06  7:54           ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87mxrwxxig.fsf@gmx.de \
    --to=sebastian_rose@gmx.de \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).