From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Patch for remote files in dnd.el Date: Wed, 06 Sep 2006 12:48:59 +0100 Message-ID: <44FEB5AB.3060605@gnu.org> References: <44FEADBA.6080401@swipnet.se> <85fyf5fcyh.fsf@lola.goethe.zz> 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 1157543408 12467 80.91.229.2 (6 Sep 2006 11:50:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2006 11:50:08 +0000 (UTC) Cc: =?ISO-8859-1?Q?Jan_Dj=E4rv?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 06 13:50:06 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 1GKvug-0005lK-A3 for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 13:49:50 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKvuf-000796-Qu for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 07:49:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKvuU-00077h-Ex for emacs-devel@gnu.org; Wed, 06 Sep 2006 07:49:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKvuS-00074q-QS for emacs-devel@gnu.org; Wed, 06 Sep 2006 07:49:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKvuS-00074n-Nt for emacs-devel@gnu.org; Wed, 06 Sep 2006 07:49:36 -0400 Original-Received: from [213.86.207.50] (helo=exchange.integrasp.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKvua-0001jw-6T; Wed, 06 Sep 2006 07:49:44 -0400 Original-Received: from [192.168.111.61] (localhost [127.0.0.1]) by exchange.integrasp.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id S2NX9N1A; Wed, 6 Sep 2006 12:40:24 +0100 Original-Received: from 192.168.111.61 ([192.168.111.61] helo=[192.168.111.61]) by ASSP-nospam; 6 Sep 2006 12:40:24 +0100 User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.8.0.4) Gecko/20060516 Thunderbird/1.5.0.4 Mnenhy/0.7.4.666 Original-To: David Kastrup In-Reply-To: <85fyf5fcyh.fsf@lola.goethe.zz> 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:59439 Archived-At: David Kastrup wrote: > I think we should generally have this transform the stuff properly, > independent of platform. > The problem is defining what "properly" means for remote file: urls. On Windows, the system calls handle remote files using UNC paths, generally via the smb protocol, but on GNU and Unix systems, there are a number of possible protocols (smb, nfs, afs, ftp...) which all require external utilities, and it is not clear which is the right choice. I imagine this is why Nautilus and Konqueror avoid using remote file: urls, and instead use protocol specific urls for remote files. > Can't we just generally use the same mechanism as for `browse-url' for > files dropped into Emacs? > Browse URL just launches a WWW browser to deal with URLs (except for a few specific types like mailto: which are handled internally in Emacs). I don't think the user expects a file to be opened in their WWW browser when the drag it onto Emacs.