                                     company-dabbrev
                                     company-files)))))
   (add-hook 'c-mode-hook 'flycheck-mode)
-  (add-hook 'c-mode-hook 'semantic-mode)
-  (add-hook 'c-mode-hook 'global-ede-mode)
+  ;; (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)

  ("\\.h$" . c-mode)
  :bind
  (:map c-mode-map
        ("C-c ."      . semantic-ia-fast-jump)
        ("C-c ?"      . semantic-ia-show-doc)
        ("C-c ^"      . senator-go-to-up-reference)
        ("C-c r e"    . emr-show-refactor-menu)
        ("C-c r s"    . srefactor-refactor-at-point)
        (";"          . maio/electric-semicolon))

                            (set (make-local-variable 'company-backends)
                                 '((company-irony
                                    company-irony-c-headers
                                    ;; company-semantic
                                    company-c-headers
                                    company-yasnippet
                                    :with
