 (setq TeX-PDF-mode t)
 (require 'auto-complete-auctex)
 
-;;; CEDET
-;(require 'cedet)
-;(global-ede-mode 1)
-;(semantic-mode 1)
-;(global-semantic-idle-completions-mode t)
-;(global-semantic-decoration-mode nil)
-;(semantic-load-enable-minimum-features)
-;(semantic-load-enable-code-helpers)
-
 ;;; ssh config
 (autoload 'ssh-config-mode "ssh-config-mode" t)
 (add-to-list 'auto-mode-alist '(".ssh/config\\'"  . ssh-config-mode))

(require 'auto-complete)
(require 'auto-complete-config)
(ac-config-default)
(defun my:ac-c-headers()
  (require 'auto-complete-c-headers)
  (add-to-list 'ac-sources 'ac-source-c-headers)
  (add-to-list 'achead:include-directories '"")
)

(add-hook 'c++-mode-hook 'my:ac-c-headers)
(add-hook 'c-mode-hook 'my:ac-c-headers)

;; (add-to-list 'ac-dictionary-directories "~/.emacs.d/ac-dict/")
;; (setq ac-sources '(ac-source-filename

;;(require 'vc-git)
;;(require 'magit)

;;; ESS
(require 'ess-site)


;(setq width (max width (+ (length str) 1)))

(custom-set-variables
