From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.emacs.devel Subject: Re: Patch for remote files in dnd.el Date: Wed, 06 Sep 2006 13:59:11 +0200 Message-ID: <853bb5fbow.fsf@lola.goethe.zz> References: <44FEADBA.6080401@swipnet.se> <85fyf5fcyh.fsf@lola.goethe.zz> <44FEB5AB.3060605@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157544073 14895 80.91.229.2 (6 Sep 2006 12:01:13 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 6 Sep 2006 12:01:13 +0000 (UTC) Cc: Jan =?iso-8859-1?Q?Dj=E4rv?= , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Sep 06 14:01:11 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 1GKw5A-0008Gt-AU for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 14:00:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKw59-0000ja-UG for ged-emacs-devel@m.gmane.org; Wed, 06 Sep 2006 08:00:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GKw4t-0000fK-4U for emacs-devel@gnu.org; Wed, 06 Sep 2006 08:00:23 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GKw4r-0000cN-Pl for emacs-devel@gnu.org; Wed, 06 Sep 2006 08:00:22 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GKw4r-0000bw-Is for emacs-devel@gnu.org; Wed, 06 Sep 2006 08:00:21 -0400 Original-Received: from [199.232.76.164] (helo=fencepost.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GKw50-0003Fd-6p for emacs-devel@gnu.org; Wed, 06 Sep 2006 08:00:30 -0400 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GKw4q-0005wZ-Kr; Wed, 06 Sep 2006 08:00:20 -0400 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 114361C4D3A4; Wed, 6 Sep 2006 13:59:12 +0200 (CEST) Original-To: Jason Rumney In-Reply-To: <44FEB5AB.3060605@gnu.org> (Jason Rumney's message of "Wed, 06 Sep 2006 12:48:59 +0100") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) 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:59440 Archived-At: Jason Rumney writes: > 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. Then perhaps browse-url should be made to handle more types and protocols. I'd prefer it if browse-url used Emacs whenever possible, like for ftp and ssh connections. That sounds like an approach more useful to everybody than a Windows-specific solution. -- David Kastrup, Kriemhildstr. 15, 44793 Bochum