 (show-paren-mode t)
 
 ;; yiasnipet
-;(require 'yiasnipet)
+;(require 'yasnipet)
 (yas-global-mode t)
 
 ;;; python
 (add-hook 'python-mode-hook (lambda()
-			      (show-paren-mode t)
-			      (anaconda-mode 1)
-			      (eldoc-mode 1)
-			      ))
+ 			      (show-paren-mode t)
+ 			      (anaconda-mode 1)
+ 			      (eldoc-mode 1)
+ 			      ))
 
 ;;; ORG-mode
 (require 'ox-beamer) ;; for exporting to beamer
 (add-hook 'org-mode-hook (lambda ()
-			   (flyspell-mode 1)
-			   (setq org-log-done t)
-			   ;;;(org-babel-do-load-languages 'org-babel-load-languages '((elasticsearch . t) (python . t) (sparql . t))))
-			   (org-babel-do-load-languages 'org-babel-load-languages '((python . t) (sparql . t))))
-	  )
+ 			   (flyspell-mode 1)
+ 			   (setq org-log-done t)
+ 			   ;;;(org-babel-do-load-languages 'org-babel-load-languages '((elasticsearch . t) (python . t) (sparql . t))))
+ 			   (org-babel-do-load-languages 'org-babel-load-languages '((python . t) (sparql . t))))
+ 	  )
 
 ;;; C/C++
 (defun my-c++-mode-hook()

;;; flycheck-mode
(eval-after-load 'flycheck
  '(custom-set-variables
   '(flycheck-display-errors-function #'flycheck-pos-tip-error-messages)))

;;; company
(require 'company)
(require 'company-emacs-eclim)
(eval-after-load 'company (lambda()
			    (add-to-list 'company-backends 'company-irony)
			    (add-to-list 'company-backends 'company-anaconda)
			    (add-to-list 'company-backends 'company-eclim)
			    ;(company-emacs-eclim-setup)
			    )
		 )
;;;(global-company-mode t)

;;; eclim
(require 'eclim)

(setq TeX-parse-self t)
(setq-default TeX-master nil)

(setq reftex-plug-into-AUCTeX nil)
(add-hook 'LaTeX-mode-hook (lambda()
 			     (set-fill-column 120)
 			     (reftex-mode t)
 			     (flyspell-mode t)
 			     ))
;(add-hook 'LaTeX-mode-hook 'turn-on-reftex)
;;(add-hook 'latex-mode-hook 'turn-on-reftex)

