Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-30 Thread Sebastian Rose
Carsten Dominik  writes:

> 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

Hi Carsten,


it's fixed indeed!  Thanks a bunch!


  Sebastian

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-30 Thread Carsten Dominik

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



___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-29 Thread Sebastian Rose
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 long 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:



binerAyB6wbzv.bin
Description: application/emacs-lisp





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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-28 Thread Carsten Dominik

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

On Sep 6, 2010, at 3:13 PM, Sebastian Rose wrote:


Bastien  writes:

Sebastian Rose  writes:


C-c C-e A

gives me:

Debugger entered--Lisp error: (void-variable type)


This should now be fixed in git - please pull and try.


Yes, it is fixed.


I still can return what ever I want with no effect (ASCII only):




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



___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Sebastian Rose
Bastien  writes:
> Sebastian Rose  writes:
>
>> C-c C-e A
>>
>> gives me:
>>
>> Debugger entered--Lisp error: (void-variable type)
>
> This should now be fixed in git - please pull and try.

Yes, it is fixed.


I still can return what ever I want with no effect (ASCII only):




bin61JVw1aEg0.bin
Description: application/emacs-lisp


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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Bastien
Sebastian Rose  writes:

> C-c C-e A
>
> gives me:
>
> Debugger entered--Lisp error: (void-variable type)

This should now be fixed in git - please pull and try.

