.emacs-my
changeset 1125 2fab89e9858e
parent 1124 77aed3ad8164
child 1126 ac1679b2a4cb
child 1130 4aea0ddc3607
equal deleted inserted replaced
1124:77aed3ad8164 1125:2fab89e9858e
  2255        (and (= emacs-major-version 23) (>= emacs-minor-version 2))
  2255        (and (= emacs-major-version 23) (>= emacs-minor-version 2))
  2256        (>= emacs-major-version 24) )
  2256        (>= emacs-major-version 24) )
  2257   (require 'cedet))
  2257   (require 'cedet))
  2258 
  2258 
  2259 (when (featurep 'cedet)
  2259 (when (featurep 'cedet)
       
  2260   (require 'semantic)
       
  2261   (semantic-mode 1)
       
  2262 
  2260   (global-semantic-idle-scheduler-mode 1)
  2263   (global-semantic-idle-scheduler-mode 1)
  2261   (global-semantic-idle-summary-mode 1)
  2264   (global-semantic-idle-summary-mode 1)
  2262   (global-semantic-idle-completions-mode 1)
  2265   (global-semantic-idle-completions-mode 1)
  2263   (global-semantic-decoration-mode 1)
  2266   (global-semantic-decoration-mode 1)
  2264   (global-semantic-mru-bookmark-mode 1)
  2267   (global-semantic-mru-bookmark-mode 1)
  2269   (global-semantic-idle-local-symbol-highlight-mode 1)
  2272   (global-semantic-idle-local-symbol-highlight-mode 1)
  2270 
  2273 
  2271   (setq semantic-idle-scheduler-idle-time 1)
  2274   (setq semantic-idle-scheduler-idle-time 1)
  2272   (setq semantic-idle-scheduler-work-idle-time 60)
  2275   (setq semantic-idle-scheduler-work-idle-time 60)
  2273   ;; (setq semantic-idle-work-parse-neighboring-files-flag nil)
  2276   ;; (setq semantic-idle-work-parse-neighboring-files-flag nil)
  2274 
       
  2275   (semantic-mode 1)
       
  2276 
  2277 
  2277   ;; semantic-dependency-system-include-path, semantic-customize-system-include-path
  2278   ;; semantic-dependency-system-include-path, semantic-customize-system-include-path
  2278 
  2279 
  2279   ;; file local project unloaded system recursive
  2280   ;; file local project unloaded system recursive
  2280   (setq-mode-local c-mode semanticdb-find-default-throttle '(file local))
  2281   (setq-mode-local c-mode semanticdb-find-default-throttle '(file local))