From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Volpi Subject: org-store-link stores spaces as "%20" Date: Wed, 17 Jul 2019 01:15:07 +0000 (UTC) Message-ID: <840617066.3029385.1563326107981@mail.yahoo.com> References: <840617066.3029385.1563326107981.ref@mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_3029384_423595173.1563326107979" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:33953) by lists.gnu.org with esmtp (Exim 4.86_2) (envelope-from ) id 1hnYXJ-0004EL-0Y for emacs-orgmode@gnu.org; Tue, 16 Jul 2019 21:15:14 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hnYXG-0000ED-RU for emacs-orgmode@gnu.org; Tue, 16 Jul 2019 21:15:12 -0400 Received: from sonic315-21.consmr.mail.ne1.yahoo.com ([66.163.190.147]:42663) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hnYXG-00008c-Ls for emacs-orgmode@gnu.org; Tue, 16 Jul 2019 21:15:10 -0400 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: "emacs-orgmode@gnu.org" ------=_Part_3029384_423595173.1563326107979 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable org-store-link stores spaces in links as "%20". Like this:=C2=A0 [[file:../home.org::target%20A]]=20 The "%20" causes org-publish to say, "No match for fuzzy expression".The or= g links work well with %20 or with spaces. Like this:=C2=A0 [[file:../home.org::*headline A]]Is there a purpose for or= g-store-link storing %20 instead of space? Work-a-round: - Use org-store-link and org-insert-link to insert link, which results in a= link where spaces are %20.- Then manually edit link to replace %20 with sp= ace.- Then run org-publish to make html files with links. The issue was described on https://lists.gnu.org/archive/html/emacs-orgmode= /2018-01/msg00131.html. But the thread attributed the bug to org-publish. Maybe the real culprit is org-store-link automatically replacing spaces wit= h %20.In which case the bug fix would be to have org-store-link store link = with space (not %20). Wolfram Volpi=20 ------=_Part_3029384_423595173.1563326107979 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
org-store-link stores spaces in links as "%20".
Like this:  [[file:../home.org::target%= 20A]]
The "%20" causes org-publish to say, "No match f= or fuzzy expre= ssion".
The org links work well with %20 or with spaces.=
Like this:  [= [file:../home.org::*headline A]]
Is there a purpose f= or org-store-link storing %20 instead of space?

Work-a-round:
- Use org-st= ore-link and org-insert-link to insert link, which results in a link where = spaces are %20.
- Then manually edit link to replace %20 with space.- Then run org-publish to make html files wi= th links.

The issue was described on https://lists.gnu.org/archive= /html/emacs-orgmode/2018-01/msg00131.html.
But the thread attributed the= bug to org-publish.
Maybe the real culprit is org-store-link autom= atically replacing spaces with %20.
In which case the bug fix wou= ld be to have org-store-link store link with space (not %20).

Wolfram Volpi
<= /div>
------=_Part_3029384_423595173.1563326107979--