Gary Jones <[email protected]> writes:
> But I also have EmacsW32 installed and tried it on there, and it worked
> fine, in that I got a .class file out of the end which I could run. At
> the compile stage, though, I got:
>
> Compilation finished
> error in process filter: bsh-compilation-buffer: Wrong type argument:
> number-or-marker-p, "0"
> error in process filter: Wrong type argument: number-or-marker-p, "0"
This is because as of some recent(ish) version of Emacs the exit-status
argument to compilation-handle-exit must be a number, not a string.
To fix this, change the call to compilation-handle-exit in function
bsh-compilation-buffer-filter of beanshell.el to read
(compilation-handle-exit
'exit (string-to-number status)
(if (string= "0" status)
"finished\n"
(format "exited abnormally with code %s\n"
status))))
There is only one call to compilation-handle-exit in the file, so it's
not hard to find.
--
Espen Wiborg <[email protected]> - Veritas vos liberabit
Thermodynamics in a nutshell:
1st Law: You can't win. (Energy is conserved)
2nd Law: You can't break even. (Entropy)
0th Law: You can't even quit the game. (Closed systems) -- C.P. Snow
------------------------------------------------------------------------------
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users