[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for remote files in dnd.el
From: |
KOBAYASHI Yasuhiro |
Subject: |
Re: Patch for remote files in dnd.el |
Date: |
Fri, 08 Sep 2006 08:47:15 +0900 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (windows-nt) |
I tried the latest HEAD but I have the error which occured
with the filename with SPACEs or MULTIBYTEs.
Debugger entered--Lisp error: (error "Invalid file url")
signal(error ("Invalid file url"))
error("Invalid file url")
dnd-open-unc-file("file://NSZ/home/kobayays/My%20Documents/w_s3alog.csv"
private)
dnd-open-file("file://NSZ/home/kobayays/My%20Documents/w_s3alog.csv" private)
[...]
How about the following?
*** /tmp/dnd.el~ Fri Sep 8 08:35:07 2006
--- /tmp/dnd.el Fri Sep 8 08:34:33 2006
***************
*** 181,187 ****
and must have the format file://hostname/file-name. ACTION is ignored.
//hostname/file-name is the unc path."
(let ((unc-file (if (string-match "^file:" uri)
! (substring (uri) 5))))
(if (and unc-file (file-readable-p unc-file))
(progn
(if dnd-open-file-other-window
--- 181,187 ----
and must have the format file://hostname/file-name. ACTION is ignored.
//hostname/file-name is the unc path."
(let ((unc-file (if (string-match "^file:" uri)
! (substring (url-unhex-string uri) 5))))
(if (and unc-file (file-readable-p unc-file))
(progn
(if dnd-open-file-other-window
--
KOBAYASHI Yasuhiro <address@hidden>
- Re: Patch for remote files in dnd.el, (continued)
- Re: Patch for remote files in dnd.el, Stefan Monnier, 2006/09/07
- Re: Patch for remote files in dnd.el, David Kastrup, 2006/09/07
- Re: Patch for remote files in dnd.el, Jason Rumney, 2006/09/07
- Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
- Re: Patch for remote files in dnd.el, Jason Rumney, 2006/09/08
- Re: Patch for remote files in dnd.el, Jan Djärv, 2006/09/08
- Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
- Re: Patch for remote files in dnd.el, Jan Djärv, 2006/09/09
- Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
Re: Patch for remote files in dnd.el,
KOBAYASHI Yasuhiro <=