hello,
i'm trying to use jde within emacs lisp, i want to call
(jde-compile) in a temp buffer and then after that, call
(bsh-eval ...) to reload this last compiled class...
the thing is that without (bsh-eval ...) everything goes
smoothly but when i insert (bsh-eval ...) things don't work!
i try to put (message ...) inside all functions that are
called with hook jde-compile-finish-hook and them doesn't seem
to be called... i'm guessing that (jde-compile) is not
synchronous or something and (bsh-eval ...) is called
before the real computation inside (jde-compile) is done!
(i'm thinkig that there is a problem with the process filters
they change inside the jde-compile and things gets messed up
when i call (bsh-eval ...) after (jde-compile))
but when i added (bsh-eval ...) inside the jde-compile-finish-hook
with (add-hook 'jde-compile-finish-hook '(lambda (buf msg)
(bsh-eval ...))
things seem to work... but i didn't want things like this
because this changes for all .java files and i want only for
the current .java temp file
why can something like
(progn
(jde-compile)
(bsh-eval (concat "reloadClasses(\""
java-temp-file-name
"\");")))
work?
thanks in advance (for anything),
rodrigo
ps: i have all last versions of required software!
emacs version 21.1
red-hat 7.3