You need to make sure that you removed the old speedbar that came with
your install of Emacs. You can also just make sure that you put the
latest version at the beginning of your path. That will probably solve
your problem.
Marc
> -----Original Message-----
> From: Berche, Guillaume [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, August 08, 2000 6:01 PM
> To: [EMAIL PROTECTED]
> Subject: Speedbar expansion error
>
>
> Hi,
>
> After downloading and installing a fresh jde-2.2.1,
> semantic-1.2.1, speedbar-0.11.1 (and speedbar-0.12 with
> same error), I get the following error when trying to
> expand a speedbar item on a Java class (it does not work
> either on a Makefile). The classes menu works fine (but I'm
> not sure if the same parsing is used for classes and for
> the speedbar)
> I could not find an answer in either FAQ, or mailing list
> archive. I guess this is an install problem, but I have a
> hard time figuring it out.
>
> I am using emacs 20.7 on Windows 2000. Following is the
> error I get when trying to expand a speedbar item.
> I also attach the problem report form generated by the JDE
> if this can help the diagnosis.
>
> Any idea of what I missed?
>
> Many thanks,
>
> Guillaume.
>
> ps: I was still using JDE 2.1.1, all the new features in
> 2.2 are just great. I can't wait to get them all configured
> and working !
>
>
>
>
> Signaling: (wrong-number-of-arguments #<subr sort> 1)
> sort((("Query" type "interface" (... ... ... ... ... ...
> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
> ... ...) nil ("public") nil 2119 10074)))
> funcall(sort (("Query" type "interface" (... ... ... ...
> ... ... ... ... ... ... ... ... ... ... ... ... ... ... ...
> ... ... ... ...) nil ("public") nil 2119 10074)))
> (setq lst (funcall (car methods) lst) methods (cdr methods))
> (while methods (setq lst (funcall ... lst) methods (cdr methods)))
> (let* ((f ...) (methods ...) (lst ...)) (while methods
> (setq lst ... methods ...)) lst)
> speedbar-create-tag-hierarchy((("Query" type "interface"
> (... ... ... ... ... ... ... ... ... ... ... ... ... ...
> ... ... ... ... ... ... ... ... ...) nil ("public") nil
> 2119 10074)))
> (let ((sordid ...)) (while sordid (cond ... ... ...)
> (setq sordid ...)))
> semantic-sb-buttons-plain(1 (("Query" type "interface"
> (... ... ... ... ... ... ... ... ... ... ... ... ... ...
> ... ... ... ... ... ... ... ... ...) nil ("public") nil
> 2119 10074)))
> (if (<= (length ...) semantic-sb-autoexpand-length)
> (semantic-sb-buttons-plain (1+ level) (cdr tmp))
> (speedbar-make-tag-line (quote curly) 43 (quote
> semantic-sb-expand-group) (cdr tmp) (car ...) nil nil
> (quote speedbar-tag-face) (1+ level)))
> (if (cdr tmp) (if (<= ... semantic-sb-autoexpand-length)
> (semantic-sb-buttons-plain ... ...) (speedbar-make-tag-line
> ... 43 ... ... ... nil nil ... ...)))
> (while lst (setq tmp (car lst)) (if (cdr tmp) (if ... ...
> ...)) (setq lst (cdr lst)))
> (let (tmp) (while lst (setq tmp ...) (if ... ...) (setq lst ...)))
> (save-restriction (narrow-to-region (point-min) (point))
> (let (tmp) (while lst ... ... ...)))
> semantic-sb-buttons(0 (("Variables") ("Functions")
> ("Types" ("Query" type "interface" ... nil ... nil 2119
> 10074)) ("Dependencies" ("java.io.IOException" include nil
> 1180 1207) ("java.io.DataOutputStream" include nil 1147
> 1179) ("java.util.Enumeration" include nil 1117 1146))
> ("Provides" ("xtrim.data" package nil 923 942)) ("Misc")))
> semantic-insert-bovine-list(0 (("Variables")
> ("Functions") ("Types" ("Query" type "interface" ... nil
> ... nil 2119 10074)) ("Dependencies" ("java.io.IOException"
> include nil 1180 1207) ("java.io.DataOutputStream" include
> nil 1147 1179) ("java.util.Enumeration" include nil 1117
> 1146)) ("Provides" ("xtrim.data" package nil 923 942)) ("Misc")))
> funcall(semantic-insert-bovine-list 0 (("Variables")
> ("Functions") ("Types" ("Query" type "interface" ... nil
> ... nil 2119 10074)) ("Dependencies" ("java.io.IOException"
> include nil 1180 1207) ("java.io.DataOutputStream" include
> nil 1147 1179) ("java.util.Enumeration" include nil 1117
> 1146)) ("Provides" ("xtrim.data" package nil 923 942)) ("Misc")))
> (save-excursion (end-of-line) (forward-char 1) (funcall
> (car lst) indent (cdr lst)))
> (progn (save-excursion (end-of-line) (forward-char 1)
> (funcall ... indent ...)))
> (let ((inhibit-read-only t)) (progn (save-excursion ... ... ...)))
> (speedbar-with-writable (save-excursion (end-of-line)
> (forward-char 1) (funcall ... indent ...)))
> (if (not lst) (speedbar-change-expand-button-char 63)
> (speedbar-change-expand-button-char 45)
> (speedbar-with-writable (save-excursion ... ... ...)))
> (let* ((fn ...) (mode nil) (lst ...)) (if (not lst)
> (speedbar-change-expand-button-char 63)
> (speedbar-change-expand-button-char 45)
> (speedbar-with-writable ...)))
> (cond ((string-match "+" text) (let* ... ...))
> ((string-match "-" text)
> (speedbar-change-expand-button-char 43)
> (speedbar-delete-subblock indent)) (t (error "Ooops... not
> sure what to do")))
> speedbar-tag-file("[+]" "Query.java" 0)
> funcall(speedbar-tag-file "[+]" "Query.java" 0)
> (and fn (funcall fn txt tok dent))
> (let* ((fn ...) (tok ...) (tp ...) (np ...) (txt ...)
> (dent ...)) (and fn (funcall fn txt tok dent)))
> speedbar-do-function-pointer()
> speedbar-click((mouse-2 (#<window 5 on SPEEDBAR> 439 (8
> . 272) 33705305)))
> call-interactively(speedbar-click)
>
>
>
__________________________________________________
Do You Yahoo!?
Talk to your friends online with Yahoo! Messenger.
http://im.yahoo.com