Seems that jde-convert-cygwin-path does not know about the mount table, this
causes real problems with mount points. Since cygwin comes with a utility,
cygpath, that will do these conversions correctly for you I've written a
method that calls cygpath to do the conversion and hacked
jde-convert-cygwin-path to use it.
(defun cygwin-path-to-mswindows-path-jps (path)
"Converts a cygwin path to an mswindows path. Requires that cygpath is in
your path."
(interactive)
(save-excursion
(let ((buf-name "*cygwin-jps-output*"))
(shell-command (concat "cygpath -w -p '" path "'") buf-name)
(let ((output (buffer-substring nil nil buf-name)))
(kill-buffer buf-name)
(replace-in-string output "\n" "")))))
(defun jde-convert-cygwin-path (path &optional separator)
(cygwin-path-to-mswindows-path-jps (replace-in-string path ";" ":")))
---
Jon Schewe | [EMAIL PROTECTED]
NOTE: My first name has no 'h' in it! Please be observant
*My views may not represent those of my employers