From mboxrd@z Thu Jan 1 00:00:00 1970 From: "R. Michael Weylandt " Subject: Re: Incorrect hexification in URLs in LaTeX Export Date: Wed, 19 Mar 2014 10:37:33 -0400 Message-ID: References: <0DEDD4E4-A513-4B03-AA78-25D9859EEA9F@gmail.com> <87bnxbb6ff.fsf@bzg.ath.cx> <87wqfscy1r.fsf@med.uni-goettingen.de> <87ppljfr99.fsf@bzg.ath.cx> <43DB32AC-723C-4046-9DCD-4A1FD2DD7323@gmail.com> Mime-Version: 1.0 (1.0) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40940) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WQHcr-0001HN-T0 for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 10:37:58 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WQHcj-0003kR-E9 for emacs-orgmode@gnu.org; Wed, 19 Mar 2014 10:37:49 -0400 In-Reply-To: <43DB32AC-723C-4046-9DCD-4A1FD2DD7323@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Bastien Cc: Andreas Leha , "emacs-orgmode@gnu.org" On Mar 18, 2014, at 17:24, "R. Michael Weylandt" wrote: > Can't comment on Andreas's issue about unescaping text when it's given to o= rg already escaped.=20 Hi Bastien, TLDR: remove ?\=3D from org-link-escape-chars. I looked at this again and I think I've stumbled on another small issue rela= ting to hex escaping.=20 If I type a link with an equals sign (=3D) into the link prompt of org-inser= t-link, the link inserted into my buffer has a %3D instead of the valid =3D.= =20 Tracing this, it goes through org-make-link-string, which hands off to org-l= ink-escape which uses the defconst org-link-escape-chars as the table of val= ues to escape. Org-link-escape-chars appears to only be used within org-link= -escape at this time. I think =3D is escaped because it may have conflicted with the verbatim synt= ax at some point, but that doesn't appear to be an issue any more.=20 Is there a reason not to remove it?=