rendered paste body(add-to-list 'load-path "~/cedet")
(setq semantic-load-turn-everything-on t)
(load-file "~/emacs/cedet/common/cedet.el")
(semantic-load-enable-guady-code-helpers)
;; smart complitions
(require 'semantic-ia)
;; customisation of cc-mode
(defun my-cedet-c-mode-hook ()
(local-set-key "\C-c/" 'semantic-ia-complete-symbol)
(local-set-key "\C-c>" 'semantic-complete-analyze-inline)
)
(add-hook 'c-mode-common-hook 'my-cedet-c-mode-hook)
(setq-default semanticdb-default-save-directory "~/tmp/semantic")
(semantic-add-system-include "/usr/include" 'c++-mode)
(semantic-add-system-include "/usr/include" 'c-mode)
(semantic-add-system-include "/usr/include/c++/4.1/" 'c++-mode)
(setq-mode-local c++-mode
semanticdb-find-default-throttle
'(project unloaded system recursive))