emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Achim Gratz <Stromeko@nexgo.de>
To: emacs-orgmode@gnu.org
Subject: Re: [Bug] lisp/org.el (org-link-escape) escapes the type part	of a link
Date: Wed, 22 Sep 2010 19:38:48 +0200	[thread overview]
Message-ID: <87eicladav.fsf@Rainer.invalid> (raw)
In-Reply-To: 87lj6tpuak.wl%dmaus@ictsoc.de

David Maus <dmaus@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.html">My Notes</a>
<a href="#file+emacs:~/org/notes.org">My 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

  reply	other threads:[~2010-09-22 17:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-12 18:34 [Bug] lisp/org.el (org-link-escape) escapes the type part of a link Achim Gratz
2010-09-22 17:22 ` David Maus
2010-09-22 17:38   ` Achim Gratz [this message]
2010-09-22 18:05     ` David Maus
2010-09-22 18:44       ` Achim Gratz
2010-09-22 19:17         ` David Maus
2010-09-22 19:29           ` Achim Gratz

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=87eicladav.fsf@Rainer.invalid \
    --to=stromeko@nexgo.de \
    --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).