Okay, I don't know these frameworks really well but I was trying to shorten my mode-line information and came across this.
Are the jde-plugin-minor-mode and jde-jdb-minor modes only for xemacs?
If so can we wrap there loading in jde-mode with a check for xemacs?
(if (featurep 'xemacs)
(progn
;; Install debug menu.
(if (string= (car jde-debugger) "JDEbug")
(jde-bug-minor-mode 1)
(jde-jdb-minor-mode 1))
;; Install plugin menu.
(jde-plugin-minor-mode 1))
)
Also, what about a call to semantic mode line update at the end of jde-jdb-minor-mode and jde-plugin-minor-mode to remove the modes from the modeling
(if (featurep 'xemacs)
(let ((menu-spec (jde-plugin-make-menu-spec)))
(if menu-spec
(if jde-plugin-minor-mode
(easy-menu-add menu-spec jde-plugin-mode-map)
(easy-menu-remove menu-spec)))))
(semantic-mode-line-update)
)
