.emacs-my
changeset 466 71d60f805984
parent 465 0a9cbfab10f4
child 467 e08ed1434053
equal deleted inserted replaced
465:0a9cbfab10f4 466:71d60f805984
  1009   (global-semantic-mru-bookmark-mode 1)
  1009   (global-semantic-mru-bookmark-mode 1)
  1010   ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package))
  1010   ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package))
  1011   (global-semantic-stickyfunc-mode -1)
  1011   (global-semantic-stickyfunc-mode -1)
  1012   (global-semantic-idle-completions-mode -1)
  1012   (global-semantic-idle-completions-mode -1)
  1013 
  1013 
       
  1014   (setq semantic-idle-scheduler-work-idle-time 60)
       
  1015   ;; (setq semantic-idle-work-parse-neighboring-files-flag nil)
       
  1016 
  1014   ;; semantic-dependency-system-include-path, semantic-customize-system-include-path
  1017   ;; semantic-dependency-system-include-path, semantic-customize-system-include-path
  1015   (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive))
  1018   (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive))
  1016   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
  1019   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
  1017   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
  1020   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
       
  1021   (require 'semanticdb)
  1018   (global-semanticdb-minor-mode 1)
  1022   (global-semanticdb-minor-mode 1)
  1019 
  1023 
  1020   (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump)
  1024   (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump)
  1021   (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc)
  1025   (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc)
  1022   (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class)
  1026   (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class)