lotsa changes
[emacs.git] / .emacs.d / config / linws03.cms.fra.dlh.de.org
1 #+STARTUP: align fold nodlcheck hidestars oddeven lognotestate
2 #+TITLE: linws03.cms.fra.dlh.de.org - Ganneffs configuration, host specific file for linws03
3 #+DATE: %Y-%m-%d
4 #+SETUPFILE: ~/.emacs.d/elisp/org-templates/level-0.org
5
6 * Machine specific config
7 ** cedet, jdee
8 Collection of Emacs Development Environment Tools, see [[http://cedet.sourceforge.net/setup.shtml][CEDET]]
9
10 #+BEGIN_SRC emacs-lisp
11 (load-file "~/elisp/cedet/common/cedet.el")
12 ;(global-ede-mode 1) ; Enable the Project management system
13 (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
14 (global-srecode-minor-mode 1) ; Enable template insertion menu
15
16 (setq semantic-default-submodes '(global-semantic-idle-scheduler-mode
17 global-semanticdb-minor-mode
18 global-semantic-idle-summary-mode
19 global-semantic-decoration-mode
20 global-semantic-highlight-func-mode
21 global-semantic-stickyfunc-mode
22 global-semantic-idle-tag-highlight-mode
23 global-semantic-mru-bookmark-mode))
24 (setq semantic-load-turn-everything-on t)
25 ;; ;(semantic-mode 1)
26 (require 'semantic-load)
27 (require 'senator)
28 (require 'semantic-sb)
29 (require 'semantic-ia)
30 (require 'semantic-wisent)
31 ;(require 'semantic/wisent/java-tags)
32
33 (add-hook 'semantic-init-hooks 'senator-minor-mode)
34
35 ;; Use the full Java 1.5 grammer to parse Java
36 (autoload 'wisent-java-default-setup "wisent" "Hook run to setup Semantic in 'java-mode'." nil nil)
37
38 (setq jde-auto-parse-enable nil)
39 (setq jde-enable-senator nil)
40 (load "jde-autoload")
41
42 (setq defer-loading-jde t)
43
44 (setq jde-check-version-flag nil)
45 (define-obsolete-function-alias 'make-local-hook 'ignore "21.1")
46 (unless (fboundp 'semantic-format-prototype-tag-java-mode)
47 (defalias 'semantic-format-prototype-tag-java-mode 'semantic-format-tag-prototype-java-mode))
48 (autoload 'jde-mode "jde" "JDE mode." t)
49 (setq auto-mode-alist
50 (append '(("\\.java\\'" . jde-mode)) auto-mode-alist))
51 (setq jde-jdk `("1.6"))
52
53 ;; Location of you emacs directory
54 (setq my-emacs-dir (concat (getenv "HOME") "/.emacs.d/tmp/emacs-jde"))
55
56 ;; save all the semantic.cache files to one place
57 (when (locate-library "semantic")
58 (let ((semcach (concat my-emacs-dir "/semantic-cache")))
59 (unless (file-directory-p semcach)
60 (make-directory semcach))
61 (setq semanticdb-default-save-directory semcach)))
62 #+END_SRC
63
64 ** ecb
65 Emacs Code Browser, see [[http://ecb.sourceforge.net/][ECB - Emacs Code Browser]]
66 #+BEGIN_SRC emacs-lisp
67 (load-file "~/elisp/ecb/ecb.el")
68 (require 'ecb-autoloads)
69 #+END_SRC
70
71
72 * Footnotes
73