       kept-old-versions 5    ; and how many of the old
       )
 
+;; http://stackoverflow.com/questions/8246483/emacs-how-to-disable-files-creation
+(setq auto-save-file-name-transforms
+    `((".*" ,temporary-file-directory t)))
+
+
 ;; http://www.emacswiki.org/emacs/DeletingWhitespace
 (add-hook 'before-save-hook 'delete-trailing-whitespace)
 

(add-hook 'prog-mode-hook 'rainbow-delimiters-mode)

;; default indent
(setq-default indent-tabs-mode t)
(setq-default tab-width 4)
(setq tab-stop-list (number-sequence 4 200 4))
(setq indent-line-function 'insert-tab)
(setq lisp-body-indent 2)

(add-hook 'lisp-mode-hook
  (lambda ()
    (set (make-local-variable 'lisp-indent-function)
         'common-lisp-indent-function)))

;; emacs lisp
;; http://www.emacswiki.org/emacs/EmacsLispMode

    ;; This gives you a tab of 2 spaces
    (setq coffee-tab-width 2)))


;; vcs
(setq
  ;; don't show annoing startup msg
  inhibit-startup-message t
  ;; NO annoing backups
  make-backup-files nil
  ;; make sure file ends with NEWLINE
  require-final-newline t
  ;; follow symlinks and don't ask
  vc-follow-symlinks t
  ;; display time in the modeline
  display-time-24hr-format t
  display-time-day-and-date t)


;; jedi - python ide
(add-hook 'python-mode-hook 'jedi:setup)
(setq jedi:setup-keys t)                      ; optional
(setq jedi:complete-on-dot t)                 ; optional
