Hi,
I am running XEmacs 21.1.12 and the JDE 2.2.8beta6. Everytime I
complied a class, or called igrep-find I got an error. Here is the
backtrace:
,----
| Signaling: (error "Wrong type of file *compilation*")
| signal(error ("Wrong type of file *compilation*"))
| cerror("Wrong type of file %s" "*compilation*")
| apply(cerror ("Wrong type of file %s" "*compilation*"))
| error("Wrong type of file %s" "*compilation*")
| jde-complete-get-name-of-this-class()
| (setq jde-complete-last-compiled-class (jde-complete-get-name-of-this-class))
| )
| jde-compile-finish-flush-completion-cache(#<buffer "*compilation*"> "finished\n")
| run-hook-with-args(jde-compile-finish-flush-completion-cache #<buffer
|"*compilation*"> "finished\n")
| #<compiled-function (buf msg) "...(16)" [run-hook-with-args
|jde-compile-finish-hook buf msg nil compilation-finish-function] 4>(#<buffer
|"*compilation*"> "finished\n")
| compilation-sentinel(#<process "compilation" pid 17417 state:exit> "finished\n")
`----
After digging a bit in the code, I found this code in the method
jde-compile-finish-flush-completion-cache:
,----
| (if jde-xemacsp
| (set-buffer (cadr (buffer-list)))
| (set-buffer (car (buffer-list))))
`----
if I change the 'cadr' in the xemacs case to 'car' it works without
the error. It seems, that the special case if not needed, or do I
overlook something?
Regards,
Gerd