安装jde时出现这个错误

Vim、Emacs配置和使用
回复
kk15378924
帖子: 56
注册时间: 2009-02-28 22:02

安装jde时出现这个错误

#1

帖子 kk15378924 » 2009-03-05 22:40

Debugger entered--Lisp error: (args-out-of-range 2650 2650)
get-char-property(2650 follow-link #<window 3 on HelloWord.java>)
mouse-posn-property((#<window 3 on HelloWord.java> 2650 (259 . 229) 24781783 nil 2650 (25 . 11) nil (9 . 9) (10 . 20)) follow-link)
mouse-on-link-p((#<window 3 on HelloWord.java> 2650 (259 . 229) 24781783 nil 2650 (25 . 11) nil (9 . 9) (10 . 20)))
mouse-drag-track((down-mouse-1 (#<window 3 on HelloWord.java> 2650 (259 . 229) 24781783 nil 2650 (25 . 11) nil (9 . 9) (10 . 20))) t)
mouse-drag-region((down-mouse-1 (#<window 3 on HelloWord.java> 2650 (259 . 229) 24781783 nil 2650 (25 . 11) nil (9 . 9) (10 . 20))))
call-interactively(mouse-drag-region)
还一些错误打不出来- -
我的配置文件
;; Load CEDET
(setq debug-on-error t)

(add-to-list 'load-path (expand-file-name "~/emacs/semantic-1.4.4"))
(add-to-list 'load-path (expand-file-name "~/emacs/speedbar-0.14beta4"))
(add-to-list 'load-path (expand-file-name "~/emacs/eieio-0.17"))
(add-to-list 'load-path (expand-file-name "~/emacs/jde/lisp"))
(add-to-list 'load-path (expand-file-name "~/emacs/elib-1.0"))
(add-to-list 'load-path (expand-file-name "~/emacs/common"))

(load-file (expand-file-name "~/emacs/common/cedet.el"))

;; If you want Emacs to defer loading the JDE until you open a
;; ;; Java file, edit the following line
(setq defer-loading-jde nil)
;; ;; to read:
;; ;;
;; ;; (setq defer-loading-jde t)
;; ;;
;;
(if defer-loading-jde
(progn
(autoload 'jde-mode "jde" "JDE mode." t)
(setq auto-mode-alist
(append
'(("\\.java\\'" . jde-mode))
auto-mode-alist)))
(require 'jde))


(custom-set-variables
;; ;; custom-set-variables was added by Custom.
;; ;; If you edit it by hand, you could mess it up, so be careful.
;; ;; Your init file should contain only one such instance.
;; ;; If there is more than one, they won't work right.
'(jde-jdk (quote ("1.6.0")))
'(jde-jdk-registry (quote (("1.6.0" . "/usr/lib/jvm/java-6-sun-1.6.0.07")))))
(custom-set-faces
;; ;; custom-set-faces was added by Custom.
;; ;; If you edit it by hand, you could mess it up, so be careful.
;; ;; Your init file should contain only one such instance.
;; ;; If there is more than one, they won't work right. )
kk15378924
帖子: 56
注册时间: 2009-02-28 22:02

Re: 安装jde时出现这个错误

#2

帖子 kk15378924 » 2009-03-05 23:36

c错了。。错误提示始终是这个。。不明白

Wrong number of arguments: #[(form val type) Å!ƒ2
头像
un1980
帖子: 32
注册时间: 2006-11-15 9:35

Re: 安装jde时出现这个错误

#3

帖子 un1980 » 2009-04-20 12:55

我也遇到这个问题了
没人解答
现在知道怎么回事了
是你的jde2.3.5.1的版本问题
不知道是否和cedet的版本有关系,反正是无法成功配置
你换个jde2.3.5就可以了
你找不到给我发信息
回复