I have encountered the problem mentioned here previously:

http://www.mail-archive.com/jde@sunsite.dk/msg05341.html

> I often get lisp problems with JDEBug (on Xemacs/solaris). Error
> message is "(void-variable old-assoc)".

I did some debugging, and I think it's an XEmacs compiler problem.
However I think that I also know what is causing the problem; in
various places a lambda expression binds the symbol 'assoc', which
confuses the compiler.

I made a copy of all the files in jde, and then edited them to not
bind this symbol, and the problem went away.  Here are the occurances
that I found:

cd /usr/pkg/lib/xemacs/xemacs-packages/lisp/jde/
grep -n 'lambda (assoc)' *.el /dev/null
jde-bug.el:674:  (lambda (assoc)
jde-bug.el:2397:   (lambda (assoc)
jde-db.el:569:     (lambda (assoc)
jde-db.el:585:   (lambda (assoc)
jde-db.el:608:  (lambda (assoc)
jde-db.el:1387:        (mapcar (lambda (assoc) (cdr assoc)) jde-db-breakpoints))
jde-db.el:1435:        (mapcar (lambda (assoc) (cdr assoc)) jde-db-breakpoints))
jde-db.el:1697:       (lambda (assoc) (cdr assoc))
jde-dbs.el:104:  (lambda (assoc)
jde-dbs.el:606:         (lambda (assoc)
jde-dbs.el:800:     (lambda (assoc) 


I still had other problems debugging under XEmacs, but I hope this
helps a bit.

-russ

Reply via email to