Hi Jeppe, Thanks for the fix.
I'll look into this as soon as I can. Regards, Paul Jeppe N. Madsen writes: > Hi, > > > I'm a newbie to jde, using 2.2.9beta8 on xemacs 21.2.6/cygin. Having > installed jde, I encountered a few problems. > > 1) If I open /tmp/test.java and compile using compile server, I get a > compile error: > javac: invalid argument C: > > After digging around, it seems as if the problem is the conversion > from cygwin path to win32 path. mswindows-cygwin-to-win32-path > correctly converts /tmp/test.java to C:\\tmp\\test.java. But > CompileServer doesn't seem to like the backslash characters. A > quick'n dirty patch is shown below, I don't know if a better > solution exists. > > 2) xemacs/cygwin now also allows native win32 paths, but if I open > c:\tmp\test.java, jde is not activated correctly. I do get JDE/ah in > the modeline, but no fontlocking, no JDE menus, no JDE keybindings > etc. > > rgds > Jeppe > > > *** orig/jde-2.2.9beta8/lisp/jde.el Sat Jan 19 01:43:06 2002 > --- jde-2.2.9beta8/lisp/jde.el Fri Jan 25 12:31:50 2002 > *************** > *** 1281,1287 **** > unless they begin with '//[a-z]/' or '/cygdrive/[a-z]/'." > (interactive "sPath: ") > (if (fboundp 'mswindows-cygwin-to-win32-path) > ! (mswindows-cygwin-to-win32-path path) > (let* ((path-re "/\\(cygdrive\\)?/\\([a-zA-Z]\\)/") > (subexpr 2) > (index1 (* 2 subexpr)) > --- 1281,1287 ---- > unless they begin with '//[a-z]/' or '/cygdrive/[a-z]/'." > (interactive "sPath: ") > (if (fboundp 'mswindows-cygwin-to-win32-path) > ! (substitute ?\/ ?\\ (mswindows-cygwin-to-win32-path path)) > (let* ((path-re "/\\(cygdrive\\)?/\\([a-zA-Z]\\)/") > (subexpr 2) > (index1 (* 2 subexpr)) >