From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: Re: org-open-link-from-string truncates file path at spaces Date: Mon, 30 Apr 2018 02:45:29 +0000 Message-ID: References: <87lgd9r17y.fsf@bzg.fr> <87bme4vfv4.fsf@nicolasgoaziou.fr>,<87r2n0aao4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_SN1PR15MB0238D5E31A6CDF3252FAC333EB820SN1PR15MB0238namp_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:47698) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fCyor-0002jc-3f for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 22:45:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fCyoq-0005hQ-9q for emacs-orgmode@gnu.org; Sun, 29 Apr 2018 22:45:37 -0400 In-Reply-To: <87r2n0aao4.fsf@gnu.org> Content-Language: en-US List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: "Emacs-orgmode" To: Bastien , Nicolas Goaziou Cc: "emacs-orgmode@gnu.org" --_000_SN1PR15MB0238D5E31A6CDF3252FAC333EB820SN1PR15MB0238namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi - > Nicolas Goaziou writes: > 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. Thanks - (org-open-link-from-string "[[file:test test.html]]") works perfec= tly. Best, Joon --_000_SN1PR15MB0238D5E31A6CDF3252FAC333EB820SN1PR15MB0238namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi - 

> Nicolas Goaziou <mail@nicolasgoaziou.fr> writes:

> The initial report is wrong anyway, because "file:test test.hmtl&= quot; is not
> a valid link syntax, i.e., plain links cannot contain spaces. It shoul= d
> be:
>
>     (org-open-link-from-string "[[file:test t= est.hmtl]]")
>
> IMO, there is nothing to fix in the first place.

Thanks - (org-open-link-= from-string "[[file:test test.html]]") works perfectly. 

Best,
Joon

--_000_SN1PR15MB0238D5E31A6CDF3252FAC333EB820SN1PR15MB0238namp_--