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: Thu, 07 Sep 2006 16:31:54 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: 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 1157614345 13630 80.91.229.2 (7 Sep 2006 07:32:25 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 7 Sep 2006 07:32:25 +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 Thu Sep 07 09:32:23 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 1GLEN2-0006sK-I2 for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 09:32:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLEN2-0005Iu-04 for ged-emacs-devel@m.gmane.org; Thu, 07 Sep 2006 03:32:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GLEMl-0005II-Ny for emacs-devel@gnu.org; Thu, 07 Sep 2006 03:32:03 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GLEMj-0005H8-FH for emacs-devel@gnu.org; Thu, 07 Sep 2006 03:32:02 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GLEMi-0005H3-S7 for emacs-devel@gnu.org; Thu, 07 Sep 2006 03:32:01 -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 1GLEN0-0006lU-Si; Thu, 07 Sep 2006 03:32:19 -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 4EEE32CBA; Thu, 7 Sep 2006 16:31:54 +0900 (JST) Original-To: Jason Rumney In-Reply-To: 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:59490 Archived-At: >>>>> On Thu, 27 Jul 2006 23:22:28 +0100, Jason Rumney said: > The following patch to dnd.el adds support for remote files via a > new variable dnd-open-remote-file-function. Does the following change work for remote file access? I can't test it by myself. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp Index: lisp/term/w32-win.el =================================================================== RCS file: /cvsroot/emacs/emacs/lisp/term/w32-win.el,v retrieving revision 1.77 diff -c -s -r1.77 w32-win.el *** lisp/term/w32-win.el 20 May 2006 04:30:46 -0000 1.77 --- lisp/term/w32-win.el 7 Sep 2006 07:21:37 -0000 *************** *** 121,127 **** "/") "/"))) (dnd-handle-one-url window 'private ! (concat "file:" file-name))) (car (cdr (cdr event))))) (raise-frame))) --- 121,127 ---- "/") "/"))) (dnd-handle-one-url window 'private ! (concat "file://" file-name))) (car (cdr (cdr event))))) (raise-frame)))