From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?ISO-8859-1?Q?Jan_Dj=E4rv?= Newsgroups: gmane.emacs.devel Subject: Re: Patch for remote files in dnd.el Date: Thu, 07 Sep 2006 10:56:09 +0200 Message-ID: <44FFDEA9.2000605@swipnet.se> References: <44FFD45C.7010206@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1157619470 30225 80.91.229.2 (7 Sep 2006 08:57:50 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 08:57:50 +0000 (UTC) Cc: emacs-devel@gnu.org, Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 07 10:57:46 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 1GLFhS-0005zJ-Te for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 10:57:32 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLFhS-0006Ud-34 for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 04:57:30 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLFgv-0006RP-PH for emacs-devel@gnu.org; Thu, 07 Sep 2006 04:56:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLFgu-0006PO-5B for emacs-devel@gnu.org; Thu, 07 Sep 2006 04:56:56 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLFgt-0006P5-FL for emacs-devel@gnu.org; Thu, 07 Sep 2006 04:56:55 -0400 Original-Received: from [81.228.9.185] (helo=av9-1-sn3.vrr.skanova.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLFhC-0007Cl-9o; Thu, 07 Sep 2006 04:57:14 -0400 Original-Received: by av9-1-sn3.vrr.skanova.net (Postfix, from userid 502) id 4B987383EE; Thu, 7 Sep 2006 10:56:52 +0200 (CEST) Original-Received: from smtp3-1-sn3.vrr.skanova.net (smtp3-1-sn3.vrr.skanova.net [81.228.9.101]) by av9-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 3D73337EB9; Thu, 7 Sep 2006 10:56:52 +0200 (CEST) Original-Received: from coolsville.localdomain (81-235-205-78-no59.tbcn.telia.com [81.235.205.78]) by smtp3-1-sn3.vrr.skanova.net (Postfix) with ESMTP id 1826F37E51; Thu, 7 Sep 2006 10:56:52 +0200 (CEST) User-Agent: Thunderbird 1.5.0.5 (X11/20060808) Original-To: YAMAMOTO Mitsuharu In-Reply-To: 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:59498 Archived-At: YAMAMOTO Mitsuharu skrev: >>>>>> On Thu, 07 Sep 2006 09:12:12 +0100, Jason Rumney said: > >>> Does the following change work for remote file access? I can't >>> test it by myself. >>> >> Interesting hack. It makes the file URLs invalid but looks like it >> will work. > > 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. :-) They all are invalid URLs, but only in some instances URLs are sent with DND. The current code uses file:/DIRECTORY/FILE because some DND protocols sends this. One could argue that when file:/DIRECTORY/FILE is used, it is not an URL, but a DND-specific information :-). Jan D.