emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "R. Michael Weylandt <michael.weylandt@gmail.com>" <michael.weylandt@gmail.com>
To: Bastien <bzg@gnu.org>
Cc: Andreas Leha <andreas.leha@med.uni-goettingen.de>,
	"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: Incorrect hexification in URLs in LaTeX Export
Date: Wed, 19 Mar 2014 10:37:33 -0400	[thread overview]
Message-ID: <F6479036-DEFC-44FE-8F36-E45B707A1730@gmail.com> (raw)
In-Reply-To: <43DB32AC-723C-4046-9DCD-4A1FD2DD7323@gmail.com>

On Mar 18, 2014, at 17:24, "R. Michael Weylandt" <michael.weylandt@gmail.com> wrote:

> Can't comment on Andreas's issue about unescaping text when it's given to org already escaped. 

Hi Bastien,

TLDR: remove ?\= from org-link-escape-chars.

I looked at this again and I think I've stumbled on another small issue relating to hex escaping. 

If I type a link with an equals sign (=) into the link prompt of org-insert-link, the link inserted into my buffer has a %3D instead of the valid =. 

Tracing this, it goes through org-make-link-string, which hands off to org-link-escape which uses the defconst org-link-escape-chars as the table of values to escape. Org-link-escape-chars appears to only be used within org-link-escape at this time.

I think = is escaped because it may have conflicted with the verbatim syntax at some point, but that doesn't appear to be an issue any more. 

Is there a reason not to remove it?

  reply	other threads:[~2014-03-19 14:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-28 18:51 Incorrect hexification in URLs in LaTeX Export R. Michael Weylandt <michael.weylandt@gmail.com>
2014-02-28 20:26 ` Andreas Leha
2014-03-03 20:06   ` Org-link-escape-chars (was Incorrect hexification in URLs in LaTeX Export) R. Michael Weylandt <michael.weylandt@gmail.com>
2014-03-04 20:45     ` Simon Thum
2014-03-06  2:58       ` R. Michael Weylandt
2014-03-06  9:17         ` Andreas Leha
2014-03-17 12:24           ` Simon Thum
2014-03-12 18:47 ` Incorrect hexification in URLs in LaTeX Export Bastien
2014-03-17 21:31   ` Andreas Leha
2014-03-18 15:41     ` Bastien
2014-03-18 21:24       ` R. Michael Weylandt <michael.weylandt@gmail.com>
2014-03-19 14:37         ` R. Michael Weylandt <michael.weylandt@gmail.com> [this message]
2014-05-25  5:56           ` Bastien
2014-05-25  7:09             ` David Maus
2014-05-25  7:18               ` Bastien
2014-05-25  7:22               ` David Maus
2014-05-26  5:16                 ` Bastien

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=F6479036-DEFC-44FE-8F36-E45B707A1730@gmail.com \
    --to=michael.weylandt@gmail.com \
    --cc=andreas.leha@med.uni-goettingen.de \
    --cc=bzg@gnu.org \
    --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).