.emacs-my
changeset 451 cf6fe4141a9d
parent 449 068ea808901d
parent 450 53773da85b43
child 452 b9760779b51f
equal deleted inserted replaced
449:068ea808901d 451:cf6fe4141a9d
   967   (global-semantic-mru-bookmark-mode 1)
   967   (global-semantic-mru-bookmark-mode 1)
   968   ;; (global-semantic-idle-completions-mode -1)
   968   ;; (global-semantic-idle-completions-mode -1)
   969   ;; (global-semantic-stickyfunc-mode 1)
   969   ;; (global-semantic-stickyfunc-mode 1)
   970   ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package))
   970   ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package))
   971 
   971 
       
   972   ;; semantic-dependency-system-include-path, semantic-customize-system-include-path
   972   (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive))
   973   (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive))
   973   ;; semantic-dependency-system-include-path
       
   974   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
   974   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c-mode)))
   975   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
   975   (add-hook 'c-mode-hook (lambda nil (semantic-add-system-include "~/.emacs.d/include" 'c++-mode)))
   976   (global-semanticdb-minor-mode 1)
   976   (global-semanticdb-minor-mode 1)
   977 
       
   978   ;; (semantic-add-system-include "~/include" 'c++-mode)
       
   979   ;; (semantic-add-system-include "~/include" 'c-mode)
       
   980 
   977 
   981   (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump)
   978   (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump)
   982   (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc)
   979   (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc)
   983   (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class)
   980   (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class)
   984   )
   981   )