971 (>= emacs-minor-version 24)) |
971 (>= emacs-minor-version 24)) |
972 (semantic-mode 1) |
972 (semantic-mode 1) |
973 (global-semantic-idle-summary-mode 1) |
973 (global-semantic-idle-summary-mode 1) |
974 (global-semantic-idle-scheduler-mode 1) |
974 (global-semantic-idle-scheduler-mode 1) |
975 (setq semantic-idle-scheduler-idle-time 1) ; 1 sec. |
975 (setq semantic-idle-scheduler-idle-time 1) ; 1 sec. |
976 (global-semanticdb-minor-mode 1) |
|
977 (global-semantic-decoration-mode 1) |
976 (global-semantic-decoration-mode 1) |
978 (global-semantic-mru-bookmark-mode 1) |
977 (global-semantic-mru-bookmark-mode 1) |
979 ;; (global-semantic-idle-completions-mode -1) |
978 ;; (global-semantic-idle-completions-mode -1) |
980 ;; (global-semantic-stickyfunc-mode 1) |
979 ;; (global-semantic-stickyfunc-mode 1) |
981 ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package)) |
980 ;; (setq semantic-stickyfunc-sticky-classes '(function type variable include package)) |
|
981 |
|
982 (setq-mode-local c-mode semanticdb-find-default-throttle '(project unloaded system recursive)) |
|
983 (semantic-add-system-include "~/.emacs.d/include" 'c-mode) |
|
984 (semantic-add-system-include "~/.emacs.d/include" 'c++-mode) |
|
985 (global-semanticdb-minor-mode 1) |
982 |
986 |
983 ;; (semantic-add-system-include "~/include" 'c++-mode) |
987 ;; (semantic-add-system-include "~/include" 'c++-mode) |
984 ;; (semantic-add-system-include "~/include" 'c-mode) |
988 ;; (semantic-add-system-include "~/include" 'c-mode) |
985 |
989 |
986 (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump) |
990 (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump) |