UNIX/学生ツール/elisp/JDEE


Table of Contents
;; JDE path
(setq load-path
     (append
      (list
       (expand-file-name "~/.emacs.d/site-lisp/jde/lisp")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/common")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/speedbar")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/eieio")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/ede")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/cogre")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/semantic")
       (expand-file-name "~/.emacs.d/site-lisp/cedet/conrib")
       )
      load-path) )
;; 
(add-to-list 'load-path "~/.emacs.d/site-lisp/elib")
(setq semantic-load-turn-useful-things-on t)
(load "cedet")
;; open jde-mode automatically for java source
(autoload 'jde-mode "jde" "Java Development Environment for Emacs." t)
(setq auto-mode-alist (cons '("\.java$" . jde-mode) auto-mode-alist))
(setq compilation-window-height 10)
;; java document setting
(custom-set-variables
 '(jde-help-docsets (quote (("JDK API" "http://java.sun.com/j2se/1.4/ja/docs/ja/api/" nil))))
 '(jde-jdk-doc-url "http://java.sun.com/j2se/1.4/ja/docs/ja/api/"))
(custom-set-faces)
setenv CLASSPATH .:/home/student/s1090149/.emacs.d/site-lisp/jde/java/lib/bsh.jar:/home/student/s1090149/.emacs.d/site-lisp/jde/java/lib/jde.jar
setenv JAVA_HOME /usr/local/java/j2sdk1.4.2

try[space]
 try {

   } catch ( e) {

   }

xrea