                                     company-dabbrev
                                     company-files)))))
   (add-hook 'c-mode-hook 'flycheck-mode)
-  ;; (add-hook 'c-mode-hook 'ede-enable-generic-projects)
+  (add-hook 'c-mode-hook 'semantic-mode)
+  (add-hook 'c-mode-hook 'global-ede-mode)
+  ;; (add-hook 'c-mode-hook 'global-srecode-minor-mode)
   (add-hook 'c-mode-hook 'irony-mode)
   (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
   (add-hook 'irony-mode-hook 'flycheck-irony-setup)

  (require 'semantic/bovine)
  (require 'semantic/bovine/c)
  (require 'semantic/bovine/gcc)
  (setq company-backends (remove 'company-clang company-backends)
        c-default-style "linux"
        speedbar-show-unknow-files t

  :bind
  (:map c-mode-map
        ("C-c ."      . semantic-ia-fast-jump)
        ("C-c ?"      . semantic-ia-show-doc)
        ("C-c ^"      . senator-go-to-up-reference)
        ("s-<return>" . srefactor-refactor-at-point)
        ("C-c C-r e"  . emr-show-refactor-menu)
