[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[O] [PATCH] Escape link path only if path contains space or non-ascii ch
From: |
David Maus |
Subject: |
[O] [PATCH] Escape link path only if path contains space or non-ascii character |
Date: |
Sun, 18 Dec 2011 19:31:14 +0100 |
User-agent: |
Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.2 (i486-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
Hi there,
Attached patch should take care of mistakenly double-escaped links as
reported by Jeff Horn in <http://article.gmane.org/gmane.emacs.orgmode/48731>.
This patch might break `org-open-at-point' for some users if the
target application does not deal with (possibly) unescaped URLs. The
alternative to the guesswork would require parsing und analyzing the
link and its components (path, query, fragment) and check for
characters that absolutely need escaping depeding on the link type.
Hopefully this solution is good enough.
Best,
-- David
0001-Escape-link-path-only-if-path-contains-space-or-non-.patch
Description: Text document
pgpbevQCEFi5J.pgp
Description: PGP signature
- [O] [PATCH] Escape link path only if path contains space or non-ascii character,
David Maus <=