From mboxrd@z Thu Jan 1 00:00:00 1970 From: Joon Ro Subject: org-open-link-from-string truncates file path at spaces Date: Tue, 2 Jan 2018 04:19:22 +0000 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="_000_SN1PR15MB02386A5E5F69F02B7E636CF5EB190SN1PR15MB0238namp_" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44707) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWE2z-00061a-1e for emacs-orgmode@gnu.org; Mon, 01 Jan 2018 23:19:29 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWE2v-00065O-38 for emacs-orgmode@gnu.org; Mon, 01 Jan 2018 23:19:29 -0500 Received: from mail-oln040092000054.outbound.protection.outlook.com ([40.92.0.54]:13003 helo=NAM01-BN3-obe.outbound.protection.outlook.com) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eWE2u-000659-OL for emacs-orgmode@gnu.org; Mon, 01 Jan 2018 23:19:25 -0500 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: "emacs-orgmode@gnu.org" --_000_SN1PR15MB02386A5E5F69F02B7E636CF5EB190SN1PR15MB0238namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hi, 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 Best Regards, Joon --_000_SN1PR15MB02386A5E5F69F02B7E636CF5EB190SN1PR15MB0238namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Hi,

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

Best Regards,
Joon
--_000_SN1PR15MB02386A5E5F69F02B7E636CF5EB190SN1PR15MB0238namp_-- From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-open-link-from-string truncates file path at spaces Date: Fri, 27 Apr 2018 01:34:41 +0200 Message-ID: <87lgd9r17y.fsf@bzg.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:41320) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fBqPV-00081U-Fr for emacs-orgmode@gnu.org; Thu, 26 Apr 2018 19:34:46 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fBqPT-0001KR-90 for emacs-orgmode@gnu.org; Thu, 26 Apr 2018 19:34:45 -0400 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: Joon Ro Cc: "emacs-orgmode@gnu.org" Hi Joon, Joon Ro 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. -- Bastien From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: org-open-link-from-string truncates file path at spaces Date: Fri, 27 Apr 2018 17:17:03 +0200 Message-ID: <87bme4vfv4.fsf@nicolasgoaziou.fr> References: <87lgd9r17y.fsf@bzg.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:52573) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC57a-0003Z6-LF for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 11:17:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC57Z-0003M6-Tg for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 11:17:14 -0400 In-Reply-To: <87lgd9r17y.fsf@bzg.fr> (Bastien's message of "Fri, 27 Apr 2018 01:34:41 +0200") 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 Cc: Joon Ro , "emacs-orgmode@gnu.org" Hello, Bastien writes: > Hi Joon, > > Joon Ro 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 From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bastien Subject: Re: org-open-link-from-string truncates file path at spaces Date: Fri, 27 Apr 2018 18:14:51 +0200 Message-ID: <87r2n0aao4.fsf@gnu.org> References: <87lgd9r17y.fsf@bzg.fr> <87bme4vfv4.fsf@nicolasgoaziou.fr> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39354) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fC61Q-0001nT-Oe for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 12:14:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fC61P-0002XD-W9 for emacs-orgmode@gnu.org; Fri, 27 Apr 2018 12:14:56 -0400 In-Reply-To: <87bme4vfv4.fsf@nicolasgoaziou.fr> (Nicolas Goaziou's message of "Fri, 27 Apr 2018 17:17:03 +0200") 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: Nicolas Goaziou Cc: Joon Ro , "emacs-orgmode@gnu.org" Hi Nicolas, 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. Indeed, sorry for the wrong fix here and thanks for the revert. -- Bastien 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_--