 (setq ido-use-faces nil)
 
 ;; window rotations
-(load-file "~/.emacs.d/transpose-frame.elc")
+(load-file "~/.emacs.d/transpose-frame.el")
 
 (setq x-select-enable-clipboard t)
 

;; Start CEDET early, so nothing else bootstraps it
(load-file "~/.emacs.d/minimial-cedet-config.el")

(server-start)


  `("melpa" . "http://melpa.milkbox.net/packages/") t)
(package-initialize)

;; autocomplete
;;(add-to-list 'load-path (concat myoptdir "AC"))
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "AC/ac-dict")

(require 'auto-complete-clang)

(setq ac-auto-start nil)
(setq ac-quick-help-delay 0.5)
;; (ac-set-trigger-key "TAB")
;; (define-key ac-mode-map  [(control tab)] 'auto-complete)
(global-set-key (kbd "<s-tab>") 'auto-complete)
(defun my-ac-config ()
  (setq-default ac-sources '(ac-source-abbrev ac-source-dictionary ac-source-words-in-same-mode-buffers))
  (add-hook 'emacs-lisp-mode-hook 'ac-emacs-lisp-mode-setup)
  ;; (add-hook 'c-mode-common-hook 'ac-cc-mode-setup)
  (add-hook 'ruby-mode-hook 'ac-ruby-mode-setup)
  (add-hook 'css-mode-hook 'ac-css-mode-setup)
  (add-hook 'auto-complete-mode-hook 'ac-common-setup)
  (global-auto-complete-mode t))
(defun my-ac-cc-mode-setup ()
  (setq ac-sources (append '(ac-source-clang ac-source-yasnippet) ac-sources)))
(add-hook 'c-mode-common-hook 'my-ac-cc-mode-setup)
;; ac-source-gtags
(my-ac-config)

;; Retreated from icicles
(require 'ido)
