[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] bug report: + is not escaped in org-link-escape
From: |
D M German |
Subject: |
Re: [O] bug report: + is not escaped in org-link-escape |
Date: |
Mon, 11 Dec 2017 09:13:22 +0900 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Nicolas Goaziou twisted the bytes to say:
Nicolas> Hello,
Nicolas> dmg <address@hidden> writes:
>> org-link-escape only replaces space, [, ], and %
>>
>> but search in google/gmail is replacing + also.
>>
>> The simplest solution is to add 43 to org-link-escape-chars:
>>
>> org-link-escape-chars is a variable defined in ‘org.el’.
>> Its value is (32 91 93 37)
>>
>> This variable may be risky if used as a file-local variable.
Nicolas> `org-link-escape' is for internal links, not for general URL-encoding.
Nicolas> You may want to use `url-encode-url' instead.
this indeed addresses the issue I was having.
thank you very much for your response.
--daniel
--
Daniel M. German "It is useless to punish a man
unless he knows why he is punished...
Punishment must be unusual
R. Heinlein -> or it serves no purpose."
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .