Hello,
I have an error when I do a 'jde-compile-jde' in Emacs. Here is the error I
have:
Backtrace:
Debugger entered--Lisp error: (file-error "Opening directory" "aucun fichier ou
r\x8e9pertoire de ce type" "/usr/share/emacs22/site-lisp/lisp")
directory-files("/usr/share/emacs22/site-lisp/lisp" t)
jde-compile-jde()
call-interactively(jde-compile-jde)
execute-extended-command(nil)
call-interactively(execute-extended-command)
Messages:
("/usr/bin/emacs22-gtk")
Loading 00debian-vars...
No /etc/mailname. Reverting to default...
Loading 00debian-vars...done
Loading /etc/emacs22/site-start.d/35elib-startup.el (source)...done
Loading /etc/emacs/site-start.d/50autoconf.el (source)...done
Loading /etc/emacs/site-start.d/50cedet-common.el (source)...
Loading advice...done
Loading /etc/emacs/site-start.d/50cedet-common.el (source)...done
Loading /etc/emacs/site-start.d/50cmake.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...
Loading debian-ispell...
Loading /var/cache/dictionaries-common/emacsen-ispell-default.el (source)...done
Loading debian-ispell...done
Loading /var/cache/dictionaries-common/emacsen-ispell-dicts.el (source)...done
Loading /etc/emacs/site-start.d/50dictionaries-common.el (source)...done
Loading /etc/emacs/site-start.d/50eieio.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-extra.el (source)...done
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...
Package emacs-goodies-el removed but not purged. Skipping setup.
Loading /etc/emacs/site-start.d/50emacs-goodies-el.el (source)...done
Loading /etc/emacs/site-start.d/50ilisp.el (source)...
Loading /etc/ilisp/ilisp.el (source)...
Error while loading 50ilisp
Loading /etc/emacs/site-start.d/50jde.el (source)...
Error while loading 50jde
Loading /etc/emacs/site-start.d/50sawfish.el (source)...done
Loading /etc/emacs22/site-start.d/50tdtd.el (source)...done
Loading /etc/emacs/site-start.d/51ede.el (source)...done
Loading /etc/emacs/site-start.d/51speedbar.el (source)...done
Loading /etc/emacs/site-start.d/52semantic.el (source)...done
Loading /etc/emacs/site-start.d/53cedet-contrib.el (source)...done
Loading /etc/emacs/site-start.d/53cogre.el (source)...done
Loading /etc/emacs22/site-start.d/60nxml-mode.el (source)...
Loading /usr/share/emacs22/site-lisp/nxml-mode/rng-auto.el (source)...done
Loading /etc/emacs22/site-start.d/60nxml-mode.el (source)...done
Loading /etc/emacs22/site-start.d/70tei-emacs.el (source)...
Error while loading 70tei-emacs
Loading time...done
Loading edmacro...done
Loading /home/pierreth/bin/MyEmacsMacro...done
Loading cc-styles...done
"/usr/share/emacs22/site-lisp/cedet-common/" added to `load-path'
Setting up cedet...done
Setting up cogre...done
Setting up ede...
Loading ede...
Loading ede-speedbar...done
Loading ede...done
Setting up ede...done
Setting up eieio...done
Setting up semantic...
Loading derived...done
Setting up semantic...done
Setting up speedbar...done
Setting up cedet-contrib...done
jde-java-font-lock: building names cache...empty
Loading bytecomp...done
Loading byte-opt...done
Loading /usr/share/emacs/site-lisp/semantic/bovine/semantic-el.el
(source)...done
For information about the GNU Project and its goals, type C-h C-p.
Loading debug...done
Entering debugger...
Here the information about my environment:
host platform: Kubuntu 7.10
JDEE version: 2.3.5.1-2
Emacs version: Emacs 22.1 GTK
.emacs:
;; Affichage date & heure
(display-time)
(setq display-time-24hr-format t)
;; Affichage des numéros de ligne et de colonnes
(column-number-mode t)
(line-number-mode t)
;; Transformer le BEEP système en un flash écran
(setq visible-bell t)
;; Afficher le nom du fichier dans la barre de titre de la fenetre
(setq frame-title-format '(buffer-file-name "%b [%f]" "%b"))
(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.
)
(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.
'(column-number-mode t)
'(display-time-mode t)
'(mouse-wheel-mode t nil (mwheel))
'(tool-bar-mode nil)
'(transient-mark-mode t))
(autoload 'ispell-word "ispell" "Check the spelling of word in buffer." 't)
(autoload 'ispell-region "ispell" "Check the spelling of region." 't)
(autoload 'ispell-buffer "ispell" "Check the spelling of buffer." t)
(global-set-key (read-kbd-macro "M-$") 'ispell-word)
(setq ispell-dictionary "francais"
ispell-skip-sgml t)
(autoload 'flyspell-mode "flyspell" "On-the-fly spelling checking" t)
(setq flyspell-default-dictionary "francais")
(cond (window-system
(setq default-frame-alist
(append '((font .
"-schumacher-clean-medium-r-normal--16-160-75-75-c-80-iso8859-1")
(geometry . "-1-1"))
default-frame-alist))
))
(put 'scroll-left 'disabled nil)
;; Faire en sorte qu'on ne voit pas les mots de passe quand on les tape:
(add-hook 'comint-output-filter-functions
'comint-watch-for-password-prompt)
;; Charger mon fichier de macro:
(load-file "~/bin/MyEmacsMacro")
(global-set-key "\C-\M-k" 'Delete-line)
;; (setq-default indent-tabs-mode nil)
(setq-default tab-width 4)
(setq c-basic-offset 4)
(setq standard-indent 4)
;; Charger html-helper-mode:
(setq load-path (cons "~/ApplicationSupport/Emacs" load-path))
(autoload 'html-helper-mode "html-helper-mode" "Yay HTML" t)
;; html-help-mode est le mode par défaut pour les fichiers html:
(setq auto-mode-alist (cons '("\\.html?$" . html-helper-mode) auto-mode-alist))
(setq tempo-interactive t)
; Make a non-standard key binding. We can put this in
;; c-mode-base-map because c-mode-map, c++-mode-map, and so on,
;; inherit from it.
(defun my-c-initialization-hook ()
(define-key c-mode-base-map "\C-m" 'c-context-line-break))
(add-hook 'c-initialization-hook 'my-c-initialization-hook)
;; offset customizations not in my-c-style
;; This will take precedence over any setting of the syntactic symbol
;; made by a style.
(setq c-offsets-alist '((member-init-intro . ++)))
;; Create my personal style.
(defconst my-c-style
'((c-tab-always-indent . t)
(c-comment-only-line-offset . 4)
(c-hanging-braces-alist . ((substatement-open after)
(brace-list-open)))
(c-hanging-colons-alist . ((member-init-intro before)
;;(inher-intro)
;;(case-label after)
(label after)
(access-label after)))
(c-cleanup-list . (scope-operator
empty-defun-braces
defun-close-semi))
(c-offsets-alist . ((arglist-close . c-lineup-arglist)
(substatement-open . 0)
(case-label . 4)
(block-open . 0)
(knr-argdecl-intro . -)))
(c-echo-syntactic-information-p . t))
"My C Programming Style")
(c-add-style "PERSONAL" my-c-style)
;; Customizations for all modes in CC Mode.
(defun my-c-mode-common-hook ()
;; set my personal style for the current buffer
(c-set-style "PERSONAL")
;; we like auto-newline, but not hungry-delete
(c-toggle-auto-newline 1))
(add-hook 'c-mode-common-hook 'my-c-mode-common-hook)
;; Définir le style par défaut pour le C:
(add-hook 'c-mode-hook
'(lambda ( )
(c-set-style "personal")
(c-toggle-auto-state)))
;; Définir le style par défaut pour le C++
(add-hook 'c++-mode-hook
'(lambda ( )
(c-set-style "personal")
(c-toggle-auto-state)))
;; This .emacs file illustrates the minimal setup
;; required to run the JDEE.
;; Set the debug option to enable a backtrace when a
;; problem occurs.
(setq debug-on-error t)
;; Update the Emacs load-path to include the path to
;; the JDEE and its require packages. This code assumes
;; that you have installed the packages in the
;; /usr/local/emacs/site-lisp directory. Adjust appropriately.
(add-to-list 'load-path
(expand-file-name "/usr/share/emacs/site-lisp/jde/lisp"))
(add-to-list 'load-path
(expand-file-name "/usr/share/emacs/site-lisp/semantic"))
(add-to-list 'load-path
(expand-file-name "/usr/share/emacs/site-lisp/speedbar"))
(add-to-list 'load-path
(expand-file-name "/usr/share/emacs/site-lisp/eieio"))
(add-to-list 'load-path
(expand-file-name "/usr/share/emacs/site-lisp/elib"))
;; If you want Emacs to defer loading the JDEE 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))
;; Set the basic indentation for Java source files
;; to two spaces.
(add-hook 'jde-mode-hook
'(lambda ( )
(setq c-basic-offset 2)))
;; Include the following only if you want to run
;; bash as your shell.
;; Set up 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.
I have file or directory named "/usr/share/emacs22/site-lisp/lisp" on my
machine. Am I missing something? Where can I get it?
Regards.
--------------------------
Pierre
Looking for the perfect gift? Give the gift of Flickr!
http://www.flickr.com/gift/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
jdee-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jdee-users