# HG changeset patch # User Oleksandr Gavenko # Date 1384265642 -7200 # Node ID d79cf68c97e289c197b25091148ec8e3f7c1d4d9 # Parent 19e47232208555c091a64318af7ccc8705f9a2e4 Enable 'semantic/ia'. diff -r 19e472322085 -r d79cf68c97e2 .emacs-my --- a/.emacs-my Fri Oct 25 18:38:53 2013 +0300 +++ b/.emacs-my Tue Nov 12 16:14:02 2013 +0200 @@ -2223,10 +2223,15 @@ (local-set-key "." 'semantic-complete-self-insert) (local-set-key ">" 'semantic-complete-self-insert)) (add-hook 'c-mode-common-hook 'my-c-mode-cedet-hook) - - ;; (global-set-key (kbd "C-c , .") 'semantic-ia-fast-jump) - ;; (global-set-key (kbd "C-c , d") 'semantic-ia-show-doc) - ;; (global-set-key (kbd "C-c , D") 'semantic-ia-describe-class) + ) + +(ignore-errors (require 'semantic/ia)) +(when (featurep 'semantic/ia) + (define-key semantic-mode-map (kbd "C-c , .") 'semantic-ia-fast-jump) + (define-key semantic-mode-map (kbd "C-c , d") 'semantic-ia-show-doc) + (define-key semantic-mode-map (kbd "C-c , D") 'semantic-ia-show-summary) + (define-key semantic-mode-map (kbd "C-c , ?") 'semantic-ia-complete-symbol-menu) + ;; (define-key semantic-mode-map (kbd "C-c , C") 'semantic-ia-describe-class) ;; (global-set-key (kbd "C-c , c") 'semantic-ia-complete-symbol-menu) )