-- 
 Bastien

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Carsten Dominik
On Mon, Sep 6, 2010 at 8:50 AM, Bastien  wrote:
> Sebastian Rose  writes:
>
>> Yes.  But I want to avoid the footnote style for my custom "track:"
>> links.  Look at the track I ran today.
>
> (Er.. that's a crazy link!)
>
>
> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.
>
> For example org-bbdb.el would have a function `org-bbdb-export-link'
> taking care of the various way BBDB links have to be represented in
> HTML, LaTeX, etc.

That system is present!  And funny that you pick bbdb as an example,
because it is one of the link types which takes advantage of this. :)

The problem was that the ascii exporter did not honor the export settings
that are defined when org-add-link-type is called

- Carsten

>
> --
>  Bastien
>

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Sebastian Rose
Carsten Dominik  writes:
> Hi Sebastian,
>
> I have just pushed the code that was needed to allow custom link
> formatting for ASCII export, like you have implemented it.  This was
> simple an omission in the ascii exporter.
> So I hope it will work now
>
> - Carsten


C-c C-e A


gives me:

Debugger entered--Lisp error: (void-variable type)
  (assoc type org-link-protocols)
  (nth 2 (assoc type org-link-protocols))
  (setq fnc (nth 2 (assoc type org-link-protocols)))
  (functionp (setq fnc (nth 2 ...)))
  (if (functionp (setq fnc ...)) (setq rpl (or ... rpl)) (when (and desc0 ...) (if org-export-ascii-links-to-notes ... ...)))
  (if (and (> ... 8) (equal ... "coderef:")) (setq line (replace-match ... t t line)) (setq rpl (concat "[" ... "]")) (if (functionp ...) (setq rpl ...) (when ... ...)) (setq line (replace-match rpl t t line)))
  (while (string-match org-bracket-link-regexp line) (setq link (match-string 1 line) desc0 (match-string 3 line) desc (or desc0 ...)) (if (and ... ...) (setq line ...) (setq rpl ...) (if ... ... ...) (setq line ...)))
  (while (setq line (pop lines)) (when (and link-buffer ...) (org-export-ascii-push-links ...) (setq link-buffer nil)) (setq wrap nil) (setq line (org-html-expand-for-ascii line)) (while (string-match org-bracket-link-regexp line) (setq link ... desc0 ... desc ...) (if ... ... ... ... ...)) (when custom-times (setq line ...)) (cond (... ... ... ...) (... ... ... ...) (t ... ... ... ... ...)))
  (let* ((opt-plist ...) (region-p ...) (rbeg ...) (rend ...) (subtree-p ...) (level-offset ...) (opt-plist ...) (org-current-export-dir ...) (org-current-export-file buffer-file-name) (custom-times org-display-custom-times) (org-ascii-current-indentation ...) (level 0) line txt (umax nil) (umax-toc nil) (case-fold-search nil) (bfname ...) (filename ...) (filename ...) (buffer ...) (org-levels-open ...) (odd org-odd-levels-only) (date ...) (author ...) (title ...) (email ...) (language ...) (quote-re0 ...) (todo nil) (lang-words nil) (region ...) (lines ...) thetoc have-headings first-heading-pos table-open table-buffer link-buffer link desc desc0 rpl wrap fnc) (let (...) (org-unmodified ...)) (setq org-min-level (org-get-min-level lines level-offset)) (setq org-last-level org-min-level) (org-init-section-numbers) (setq lang-words (or ... ...)) (set-buffer buffer) (erase-buffer) (fundamental-mode) (org-install-letbind) (mapc (lambda ... ...) org-export-plist-vars) (org-set-local (quote org-odd-levels-only) odd) (setq umax (if arg ... org-export-headline-levels)) (setq umax-toc (if ... ... umax)) (unless body-only (when ... ... ...) (if ... ...) (cond ... ... ...) (if ... ...) (unless ... ...)) (if (and org-export-with-toc ...) (progn ... ... ... ...)) (org-init-section-numbers) (while (setq line ...) (when ... ... ...) (setq wrap nil) (setq line ...) (while ... ... ...) (when custom-times ...) (cond ... ... ...)) (org-export-ascii-push-links (nreverse link-buffer)) (normal-mode) (when thetoc (goto-char ...) (if ... ... ...) (mapc ... thetoc) (or ... ...)) (goto-char (point-min)) (let (beg end) (while ... ... ... ... ...)) (let (beg end) (goto-char ...) (while ... ... ... ... ...) (goto-char ...) (while ... ... ... ...)) (run-hooks (quote org-export-ascii-final-hook)) (or to-buffer (save-buffer)) (goto-char (point-min)) (or (org-export-push-to-kill-ring "ASCII") (message "Exporting... done")) (if (eq to-buffer ...) (prog1 ... ...) (current-buffer)))
  org-export-as-ascii(nil nil nil "*Org ASCII Export*")
  org-export-as-ascii-to-buffer(nil)
  call-interactively(org-export-as-ascii-to-buffer)
  (if (and bg (nth 2 ass) (not ...) (not ...)) (let (...) (set-process-sentinel p ...) (message "Background process \"%s\": started" p)) (if subtree-p (progn ... ...)) (call-interactively (nth 1 ass)) (when (and bpos ...) (let ... ... ... ... ...)))
  (let* ((bg ...) subtree-p (help "[t]   insert the export option template\n[v]   limit export to visible part of outline tree\n[1]   only export the current subtree\n[SPC] publish enclosing subtree (with LaTeX_CLASS or EXPORT_FILE_NAME prop)\n\n[a/n/u] export as ASCII/Latin-1/UTF-8 [A/N/U] to temporary buffer\n\n[h] export as HTML  [H] to temporary buffer   [R] export region\n[b] export as HTML and open in browser\n\n[l] export as LaTeX [L] to temporary buffer\n[p] export as LaTeX and process to PDF[d] ... and open PDF file\n\n[D] export as DocBook   [V] export as DocBook, process to PDF, and open\n\n[j] export as TaskJuggler [J] ... and open\n\n[m] export as Freemind mind map\n[x] export as XOXO\n[g] export using Wes Hardaker's generic exporter\n\n[i] export current file as iCalendar file\n[I] export all agenda files as iCalendar files   [c] ...as one combined file\n\n[F] publish current file  [P] publish current project\n[X] publish a project...  [E] publish every projects") (cmds ...) r1 r2 ass (cpos ...) (cbuf ...) bpos) (save-excursion (save-window-excursion ... ..

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Bastien
Bastien  writes:

> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.

... which, of course, is already the case for org-bbdb.el.  

Sorry for the noise.

-- 
 Bastien

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-06 Thread Sebastian Rose
Bastien  writes:
> Sebastian Rose  writes:
>
>> Yes.  But I want to avoid the footnote style for my custom "track:"
>> links.  Look at the track I ran today.
>
> (Er.. that's a crazy link!)
>
>
> Actually it would make sense to handle how custom type links are
> exported in the custom type file itself.
>
> For example org-bbdb.el would have a function `org-bbdb-export-link'
> taking care of the various way BBDB links have to be represented in
> HTML, LaTeX, etc.

Yes!!!

We could then have the entire address as footnote!  Very useful!!!


  Sebastian

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-05 Thread Bastien
Sebastian Rose  writes:

> Yes.  But I want to avoid the footnote style for my custom "track:"
> links.  Look at the track I ran today.

(Er.. that's a crazy link!)


Actually it would make sense to handle how custom type links are
exported in the custom type file itself.

For example org-bbdb.el would have a function `org-bbdb-export-link'
taking care of the various way BBDB links have to be represented in
HTML, LaTeX, etc.

-- 
 Bastien

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-05 Thread Carsten Dominik
Hi Sebastian,

I have just pushed the code that was needed to allow custom link
formatting for ASCII export, like you have implemented it.  This was
simple an omission in the ascii exporter.
So I hope it will work now

- Carsten

On Mon, Sep 6, 2010 at 1:01 AM, Sebastian Rose  wrote:
> Bastien  writes:
>> Hi Sebastian,
>>
>> Sebastian Rose  writes:
>>
>>> Hmmm  this seems so deliberate...  For bbdb links this even seems to
>>> make sense...  But how could I avoid this "footnote like" behaviour?
>>
>> Actually, I've wished for a long time that we can have a *real* footnote
>> behavior for links when exporting to ASCII.
>>
>> For example:
>>
>>   This [[http://orgmode.org][Org]] thingy is great.
>>
>> Would be exported to:
>>
>>   This Org¹ thingy is great.
>>
>>   ¹ http://orgmode.org
>>
>> I'm putting this on my TODO list...
>
>
>
>
> Yes.  But I want to avoid the footnote style for my custom "track:"
> links.  Look at the track I ran today.
>
> Who reads a footnote like this one (lines are not wrapped on export):
>
>
> [2010-09-05--30.994--5:32]: track:((9.707050323377189 52.37053766338069)
>        (9.711363315473136 52.37529308313076)
>        (9.710655212293204 52.37074846474)
>        (9.71125602711254 52.3756658283)
>        (9.711813926587638 52.37641963648109)
>        (9.712114333997306 52.37687810926805)
>        (9.711763858795166 52.37705320097925)
>        (9.71047211417 52.377611655826854)
>        (9.709560871015128 52.37804391862884)
>        (9.707973003278312 52.37848927587801)
>        (9.706943035016593 52.37867265696918)
>        (9.705913066754874 52.37875124863228)
>        (9.705312251935538 52.37875124863228)
>        (9.704174995313224 52.378607163809775)
>        (9.70301628101879 52.37839758504682)
>        (9.701170921216544 52.37801772100373)
>        (9.699819087873038 52.37788673264495)
>        (9.697952270398673 52.37772954610157)
>        (9.696850776672363 52.377747447957255)
>        (9.695484638104972 52.37788673264495)
>        (9.694218635449943 52.378174906521316)
>        (9.693617820630607 52.378332091479415)
>        (9.692695140729484 52.37871195281822)
>        (9.691901206861075 52.379000121309296)
>        (9.691257476697501 52.379301386357405)
>        (9.68996286392212 52.38010518640359)
>        (9.690570831189689 52.38041473935315)
>        (9.689862728009757 52.38100415016248)
>        (9.689083099365234 52.38151976904499)
>        (9.688382148633536 52.38192099578275)
>        (9.687008857617911 52.38247109401651)
>        (9.685442447553214 52.3830604773757)
>        (9.684004783521232 52.383610561412425)
>        (9.68355417240673 52.383937989132725)
>        (9.68106508244091 52.384854773830995)
>        (9.68057155598217 52.384959548012894)
>        (9.680585861206055 52.385278671203096)
>        (9.680464267621574 52.38591560093584)
>        (9.680078029523429 52.38613824042515)
>        (9.676988124738273 52.3866620936179)
>        (9.675486087689933 52.38700259485967)
>        (9.67482089985424 52.38723832495006)
>        (9.673662185559806 52.38765739755821)
>        (9.673275947461661 52.38761810967017)
>        (9.668962955365714 52.38928126633751)
>        (9.667868614087638 52.389674128841754)
>        (9.667088985443115 52.38994083686471)
>        (9.66608762730175 52.39022413047344)
>        (9.664649963269767 52.39052531893909)
>        (9.66357707966381 52.39065626980484)
>        (9.660937785993156 52.390878885385035)
>        (9.659457206616935 52.39099674023763)
>        (9.65759038914257 52.39116697446916)
>        (9.655358791242179 52.39137649262204)
>        (9.651060104370117 52.391957463824156)
>        (9.651045799146232 52.391795525944076)
>        (9.650745391736564 52.391795525944076)
>        (9.65059518803173 52.39127173366993)
>        (9.650402068982658 52.39140268232121)
>        (9.645123481641349 52.391743146996376)
>        (9.644050598035392 52.39180862067127)
>        (9.642348289489746 52.391734853683936)
>        (9.640660285840568 52.39157291498709)
>        (9.638042449842033 52.39125863878343)
>        (9.636197090039786 52.39104912007113)
>        (9.635725021253165 52.39104912007113)
>        (9.6120285987854 52.388605098155104)
>        (9.60939645756298 52.38843005224972)
>        (9.606513977050781 52.38844794976713)
>        (9.60456132888794 52.388526524031036)
>        (9.602937698255118 52.38858720070138)
>        (9.593839645276603 52.38918959791672)
>        (9.590985774884757 52.38938603001387)
>        (9.58881855724 52.389608652000526)
>        (9.587101936231193 52.38985746348047)
>        (9.585750102887687 52.39009317832562)
>        (9.57517147053295 52.39243716300863)
>        (9.570751190076408 52.3934323367367)
>        (9.556417465100822 52.396627216511874)
>        (9.556117057691154 52.3949638125)
>        (9.554314613233146 52.39707238631737)
>        (9.55339192023 52.3970592931519)
>        (9.552597999463615 52.39719022463179)
>        (9.551482200513

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-05 Thread Sebastian Rose
Bastien  writes:
> Hi Sebastian,
>
> Sebastian Rose  writes:
>
>> Hmmm  this seems so deliberate...  For bbdb links this even seems to
>> make sense...  But how could I avoid this "footnote like" behaviour?
>
> Actually, I've wished for a long time that we can have a *real* footnote
> behavior for links when exporting to ASCII.
>
> For example:
>
>   This [[http://orgmode.org][Org]] thingy is great.
>
> Would be exported to:
>
>   This Org¹ thingy is great.
>
>   ¹ http://orgmode.org
>
> I'm putting this on my TODO list...




Yes.  But I want to avoid the footnote style for my custom "track:"
links.  Look at the track I ran today.

Who reads a footnote like this one (lines are not wrapped on export):


[2010-09-05--30.994--5:32]: track:((9.707050323377189 52.37053766338069)
(9.711363315473136 52.37529308313076)
(9.710655212293204 52.37074846474)
(9.71125602711254 52.3756658283)
(9.711813926587638 52.37641963648109)
(9.712114333997306 52.37687810926805)
(9.711763858795166 52.37705320097925)
(9.71047211417 52.377611655826854)
(9.709560871015128 52.37804391862884)
(9.707973003278312 52.37848927587801)
(9.706943035016593 52.37867265696918)
(9.705913066754874 52.37875124863228)
(9.705312251935538 52.37875124863228)
(9.704174995313224 52.378607163809775)
(9.70301628101879 52.37839758504682)
(9.701170921216544 52.37801772100373)
(9.699819087873038 52.37788673264495)
(9.697952270398673 52.37772954610157)
(9.696850776672363 52.377747447957255)
(9.695484638104972 52.37788673264495)
(9.694218635449943 52.378174906521316)
(9.693617820630607 52.378332091479415)
(9.692695140729484 52.37871195281822)
(9.691901206861075 52.379000121309296)
(9.691257476697501 52.379301386357405)
(9.68996286392212 52.38010518640359)
(9.690570831189689 52.38041473935315)
(9.689862728009757 52.38100415016248)
(9.689083099365234 52.38151976904499)
(9.688382148633536 52.38192099578275)
(9.687008857617911 52.38247109401651)
(9.685442447553214 52.3830604773757)
(9.684004783521232 52.383610561412425)
(9.68355417240673 52.383937989132725)
(9.68106508244091 52.384854773830995)
(9.68057155598217 52.384959548012894)
(9.680585861206055 52.385278671203096)
(9.680464267621574 52.38591560093584)
(9.680078029523429 52.38613824042515)
(9.676988124738273 52.3866620936179)
(9.675486087689933 52.38700259485967)
(9.67482089985424 52.38723832495006)
(9.673662185559806 52.38765739755821)
(9.673275947461661 52.38761810967017)
(9.668962955365714 52.38928126633751)
(9.667868614087638 52.389674128841754)
(9.667088985443115 52.38994083686471)
(9.66608762730175 52.39022413047344)
(9.664649963269767 52.39052531893909)
(9.66357707966381 52.39065626980484)
(9.660937785993156 52.390878885385035)
(9.659457206616935 52.39099674023763)
(9.65759038914257 52.39116697446916)
(9.655358791242179 52.39137649262204)
(9.651060104370117 52.391957463824156)
(9.651045799146232 52.391795525944076)
(9.650745391736564 52.391795525944076)
(9.65059518803173 52.39127173366993)
(9.650402068982658 52.39140268232121)
(9.645123481641349 52.391743146996376)
(9.644050598035392 52.39180862067127)
(9.642348289489746 52.391734853683936)
(9.640660285840568 52.39157291498709)
(9.638042449842033 52.39125863878343)
(9.636197090039786 52.39104912007113)
(9.635725021253165 52.39104912007113)
(9.6120285987854 52.388605098155104)
(9.60939645756298 52.38843005224972)
(9.606513977050781 52.38844794976713)
(9.60456132888794 52.388526524031036)
(9.602937698255118 52.38858720070138)
(9.593839645276603 52.38918959791672)
(9.590985774884757 52.38938603001387)
(9.58881855724 52.389608652000526)
(9.587101936231193 52.38985746348047)
(9.585750102887687 52.39009317832562)
(9.57517147053295 52.39243716300863)
(9.570751190076408 52.3934323367367)
(9.556417465100822 52.396627216511874)
(9.556117057691154 52.3949638125)
(9.554314613233146 52.39707238631737)
(9.55339192023 52.3970592931519)
(9.552597999463615 52.39719022463179)
(9.55148220051342 52.39750445859858)
(9.54998016346508 52.39802817690401)
(9.549422263989982 52.398132919819226)
(9.549765586743888 52.398800650059)
(9.550387859235343 52.399010131973554)
(9.54998016346508 52.398800650059)
(9.550001621137199 52.39876137208931)
(9.55244779575878 52.39851261080267)
(9.554328918457031 52.39846504052878)
(9.55596685398632

Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-05 Thread Bastien
Hi Sebastian,

Sebastian Rose  writes:

> Hmmm  this seems so deliberate...  For bbdb links this even seems to
> make sense...  But how could I avoid this "footnote like" behaviour?

Actually, I've wished for a long time that we can have a *real* footnote
behavior for links when exporting to ASCII.

For example:

  This [[http://orgmode.org][Org]] thingy is great.

Would be exported to:

  This Org¹ thingy is great.

  ¹ http://orgmode.org

I'm putting this on my TODO list...

-- 
 Bastien

___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-05 Thread Sebastian Rose
Carsten Dominik  writes:

> Hi Sebastian,
>
> On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose  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??).

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

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


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--
>>
>> 
>> 1 Test links 
>> 
>>
>>
>> 
>> DESCRIPTION
>> 
>> 
>> ...
>>  --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
>>
___
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


Re: [Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-04 Thread Carsten Dominik
Hi Sebastian,

On Sun, Sep 5, 2010 at 3:37 AM, Sebastian Rose  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 ?

>
>
> 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--
>
> 
> 1 Test links 
> 
>
>
> 
> DESCRIPTION
> 
> 
> ...
>  --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
>
> ___
> 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
>

___
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


[Orgmode] BUG ??? Cannot export custom link type to ASCII :-(

2010-09-04 Thread Sebastian Rose
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.


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

1 Test links 




DESCRIPTION


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

___
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