还一些错误打不出来- -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. )