From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Patch for remote files in dnd.el Date: Thu, 07 Sep 2006 10:13:29 -0400 Message-ID: References: <44FFD45C.7010206@gnu.org> <44FFD778.1090807@swipnet.se> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1157638456 1393 80.91.229.2 (7 Sep 2006 14:14:16 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 14:14:16 +0000 (UTC) Cc: emacs-devel@gnu.org, YAMAMOTO Mitsuharu , Jason Rumney Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 07 16:14:13 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 1GLKdj-0000l9-4S for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 16:13:59 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLKdi-0001dx-GU for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 10:13:58 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLKdM-0001Nh-Aj for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:13:36 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLKdK-0001J9-5D for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:13:35 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLKdK-0001Iq-0N for emacs-devel@gnu.org; Thu, 07 Sep 2006 10:13:34 -0400 Original-Received: from [209.226.175.97] (helo=tomts40-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GLKde-0005Zz-QC; Thu, 07 Sep 2006 10:13:55 -0400 Original-Received: from localhost ([70.55.80.224]) by tomts40-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060907141329.XIGG24981.tomts40-srv.bellnexxia.net@localhost>; Thu, 7 Sep 2006 10:13:29 -0400 Original-Received: by localhost (Postfix, from userid 20848) id 730F08B16; Thu, 7 Sep 2006 10:13:29 -0400 (EDT) Original-To: Jan =?iso-8859-1?Q?Dj=E4rv?= In-Reply-To: <44FFD778.1090807@swipnet.se> (Jan =?iso-8859-1?Q?Dj=E4rv's?= message of "Thu, 07 Sep 2006 10:25:28 +0200") 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:59509 Archived-At: >>> 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. But it violates Richards policy of being antagonistic towards >> Windows users, so I won't install it. > I've installed your patch along with code to handle remote url:s (with > url-handle-mode) for non-MS platforms in dnd.el. I can at least drop > ftp://-urls from nautilus. url-handler-mode does not handle smb://-urls, > but it seems tramp do. Is that an oversight in url-handle-mode? I believe so, yes. URL could also be expanded with an `ssh' protocol (using Tramp). Stefan