Hello all,
i have suse linux 9.0, emacs 21.3.1
i just installed the newest version 2.3.5 but now the following problem occurs at startup:
backtrace:
Debugger entered--Lisp error: (file-error "Cannot open load file" "semantic-idle")
require(semantic-idle)
eval-buffer(#<buffer *load*<4>> nil "jde-complete" nil t)
load-with-code-conversion("/usr/share/emacs/jde-2.3.5/lisp/jde-complete.el" "jde-complete" nil t)
require(jde-complete)
eval-buffer(#<buffer *load*<3>> nil "jde-wiz" nil t)
load-with-code-conversion("/usr/share/emacs/jde-2.3.5/lisp/jde-wiz.el" "jde-wiz" nil t)
require(jde-wiz)
eval-buffer(#<buffer *load*<2>> nil "jde" nil t)
load-with-code-conversion("/usr/share/emacs/jde-2.3.5/lisp/jde.el" "jde" nil t)
require(jde)
(if defer-loading-jde (progn (autoload ... "jde" "JDE mode." t) (setq auto-mode-alist ...)) (require (quote jde)))
eval-buffer(#<buffer *load*> nil "~/.emacs" nil t)
load-with-code-conversion("/home/ernst/.emacs" "~/.emacs" t t)
load("~/.emacs" t t)
#[nil "…—
messages:
Loading regexp-opt...done
Loading mule-util...done
eval-buffer:
Loading debug...done
Entering debugger...
[2 times]
GNU Emacs 21.3.1 (i586-suse-linux, X toolkit, Xaw3d scroll bars) of 2003-09-23 on Weber
seems clear to me (although i dont know lisp): indeed there is no file semantic-idle in directory lisp. What can i do?
greetings & thanks for your help
Ernst
;; XEmacs backwards compatibility file ;(setq user-init-file ; (expand-file-name "init.el" ; (expand-file-name ".xemacs" "~"))) ;(setq custom-file ; (expand-file-name "custom.el" ; (expand-file-name ".xemacs" "~")))
;(load-file user-init-file)
;(load-file custom-file)
;; Load CEDET
;(load-file "/usr/share/emacs/cedet-1.0beta2b/common/cedet.el")
;; Enabling SEMANTIC minor modes. See semantic/INSTALL for more ideas.
;(semantic-load-enable-code-helpers)
(setq debug-on-error t)
;(add-to-list 'load-path "/usr/share/emacs/jde-2.3.2/lisp") ;;1682 1672
;(add-to-list 'load-path "/usr/share/emacs/semantic-1.4.3")
;(add-to-list 'load-path "/usr/share/emacs/speedbar-0.14beta4")
;(add-to-list 'load-path "/usr/share/emacs/eieio-0.17")
;(add-to-list 'load-path "/usr/share/emacs/elib-1.0")
;(add-to-list 'load-path "/usr/share/emacs/jde-2.3.3beta6/lisp")
;(add-to-list 'load-path "/usr/share/emacs/jde-2.3.3/lisp")
(add-to-list 'load-path "/usr/share/emacs/jde-2.3.5/lisp")
(add-to-list 'load-path "/usr/share/emacs/semantic-1.4.4")
(add-to-list 'load-path "/usr/share/emacs/speedbar-0.14beta4")
(add-to-list 'load-path "/usr/share/emacs/eieio-0.17")
(add-to-list 'load-path "/usr/share/emacs/elib-1.0")
;(add-to-list 'load-path "/usr/share/emacs/jde-2.3.5/lisp")
;(add-to-list 'load-path "/usr/share/emacs/cedet-1.0beta3b/semantic")
;(add-to-list 'load-path "/usr/share/emacs/cedet-1.0beta3b/speedbar")
;(add-to-list 'load-path "/usr/share/emacs/cedet-1.0beta3b/eieio")
;(add-to-list 'load-path "/usr/share/emacs/cedet-1.0beta3b/elib")
;; If you want Emacs to defer loading the JDE until you open a
;; Java file, edit the following line
(setq defer-loading-jde nil) ;;1682 1672
;; 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))) ;;1682 1672
(require 'jde)
)
;; for backward search in kdvi
(server-start)
;; for forward search in kdvi
(add-to-list 'load-path (expand-file-name "/home/ernst/.emacs-scripts/"))
(require 'kdvi-search)
(add-hook 'LaTeX-mode-hook (lambda () (local-set-key "\C-x\C-j"
'kdvi-jump-to-line)))
(add-hook 'tex-mode-hook (lambda () (local-set-key "\C-x\C-j"
'kdvi-jump-to-line)))
; (require 'decompile)
;; Sets the basic indentation for Java source files
;; to two spaces.
;(defun my-jde-mode-hook ()
; (setq c-basic-offset 2))
;(add-hook 'jde-mode-hook 'my-jde-mode-hook)
;; Include the following only if you want to run
;; bash as your shell.
;; Setup Emacs to run bash as its primary shell.
(setq shell-file-name "bash")
(setq shell-command-switch "-c")
(setq explicit-shell-file-name shell-file-name)
(setenv "SHELL" shell-file-name)
(setq explicit-sh-args '("-login" "-i"))
;;(if (boundp 'w32-quote-process-args)
;; (setq w32-quote-process-args ?\")) ;; Include only for MS Windows.
;(require 'jde)
(autoload 'pmd-current-buffer "pmd" "PMD Mode" t)
(autoload 'pmd-current-dir "pmd" "PMD Mode" t)
(global-set-key "\C-c\C-vb" 'pmd-current-buffer)
(global-set-key "\C-c\C-vd" 'pmd-current-dir)
(jde-project-file-version "1.0")
(jde-set-variables
'(jde-jdk-registry (quote (("1.5.0" . "/usr/local/java/latest/"))))
'(jde-run-option-enable-system-assertions t)
'(jde-javadoc-gen-use t)
'(jde-ant-enable-find t)
'(jde-global-classpath (quote ("~/Software/cls" "~/Software/jars/junit.jar")))
'(jde-javadoc-gen-detail-switch (quote ("-private")))
'(jde-ant-read-target t)
'(jde-gen-comments nil)
'(jde-compiler (quote ("javac" "")))
'(jde-javadoc-checker-level (quote private))
'(jde-compile-option-directory "~/Software/cls")
'(jde-ant-home "/usr/local/ant/apache-ant-1.6.1/")
'(jde-build-function (quote (jde-ant-build)))
'(jde-compile-option-source (quote ("1.5")))
'(jde-compile-option-deprecation t)
'(jde-run-option-enable-assertions "Everywhere")
'(jde-compile-option-sourcepath (quote ("~/Software/src")))
'(jde-sourcepath (quote ("/home/ernst/Software/src")))
'(jde-compile-option-target (quote ("1.5")))
'(jde-compile-enable-kill-buffer t)
'(jde-help-docsets (quote (("User (javadoc)"
"/usr/local/java/j2sdk1.5.0/MyApiDocs" nil) ("User (javadoc)"
"/home/ernst/Software/docs" nil))))
'(jde-ant-invocation-method (quote ("Java")))
'(jde-compile-option-command-line-args (quote ("-Xlint"))))
