emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] bug report: + is not escaped in org-link-escape


From: Nicolas Goaziou
Subject: Re: [O] bug report: + is not escaped in org-link-escape
Date: Sun, 10 Dec 2017 22:57:29 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

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.

`org-link-escape' is for internal links, not for general URL-encoding.
You may want to use `url-encode-url' instead.

> I use org-link-escape to jump from an email in gnus to gmail by searching
> the message-id. But if when the message-id contains +, this character
> must be escaped.

See above.

Regards,

-- 
Nicolas Goaziou



reply via email to

[Prev in Thread] Current Thread [Next in Thread]