 ; deleting files should go to recycle bin
 (setq delete-by-moving-to-trash t)
 
-; dabbrev-expand should match case
-(setq dabbrev-case-fold-search nil)
-
-; auto-completion with neat popup
-; using dabbrev as auto-completion source
-(add-to-list 'load-path "~/.emacs.d/user-lisp/auto-complete")
-(require 'ac-dabbrev)
-(setq ac-sources
-      (list ac-source-dabbrev))
-
-(require 'auto-complete-config)
-(add-to-list 'ac-dictionary-directories "~/.emacs.d/user-lisp/auto-complete/dict")
-(ac-config-default)
-
-; don't try to complete after semicolon (is a pain in CSS)
-(setq ac-ignores '(";"))
-; tab only for completion
-(define-key ac-complete-mode-map "\r" nil)
-
-(define-key ac-complete-mode-map (kbd "C-n") 'ac-next)
-
-
 ; something in the above has switched on debugging. Switch it off.
 ; TODO: find offending code
 (setq debug-on-error nil)
; Loading third party code
; ------------------------
; we will store all our 3rd party modes here
(add-to-list 'load-path "~/.emacs.d/user-lisp/")
; some plugins (at least w3) install themselves here:
(add-to-list 'load-path "/usr/share/emacs/site-lisp")

; Interface
; ---------
; hide toolbar and scrollbar
(tool-bar-mode 0)
(scroll-bar-mode 0)

; automatically finish quotes, brackets etc according to mode
(require 'autopair)
(autopair-global-mode)
;
; dabbrev-expand should match case
(setq dabbrev-case-fold-search nil)
;
; auto-completion with neat popup
; using dabbrev as auto-completion source
(add-to-list 'load-path "~/.emacs.d/user-lisp/auto-complete")
(require 'ac-dabbrev)
(setq ac-sources
      (list ac-source-dabbrev))
;
(require 'auto-complete-config)
(add-to-list 'ac-dictionary-directories "~/.emacs.d/user-lisp/auto-complete/dict")
(ac-config-default)
;
; don't try to complete after semicolon (is a pain in CSS)
(setq ac-ignores '(";"))
; tab only for completion
(define-key ac-complete-mode-map "\r" nil)
(define-key ac-complete-mode-map (kbd "C-n") 'ac-next)
;
; always spaces, never tabs
(setq-default indent-tabs-mode nil)
;
; Text formatting
; ---------------
;
; csv mode stuff, since it's used extensively in GBBO
(require 'csv-mode)
; yaml mode stuff, since google app engine uses it
