 (global-set-key (kbd "<f6>")
                 'cycle-ispell-languages)
 
-(add-hook 'text-mode-hook 'flyspell-mode)
+;; (add-hook 'text-mode-hook 'flyspell-mode)
 
 ;; --- development -------------------------------------------------------------
 (global-set-key (kbd "<f7>") 'compile)

(ac-config-default)

;; --- cedet configuration -----------------------------------------------------
(load-file "~/.emacs.d/cedet-bzr/cedet-devel-load.el")
(add-to-list 'semantic-default-submodes 'global-semanticdb-minor-mode t)
(add-to-list 'semantic-default-submodes 'global-semantic-idle-scheduler-mode t)
;; (add-to-list 'semantic-default-submodes 'global-semantic-idle-completions-mode t)
(add-to-list 'semantic-default-submodes 'global-cedet-m3-minor-mode t)
(add-to-list 'semantic-default-submodes 'global-semantic-idle-local-symbol-highlight-mode)
(add-to-list 'semantic-default-submodes 'global-semantic-show-parser-state-mode)
(semantic-mode 1)
(global-ede-mode 1)
(require 'semantic/ia)
(require 'semantic/bovine/gcc)
(require 'semantic/db-javap)
(require 'eassist)

; kdb config
(defun my-cedet-kbd-hook ()

                                       'font-lock-keyword-face)))))

(electric-pair-mode t)
(global-set-key (kbd "C-j")
                'newline-and-indent)

(when (fboundp 'windmove-default-keybindings)
    (windmove-default-keybindings))
