2 # Show Emacs configuration instructions.
3 # $Id: jdee.install,v 99d30c485449 2008/06/23 05:38:36 jbromley $
6 echo "==> You may need to update your .emacs file. The following shows"
7 echo "==> the minimal configuration needed. Note that it shows what is"
8 echo "==> needed to configure JDEE's dependencies elib and cedet."
10 echo "==> ;; This .emacs file illustrates the minimal setup"
11 echo "==> ;; required to run the JDE."
13 echo "==> ;; Update the Emacs load-path to include the path to"
14 echo "==> ;; the JDE and its require packages. This code assumes"
15 echo "==> ;; that you have installed the packages in the emacs/site"
16 echo "==> ;; subdirectory of your home directory."
17 echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/jde/lisp\"))"
18 echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/cedet/common\"))"
19 echo "==> (add-to-list 'load-path (expand-file-name \"~/emacs/site/elib\"))"
21 echo "==> ;; Initialize CEDET."
22 echo "==> (load-file (expand-file-name \"~/emacs/site/cedet/common/cedet.el\"))"
25 echo "==> ;; If you want Emacs to defer loading the JDE until you open a"
26 echo "==> ;; Java file, edit the following line"
27 echo "==> (setq defer-loading-jde nil)"
28 echo "==> ;; to read:"
30 echo "==> ;; (setq defer-loading-jde t)"
33 echo "==> (if defer-loading-jde"
35 echo "==> (autoload 'jde-mode \"jde\" \"JDE mode.\" t)"
36 echo "==> (setq auto-mode-alist"
38 echo "==> '((\"\\\\.java\\\\'\" . jde-mode))"
39 echo "==> auto-mode-alist)))"
40 echo "==> (require 'jde))"