From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Bastien <bzg@gnu.org>
Cc: Joon Ro <joon.ro@outlook.com>,
"emacs-orgmode@gnu.org" <emacs-orgmode@gnu.org>
Subject: Re: org-open-link-from-string truncates file path at spaces
Date: Fri, 27 Apr 2018 17:17:03 +0200 [thread overview]
Message-ID: <87bme4vfv4.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <87lgd9r17y.fsf@bzg.fr> (Bastien's message of "Fri, 27 Apr 2018 01:34:41 +0200")
Hello,
Bastien <bzg@gnu.org> writes:
> Hi Joon,
>
> Joon Ro <joon.ro@outlook.com> writes:
>
>> With current org version (Org mode version 9.1.8 (9.1.8-elpaplus @ c:
>> /Users/joon/.emacs.d/elpa/org-plus-contrib-20171228/)),
>> org-open-link-from-string does not work with a path string if it
>> includes a space. For example,
>>
>> (org-open-link-from-string "file:test test.hmtl")
>>
>> yields
>>
>> user-error: No such file: c:/Users/joon/test
>
> Fixed in maint, thanks.
I reverted this fix because it introduces an error when trying to edit
a file in an INCLUDE keyword.
The initial report is wrong anyway, because "file:test test.hmtl" is not
a valid link syntax, i.e., plain links cannot contain spaces. It should
be:
(org-open-link-from-string "[[file:test test.hmtl]]")
IMO, there is nothing to fix in the first place.
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2018-04-27 15:17 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-02 4:19 org-open-link-from-string truncates file path at spaces Joon Ro
2018-04-26 23:34 ` Bastien
2018-04-27 15:17 ` Nicolas Goaziou [this message]
2018-04-27 16:14 ` Bastien
2018-04-30 2:45 ` Joon Ro
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=87bme4vfv4.fsf@nicolasgoaziou.fr \
--to=mail@nicolasgoaziou.fr \
--cc=bzg@gnu.org \
--cc=emacs-orgmode@gnu.org \
--cc=joon.ro@outlook.com \
/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).