 ;;;;;;;;;;;;;;;;;;
 
 (require 'package)
+
 (add-to-list 'package-archives 
     '("marmalade" . "http://marmalade-repo.org/packages/"))
 (add-to-list 'package-archives 
     '("MELPA" . "http://melpa.milkbox.net/packages/"))
+;; for elpy
+(add-to-list 'package-archives
+             '("elpy" . "http://jorgenschaefer.github.io/packages/"))
+
 (package-initialize)
 
 ;;; packages I use:

;;; ac-slime
;;;;;;;;;;;;

(require 'ac-slime)
(defun my-set-up-slime-ac ()
  ;; enable fuzzy completion (t)
  (set-up-slime-ac t)
  ;;(set-up-slime-ac)
  (delete 'ac-source-words-in-same-mode-buffers ac-sources))

;;(add-hook 'slime-mode-hook 'set-up-slime-ac)

;;;; python ;;;;
;;;;;;;;;;;;;;;;

(elpy-enable)

;;;;;;;;;;;;;;;
;;;; latex ;;;;
;;;;;;;;;;;;;;;

(defun my-ac-auctex-startup ()
  (auto-complete-mode t)
  (require 'auto-complete-auctex))
(add-hook 'LaTeX-mode-hook 'my-ac-auctex-startup)

;;;;;;;;;;;;;;;;;;;
;;;; variables ;;;;
