From: Wolfram Volpi <wolf_volpi@yahoo.com>
To: "emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: org-store-link stores spaces as "%20"
Date: Wed, 17 Jul 2019 01:15:07 +0000 (UTC) [thread overview]
Message-ID: <840617066.3029385.1563326107981@mail.yahoo.com> (raw)
In-Reply-To: 840617066.3029385.1563326107981.ref@mail.yahoo.com
[-- 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 --]
next parent reply other threads:[~2019-07-17 1:15 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <840617066.3029385.1563326107981.ref@mail.yahoo.com>
2019-07-17 1:15 ` Wolfram Volpi [this message]
2019-07-17 6:21 ` org-store-link stores spaces as "%20" Nicolas Goaziou
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=840617066.3029385.1563326107981@mail.yahoo.com \
--to=wolf_volpi@yahoo.com \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).