From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Patch for remote files in dnd.el Date: Fri, 08 Sep 2006 09:56:31 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <44FFD45C.7010206@gnu.org> <33097.128.165.123.18.1157644237.squirrel@webmail.lanl.gov> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1157677017 1464 80.91.229.2 (8 Sep 2006 00:56:57 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 8 Sep 2006 00:56:57 +0000 (UTC) Cc: Jan =?ISO-8859-1?Q?Dj=E4rv?= , emacs-devel@gnu.org, Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 08 02:56:54 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GLUfu-0000fp-03 for ged-emacs-devel@m.gmane.org; Fri, 08 Sep 2006 02:56:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLUft-0007sA-F4 for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 20:56:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLUfe-0007nv-DK for emacs-devel@gnu.org; Thu, 07 Sep 2006 20:56:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLUfd-0007ml-Lu for emacs-devel@gnu.org; Thu, 07 Sep 2006 20:56:37 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLUfd-0007mP-CN for emacs-devel@gnu.org; Thu, 07 Sep 2006 20:56:37 -0400 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLUg4-0004y3-16; Thu, 07 Sep 2006 20:57:04 -0400 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 6149D2CBC; Fri, 8 Sep 2006 09:56:31 +0900 (JST) Original-To: herring@lanl.gov In-Reply-To: <33097.128.165.123.18.1157644237.squirrel@webmail.lanl.gov> User-Agent: Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) 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:59536 Archived-At: >>>>> On Thu, 7 Sep 2006 08:50:37 -0700 (PDT), "Stuart D. Herring" said: >> I'm not sure if file:////REMOTEHOST/DIRECTORY/NAME or >> file://localhost//REMOTEHOST/DIRECTORY/NAME is invalid or not. But >> even the current code uses invalid file:/DIRECTORY/FILE. :-) > See RFC 3986, section 3.2.2. file:/dir/file is equivalent to > file:///dir/file and to file://localhost/dir/file. Ah, I thought that the latest definition of file: URL was in RFC 1738. Thanks for the info. RFC 1738 says: A file URL takes the form: file:/// As a special case, can be the string "localhost" or the empty string; this is interpreted as `the machine from which the URL is being interpreted'. RFC 3986 says: If the URI scheme defines a default for host, then that default applies when the host subcomponent is undefined or when the registered name is empty (zero length). For example, the "file" URI scheme is defined so that no authority, an empty host, and "localhost" all mean the end-user's machine, whereas the "http" scheme considers a missing authority or empty host invalid. The latter mentions the "no authority" case, indeed. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp