Host platform:
Linux <name> 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
JDEE Version
2.2.8
EMACS Version
21.2
MESSAGES
jde-db-make-debug-menu calls undefined function gud-new-keymap
( I do not have the actual message )
I was using jde-2.2.8 and emacs 20.7 with no problems.
Then after an upgrade to a new version of Linux:
Linux <name> 2.4.18-3 #1 Thu Apr 18 07:37:53 EDT 2002 i686 unknown
the debug fails when the jde module "jde-db.el" call "gud-new-keymap"
from the function "jde-db-make-debug-menu". Here is the source:
---
;; Fixes a bug in gud-make-debug-menu
(defun jde-db-make-debug-menu ()
"Make sure the current local map has a [menu-bar debug] submap.
If it doesn't, replace it with a new map that inherits it,
and create such a submap in that new map."
(if (and (current-local-map)
(lookup-key (current-local-map) [menu-bar debug]))
nil
(use-local-map (gud-new-keymap
(current-local-map)))
(define-key (current-local-map) [menu-bar debug]
(nconc (list "Jdb") gud-menu-map))))
---
Under the emacs 21.2 that comes with the newer Linux, the gud
module in /usr/share/emacs... does not have a definition for
function "gud-new-keymap".
I moved the one over from emacs 20.7 and put it in the load-path
and it is working now, but this is only a temp fix.
---
Is there a fix for jde-db.el that makes it work under emacs 21.2?
Thanks,
Rood