Advertisement
Guest User

cedet config

a guest
Mar 25th, 2013
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lisp 1.37 KB | None | 0 0
  1. (load-file "~/.emacs.d/elisp/cedet/cedet-bzr-rev_8508/cedet-devel-load.el")
  2.  
  3. (add-to-list 'load-path "~/.emacs.d/elisp/auto-complete/")
  4. (require 'auto-complete-config)
  5. (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict")
  6. (ac-config-default)
  7.  
  8. (setq ac-use-menu-map t)
  9. ;; Default settings
  10. (define-key ac-menu-map "\C-n" 'ac-next)
  11. (define-key ac-menu-map "\C-p" 'ac-previous)
  12.  
  13.  
  14. (semantic-mode 1)
  15. (require 'semantic/ia)
  16. (require 'semantic/bovine/gcc)
  17.  
  18. (global-ede-mode t)                      ; Enable the Project management system
  19.  
  20. (add-to-list 'semantic-lex-c-preprocessor-symbol-file
  21.              "/opt/acw-p1e1/thirdparty/include/boost/config.hpp")
  22.  
  23. (ede-cpp-root-project "TEST"
  24.                       :name "Test project"
  25.                       :file "~/sandbox/cedet/Test/wscript"
  26.                       :include-path '("/src")
  27.                       :system-include-path '("/opt/acw-p1e1/hdb/include"
  28.                                              "/opt/acw-p1e1/thirdparty/include"
  29.                                              "/usr/include"
  30.                                              ))
  31.  
  32. (semantic-load-enable-code-helpers)      ; Enable prototype help and smart completion
  33. (global-srecode-minor-mode 1)            ; Enable template insertion menu
  34.  
  35. (defun joe-cedet-hook ()
  36.   (setq ac-sources '(ac-source-semantic))
  37.   )
  38.  
  39. (provide 'joe-cedet-config)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement