emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* org-store-link stores spaces as "%20"
       [not found] <840617066.3029385.1563326107981.ref@mail.yahoo.com>
@ 2019-07-17  1:15 ` Wolfram Volpi
  2019-07-17  6:21   ` Nicolas Goaziou
  0 siblings, 1 reply; 2+ messages in thread
From: Wolfram Volpi @ 2019-07-17  1:15 UTC (permalink / raw)
  To: emacs-orgmode@gnu.org

[-- Attachment #1: Type: text/plain, Size: 893 bytes --]

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?
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 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 

[-- Attachment #2: Type: text/html, Size: 2364 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: org-store-link stores spaces as "%20"
  2019-07-17  1:15 ` org-store-link stores spaces as "%20" Wolfram Volpi
@ 2019-07-17  6:21   ` Nicolas Goaziou
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Goaziou @ 2019-07-17  6:21 UTC (permalink / raw)
  To: Wolfram Volpi; +Cc: emacs-orgmode@gnu.org

Hello,

Wolfram Volpi <wolf_volpi@yahoo.com> writes:

> org-store-link stores spaces in links as "%20".
> Like this:  [[file:../home.org::target%20A]] 

FWIW, I cannot reproduce it. You may need to upgrade Org.

Regards,

-- 
Nicolas Goaziou

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-07-17  6:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <840617066.3029385.1563326107981.ref@mail.yahoo.com>
2019-07-17  1:15 ` org-store-link stores spaces as "%20" Wolfram Volpi
2019-07-17  6:21   ` Nicolas Goaziou

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).