hi, i have a patch to jde.el which fixes an annoying problem i was having. with project context switching enabled, jde would reload the same project file when they were referenced thru two different symlink paths. the patch is attached for those who have the same problem, or if the maintainers find it suitable for inclusion in the next release.
[ i also have some other `little hacks' which i've rolled into a minor mode called MF-JDE. you can get an idea of what they are at http://www.ai.mit.edu/~mfoltz/hacking/index.html although that version is somewhat out-of-date. i'll post an updated version when i get around to fixing a few bugs and cleaning it up. ] cheerio, m. -- mark a foltz -+- mit ai lab -+- [EMAIL PROTECTED] -+- 617.253.8926 A flute without holes, is not a flute. A donut without a hole, is a danish.
--- jde.el.orig Thu Aug 8 16:25:09 2002 +++ jde.el Mon Aug 12 11:52:41 2002 @@ -1933,11 +1933,17 @@ (if (and jde-project-context-switching-enabled-p (not (jde-debugger-running-p)) - (not (string= jde-current-project project-file-path))) + (not (string= jde-current-project project-file-path)) + (not (jde-same-project jde-current-project project-file-path))) (progn (setq jde-current-project project-file-path) (jde-load-project-file) (jde-wiz-set-bsh-project))))) + +(defun jde-same-project (project-file-1 project-file-2) + "Return true iff project-file-1 and project-file-2 represent +the same project file." + (string= (file-truename project-file-1) (file-truename project-file-2))) (defun jde-debugger-running-p () (and