> Scott Evans writes:
>  > >  > Invalid function: (macro . #<compiled-function (token streamorbuffer 
>&optional search-parts search-includes) "...(15)" [search-includes search-parts 
>streamorbuffer token semantic-find-nonterminal-by-function lambda (tok) eq 
>((semantic-token-token tok))] 6 ("c:\\Program 
>Files\\XEmacs\\xemacs-packages\\lisp\\semantic\\semantic-util.elc" . 14003)>)
>  > >  
>  > > Classic error that occurs when you compile lisp file A, which
>  > > requires macros defined by lisp file B, without first ensuring that
>  > > lisp file B has been loaded. Either delete the compiled versions of
>  > > the semantic lisp files or use the included makefile to compile
>  > > them.
>  > 
>  > Hm... I'm using the semantic version (1.4b8) that came with the
>  > today's new XEmacs sumo tarball, so if it's built wrong that's not
>  > good.
>  > 
>  > Anyway, I tried nuking the semantic .elc files and I still get the
>  > same error.
> 
> If that's the case, then there is another version of semantic in
> the XEmacs command path that IS compiled and IS getting loaded because
> the error message that you include references semantic-util.elc, which
> is a compiled file.

Sorry Paul, I spoke to soon -- as someone else pointed out, it's
actually a different error:

Signaling: (invalid-function (macro lambda (token streamorbuffer &optional 
search-parts search-includes) "Find all nonterminals with a token TOKEN within 
STREAMORBUFFER.
TOKEN is a symbol representing the type of the tokens to find.
Optional argument SEARCH-PARTS and SEARCH-INCLUDE are passed to
`semantic-find-nonterminal-by-function'." (backquote 
(semantic-find-nonterminal-by-function (lambda (tok) (eq (\, token) 
(semantic-token-token tok))) (\, streamorbuffer) (\, search-parts) (\, 
search-includes)))))
  semantic-find-nonterminal-by-token(... lots of stuff ...)
  jde-import-get-import-insertion-point()
  jde-import-insert-imports-into-buffer(("java.util.Vector"))
  jde-import-insert-imports(("java.util.Vector"))
  #<compiled-function (class) "...(37)" [imports class existing-import nil 
jde-import-get-existing-import message "Skipping: already imported %s" bsh-eval-r 
"jde.util.JdeUtilities.getQualifiedName(\"" "\");" jde-import-insert-imports "Error: 
could not find %s."] 5 ("c:\\Program 
Files\\XEmacs\\xemacs-packages\\lisp\\jde\\jde-import.elc" . -5081) (list 
(read-from-minibuffer "Class: " ...))>("Vector")
  call-interactively(jde-import-find-and-import)

Reply via email to