.emacs-my
changeset 1036 9b8015c8a847
parent 1035 daf872211946
child 1037 63dd116e3153
equal deleted inserted replaced
1035:daf872211946 1036:9b8015c8a847
  2102 
  2102 
  2103 (when (featurep 'srecode)
  2103 (when (featurep 'srecode)
  2104   (global-srecode-minor-mode 1))
  2104   (global-srecode-minor-mode 1))
  2105 
  2105 
  2106 (when (featurep 'cedet)
  2106 (when (featurep 'cedet)
  2107   (global-ede-mode t)
       
  2108   (global-semantic-idle-scheduler-mode 1)
  2107   (global-semantic-idle-scheduler-mode 1)
  2109   (global-semantic-idle-summary-mode 1)
  2108   (global-semantic-idle-summary-mode 1)
  2110   (global-semantic-idle-completions-mode 1)
  2109   (global-semantic-idle-completions-mode 1)
  2111   (global-semantic-decoration-mode 1)
  2110   (global-semantic-decoration-mode 1)
  2112   (global-semantic-mru-bookmark-mode 1)
  2111   (global-semantic-mru-bookmark-mode 1)
  2125   ;; file local project unloaded system recursive
  2124   ;; file local project unloaded system recursive
  2126   (setq-mode-local c-mode semanticdb-find-default-throttle '(file))
  2125   (setq-mode-local c-mode semanticdb-find-default-throttle '(file))
  2127   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
  2126   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
  2128   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
  2127   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
  2129   (global-semanticdb-minor-mode 1)
  2128   (global-semanticdb-minor-mode 1)
       
  2129 
       
  2130   (global-ede-mode t)
       
  2131 
       
  2132   ;; (require 'semantic/db-javap)
  2130 
  2133 
  2131   ;; (add-to-list 'ede-locate-setup-options 'ede-locate-idutils)
  2134   ;; (add-to-list 'ede-locate-setup-options 'ede-locate-idutils)
  2132   ;; (add-to-list 'ede-locate-setup-options 'ede-locate-global)
  2135   ;; (add-to-list 'ede-locate-setup-options 'ede-locate-global)
  2133 
  2136 
  2134   ;; (ignore-errors (require 'cedet-idutils))
  2137   ;; (ignore-errors (require 'cedet-idutils))