[Orgmode] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Achim Gratz wrote:
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.

 Does this still happen und could you provide an example?

Yes it does.  The first link has been entered literally, the second
using C-c C-l.  The first link will turn into the second form as soon as
I use C-c C-l on it and can only be reverted in literal mode.

[[file+emacs:~/org/notes.org][My Notes]]
[[file%2Bemacs:~/org/notes.org][My Notes]]

The export to HTML delivers:

a href=file:///obscured/org/notes.htmlMy Notes/a
a href=#file+emacs:~/org/notes.orgMy Notes/a

Org-mode version 7.01trans (release_7.01h.557.g8de43)
GNU Emacs 23.1.1 


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Wavetables for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldUserWavetables


___
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] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread David Maus
Achim Gratz wrote:
David Maus dm...@ictsoc.de writes:
 Achim Gratz wrote:
The function org-link-escape escapes the '+' in file+sys and file+emacs
link types and creates some problems for export by doing so.  Only the
path component of a link URI should be escaped, but not the type part.

 Does this still happen und could you provide an example?

Yes it does.  The first link has been entered literally, the second
using C-c C-l.  The first link will turn into the second form as soon as
I use C-c C-l on it and can only be reverted in literal mode.

[[file+emacs:~/org/notes.org][My Notes]]
[[file%2Bemacs:~/org/notes.org][My Notes]]

The export to HTML delivers:

a href=file:///obscured/org/notes.htmlMy Notes/a
a href=#file+emacs:~/org/notes.orgMy Notes/a

Thanks for clarification.  It should be fixed now in master.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpTim51OezuO.pgp
Description: PGP signature
___
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] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Thanks for clarification.  It should be fixed now in master.

You only wish... it doesn't escape the link type now, but adds a
colon on each call of C-c C-l:

[[file+emacs:~/org/notes.org][My Notes]]
[[file+emacs::~/org/notes.org][My Notes]]
[[file+emacs:::~/org/notes.org][My Notes]]

This messes up the HTML export even more:

a href=file:///home/gratz/org/notes.htmlMy Notes/a
a href=:~/org/notes.htmlMy Notes/a
a href=My Notes/a

Interesting, isn't it? :-)


Sorry for being a troublemaker today,
Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

SD adaptation for Waldorf microQ V2.22R2:
http://Synth.Stromeko.net/Downloads.html#WaldorfSDada


___
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] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread David Maus
Achim Gratz wrote:
David Maus dm...@ictsoc.de writes:
 Thanks for clarification.  It should be fixed now in master.

You only wish... it doesn't escape the link type now, but adds a
colon on each call of C-c C-l:

Ooops, fixed now.

Best,
  -- David
--
OpenPGP... 0x99ADB83B5A4478E6
Jabber dmj...@jabber.org
Email. dm...@ictsoc.de


pgpAEuWTGxMzp.pgp
Description: PGP signature
___
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] Re: [Bug] lisp/org.el (org-link-escape) escapes the type part of a link

2010-09-22 Thread Achim Gratz
David Maus dm...@ictsoc.de writes:
 Ooops, fixed now.

Confirmed.


Achim.
-- 
+[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]+

Samples for the Waldorf Blofeld:
http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra


___
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