From mboxrd@z Thu Jan 1 00:00:00 1970 From: D M German Subject: Re: bug report: + is not escaped in org-link-escape Date: Mon, 11 Dec 2017 09:13:22 +0900 Message-ID: <87efo2unod.fsf@mn.cs.uvic.ca> References: <87r2s2qm9i.fsf@nicolasgoaziou.fr> Reply-To: dmg@turingmachine.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44879) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eOIs6-0007sT-4p for emacs-orgmode@gnu.org; Mon, 11 Dec 2017 02:51:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eOIs2-0000MZ-WE for emacs-orgmode@gnu.org; Mon, 11 Dec 2017 02:51:30 -0500 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:33709) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eOIs2-0000Li-Mu for emacs-orgmode@gnu.org; Mon, 11 Dec 2017 02:51:26 -0500 Received: by mail-pf0-x22f.google.com with SMTP id y89so10961671pfk.0 for ; Sun, 10 Dec 2017 23:51:26 -0800 (PST) In-Reply-To: <87r2s2qm9i.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Sun, 10 Dec 2017 22:57:29 +0100") 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" To: Nicolas Goaziou Cc: emacs-orgmode Nicolas Goaziou twisted the bytes to say: Nicolas> Hello, Nicolas> dmg writes: >> org-link-escape only replaces space, [, ], and % >>=20 >> but search in google/gmail is replacing + also. >>=20 >> The simplest solution is to add 43 to org-link-escape-chars: >>=20 >> org-link-escape-chars is a variable defined in =E2=80=98org.el=E2=80=99. >> Its value is (32 91 93 37) >>=20 >> This variable may be risky if used as a file-local variable. Nicolas> `org-link-escape' is for internal links, not for general URL-enco= ding. 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 .