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