[Top][All Lists]

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

[O] org-store-link stores spaces as "%20"

From: Wolfram Volpi
Subject: [O] org-store-link stores spaces as "%20"
Date: Wed, 17 Jul 2019 01:15:07 +0000 (UTC)

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 for fuzzy _expression_".
The org links work well with %20 or with spaces.
Like this:  [[file:../home.org::*headline A]]
Is there a purpose for org-store-link storing %20 instead of space?

- 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 space.
- 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 with %20.
In which case the bug fix would be to have org-store-link store link with space (not %20).

Wolfram Volpi

reply via email to

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