From mboxrd@z Thu Jan 1 00:00:00 1970 From: Achim Gratz Subject: Re: bug#16751: 24.3.50; Export during Org export to HTML Date: Tue, 25 Feb 2014 20:11:29 +0100 Message-ID: <877g8jc8im.fsf@Rainer.invalid> References: <86fvnmoxyp.fsf@somewhere.org> <86txbwlkeh.fsf@somewhere.org> <83ha7w75sc.fsf@gnu.org> <86wqgk7npj.fsf@somewhere.org> <86mwhf4jpo.fsf@somewhere.org> <834n3n17vg.fsf@gnu.org> <87ob1vnml6.fsf@bzg.ath.cx> <87vbw3t6g5.fsf@gmail.com> <83lhwzyrdw.fsf__48643.3030026548$1393353292$gmane$org@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51857) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WINPz-0000yz-9Z for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 14:11:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WINPt-0001NL-05 for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 14:11:51 -0500 Received: from plane.gmane.org ([80.91.229.3]:33598) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WINPs-0001NB-Ph for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 14:11:44 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1WINPp-00026B-2L for emacs-orgmode@gnu.org; Tue, 25 Feb 2014 20:11:41 +0100 Received: from pd9eb3fce.dip0.t-ipconnect.de ([217.235.63.206]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Feb 2014 20:11:41 +0100 Received: from Stromeko by pd9eb3fce.dip0.t-ipconnect.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 25 Feb 2014 20:11:41 +0100 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-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org Eli Zaretskii writes: > But that's exactly the problem: producing a file name from a file:// > URL requires to remove the "file://" prefix. It is invalid to leave > the 2 extra slashes and remove only "file:". Why does Org do that? Because Org doesn't know squat about URI schemes and uses ad-hoc parsing and manipulation rather than splicing it all out according to the spec. Besides, why is three leading slashes even a problem? IIRC, POSIX says that any number of leading slashes (except when starting with exactly two, which are system dependent and are usually interpreted as a UNC path) should do exactly the same thing as a single slash. Regards, Achim. -- +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+ Samples for the Waldorf Blofeld: http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra