 (setq eclim-eclipse-dirs '"~/eclipse")
 (setq eclim-executable '"~/eclipse/eclim")
 (require 'company-emacs-eclim)
+(setq help-at-pt-display-when-idle t)
+(setq help-at-pt-timer-delay 0.1)
+(help-at-pt-set-timer)
+
+;;; company
+(require 'company)
+(require 'company-emacs-eclim)
+;(company-emacs-eclim-setup)
+( 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)
+ 			    )
+ 		 )
+(global-company-mode t)
 
 ;;; Java
-;;;(require 'company-emacs-eclim)
+(require 'company-emacs-eclim)
 (add-hook 'java-mode-hook (lambda()
-			    (eclim-mode t)
-			    ))
+ 			    (eclim-mode)
+ 			    ))
 ;;; irony
 (add-hook 'irony-mode-hook 'company-irony-setup-begin-commands)
 ;;;(add-hook 'irony-mode-hook #'irony-eldoc-mode)

;;; 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)

