1 #+STARTUP: align fold nodlcheck hidestars oddeven lognotestate
2 #+TITLE: linws03.cms.fra.dlh.de.org - Ganneffs configuration, host specific file for linws03
4 #+SETUPFILE: ~/.emacs.d/elisp/org-templates/level-0.org
6 * Machine specific config
8 Collection of Emacs Development Environment Tools, see [[http://cedet.sourceforge.net/setup.shtml][CEDET]]
10 #+BEGIN_SRC emacs-lisp-off :tangle no
11 ;(load-file "~/.emacs.d/elisp/cedet/common/cedet.el")
12 (add-to-list 'load-path "~/.emacs.d/elisp/cedet/common/")
14 ;(global-ede-mode 1) ; Enable the Project management system
16 (require 'semantic-load)
18 (require 'semantic-sb)
19 (require 'semantic-ia)
20 (require 'semantic-wisent)
21 ;(require 'semantic/wisent/java-tags)
23 (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion
24 (global-srecode-minor-mode 1) ; Enable template insertion menu
26 (setq semantic-default-submodes '(global-semantic-idle-scheduler-mode
27 global-semanticdb-minor-mode
28 global-semantic-idle-summary-mode
29 global-semantic-decoration-mode
30 global-semantic-highlight-func-mode
31 global-semantic-stickyfunc-mode
32 global-semantic-idle-tag-highlight-mode
33 global-semantic-mru-bookmark-mode))
34 (setq semantic-load-turn-everything-on t)
37 (add-hook 'semantic-init-hooks 'senator-minor-mode)
39 ;; Use the full Java 1.5 grammer to parse Java
40 (autoload 'wisent-java-default-setup "wisent" "Hook run to setup Semantic in 'java-mode'." nil nil)
42 (setq jde-auto-parse-enable nil)
43 (setq jde-enable-senator nil)
46 (setq defer-loading-jde t)
48 (setq jde-check-version-flag nil)
49 (define-obsolete-function-alias 'make-local-hook 'ignore "21.1")
50 (unless (fboundp 'semantic-format-prototype-tag-java-mode)
51 (defalias 'semantic-format-prototype-tag-java-mode 'semantic-format-tag-prototype-java-mode))
52 (autoload 'jde-mode "jde" "JDE mode." t)
54 (append '(("\\.java\\'" . jde-mode)) auto-mode-alist))
55 (setq jde-jdk `("1.6"))
57 ;; Location of you emacs directory
58 (setq my-emacs-dir (concat (getenv "HOME") "/.emacs.d/tmp/emacs-jde"))
60 ;; save all the semantic.cache files to one place
61 (when (locate-library "semantic")
62 (let ((semcach (concat my-emacs-dir "/semantic-cache")))
63 (unless (file-directory-p semcach)
64 (make-directory semcach))
65 (setq semanticdb-default-save-directory semcach)))
69 I want some extra templates for org-capture, which I don't need to
70 see at home. (Or want different there).
71 #+BEGIN_SRC emacs-lisp :tangle yes
72 (nconc org-capture-templates
74 ("f" "Firewall request" entry (file+headline "~/org/nsb/dlh.org" "Firewall")
75 "* TODO Firewall Request, RT: %?\nAdded: %U\n"
76 :clock-in t :clock-resume t)
77 ("i" "Ticket" entry (file+headline "~/org/nsb/dlh.org" "RT Ticket")
78 "* TODO RT: %a\nAdded: %U\n\n%?\n"
79 :clock-in t :clock-resume t :jump-to-captured t)
80 ("m" "Meeting" entry (file+headline "~/org/nsb/dlh.org" "Meetings")
81 "* TODO %?\nSCHEDULED: %^{Please specify meeting date/time}t\nAdded: %U\n"
82 :clock-in t :clock-resume t :jump-to-captured t)
83 ("a" "HW Migration related" entry (file "~/org/nsb/dlh_hw.org")
84 "* TODO %?\nAdded: %U\n\n \n"
85 :clock-in t :clock-resume t :jump-to-captured t :prepend t)
86 ("u" "Puppet Todo" entry (file "~/git/puppet/TODO.org")
87 "* %?\nAdded: %U\n\n \n")
92 Emacs Code Browser, see [[http://ecb.sourceforge.net/][ECB - Emacs Code Browser]]
93 #+BEGIN_SRC emacs-lisp :tangle no
94 (load-file "~/.emacs.d/elisp/ecb/ecb.el")
95 (require 'ecb-autoloads)