From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.devel Subject: Re: file:///c:/nxdist/tut/tutorials.html or file:c:/nxdist/tut/tutorials.html? Date: Thu, 23 Jul 2009 09:10:39 +0200 Message-ID: References: <44502.130.55.118.19.1248304745.squirrel@webmail.lanl.gov> <873a8ow0jx.fsf@uwakimon.sk.tsukuba.ac.jp> <87y6qfvq96.fsf@uwakimon.sk.tsukuba.ac.jp> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1248333072 29697 80.91.229.12 (23 Jul 2009 07:11:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Jul 2009 07:11:12 +0000 (UTC) Cc: Emacs-Devel devel To: "Stephen J. Turnbull" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jul 23 09:11:05 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MTsSG-0006A7-LT for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 09:11:05 +0200 Original-Received: from localhost ([127.0.0.1]:44481 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTsSF-0002To-W2 for ged-emacs-devel@m.gmane.org; Thu, 23 Jul 2009 03:11:04 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MTsRy-0002A8-GC for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:10:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MTsRt-00023Z-RX for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:10:46 -0400 Original-Received: from [199.232.76.173] (port=59811 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MTsRt-00023B-HO for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:10:41 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:20423) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MTsRt-00018J-1U for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:10:41 -0400 Original-Received: from an-out-0708.google.com ([209.85.132.247]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MTsRs-0003rw-3p for emacs-devel@gnu.org; Thu, 23 Jul 2009 03:10:40 -0400 Original-Received: by an-out-0708.google.com with SMTP id b6so756328ana.21 for ; Thu, 23 Jul 2009 00:10:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GQGE1Vf4VNLP6LrFFkCb0u7XJiydOQDR9bDlzyUe924=; b=mNJxhmijBbjW4epXnAQKKTAzT8dzYFv7inFFiJZFODlmVHikdDWS0VXuMjH54bN//3 34ipDflDVqXkmPo4l8PdAZ0BPCyWC/7plTBUNgfB7nottg+F1IifuMMVCiAlShajrjr6 CzUrOD257oFx9XEaV8xPQgF73SGPYpZ0/a5jw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=Kns/VH9GZwJemcXsLxSUK/HavJKYvVzdT10xtUdcHOgPBgpq5bPwojVR60JiAK5N9S W3FQWmPnPQSO+44RytTGqqgOzK1gEskdIjWnmtFWrK3GbH4GOrv8K9mViX6f/CbvA7V7 QkSNYvdVHaQTKjqCCE3rMQS5sIoFGG3vHXbKA= Original-Received: by 10.100.10.15 with SMTP id 15mr2485014anj.8.1248333039587; Thu, 23 Jul 2009 00:10:39 -0700 (PDT) In-Reply-To: <87y6qfvq96.fsf@uwakimon.sk.tsukuba.ac.jp> X-Detected-Operating-System: by mx20.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: Genre and OS details not recognized. X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:113040 Archived-At: On Thu, Jul 23, 2009 at 8:59 AM, Stephen J. Turnbull wr= ote: > Lennart Borgman writes: > > =C2=A0> I found it impossible to read. I took a quick look at 3986 > > OK, I'll read it for you. =C2=A0RFC 3986 no longer defines any URI scheme= s, > unlike RFC 1738 which did define the file URI (among others). =C2=A0From > Section 8, they are registered with the IANA. =C2=A0Looking at the IANA > registry > > =C2=A0 =C2=A0http://www.iana.org/assignments/uri-schemes.html > > in fact RFC 1738 still defines the file URI, as follows: > > =C2=A0 A file URL takes the form: > > =C2=A0 =C2=A0 =C2=A0 file:/// > > =C2=A0 where is the fully qualified domain name of the system on > =C2=A0 which the is accessible, and is a hierarchical > =C2=A0 directory path of the form //.../. > > =C2=A0 As a special case, can be the string "localhost" or the > =C2=A0 empty string; this is interpreted as `the machine from which the > =C2=A0 URL is being interpreted'. > > "file:c:/nxdist/tut/tutorials.html" doesn't satisfy this definition; > the "//" that introduces the host component may not be omitted. > > Section 4.2: The ABNF shows that a relative reference does not contain > a scheme. =C2=A0"file:c:/nxdist/tut/tutorials.html" doesn't satisfy this > definition, either. > > Conclusion: "file:c:/nxdist/tut/tutorials.html" is not a URI. Thanks. So then there is a bug in browse-url-file-url. It return URI:s like file:c:/nxdist/tutorial.html. I suggest we fix it.