From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz 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 Message-ID: <87eicladav.fsf@Rainer.invalid> References: <87r5gy95f6.fsf@Rainer.invalid> <87lj6tpuak.wl%dmaus@ictsoc.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from [140.186.70.92] (port=59334 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OyTHe-00011a-4j for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 13:39:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OyTHZ-00060S-Un for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 13:39:05 -0400 Received: from lo.gmane.org ([80.91.229.12]:38816) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OyTHZ-00060H-On for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 13:39:01 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OyTHX-0008OJ-Kf for emacs-orgmode@gnu.org; Wed, 22 Sep 2010 19:38:59 +0200 Received: from p57aabfd1.dip.t-dialin.net ([87.170.191.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2010 19:38:59 +0200 Received: from Stromeko by p57aabfd1.dip.t-dialin.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 22 Sep 2010 19:38:59 +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: emacs-orgmode@gnu.org David Maus 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: My Notes My Notes 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