emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] org-open-link-from-string truncates file path at spaces


From: Nicolas Goaziou
Subject: Re: [O] org-open-link-from-string truncates file path at spaces
Date: Fri, 27 Apr 2018 17:17:03 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (gnu/linux)

Hello,

Bastien <address@hidden> writes:

> Hi Joon,
>
> Joon Ro <address@hidden> 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



reply via email to

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