977 (global-semantic-mru-bookmark-mode 1) |
977 (global-semantic-mru-bookmark-mode 1) |
978 ;; (global-semantic-idle-completions-mode -1) |
978 ;; (global-semantic-idle-completions-mode -1) |
979 ;; (global-semantic-stickyfunc-mode 1) |
979 ;; (global-semantic-stickyfunc-mode 1) |
980 ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package)) |
980 ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package)) |
981 |
981 |
|
982 ;; semantic-dependency-system-include-path, semantic-customize-system-include-path |
982 (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive)) |
983 (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive)) |
983 (semantic-add-system-include "~/.emacs.d/include" 'c-mode) |
984 (add-hook 'c-mode-hook (lambda () (semantic-add-system-include "~/.emacs.d/include" 'c-mode))) |
984 (semantic-add-system-include "~/.emacs.d/include" 'c++-mode) |
985 (add-hook 'c++-mode-hook (lambda () (semantic-add-system-include "~/.emacs.d/include" 'c++-mode))) |
985 (global-semanticdb-minor-mode 1) |
986 (global-semanticdb-minor-mode 1) |
986 |
|
987 ;; (semantic-add-system-include "~/include" 'c++-mode) |
|
988 ;; (semantic-add-system-include "~/include" 'c-mode) |
|
989 |
987 |
990 (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump) |
988 (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump) |
991 (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc) |
989 (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc) |
992 (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class) |
990 (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class) |
993 ) |
991 ) |