 (require 'jedi)
 (setq jedi:environment-virtualenv
       (list "virtualenv-3.3" "--system-site-packages"))
+(defun jedi:start-dedicated-server2 ()
+  (interactive)
+  (let* ((cmds '("~/.emacs.d/.python-environments/python2.7/bin/jediepcserver"))
+        (args '("--sys-path" "/usr/lib/python2.7/dist-packages")))
+    (when cmds (set (make-local-variable 'jedi:server-command) cmds))
+    (when args (set (make-local-variable 'jedi:server-args) args))
+    (setq jedi:epc nil)
+    (jedi:start-server)))
 (setq jedi:key-complete (kbd "<M-tab>"))
 (setq jedi:key-goto-definition (kbd "C-c ."))
 (setq jedi:key-show-doc (kbd "C-c d"))

(require 'java-mode-indent-annotations)
(add-hook 'java-mode-hook '(lambda ()
                             (java-mode-indent-annotations-setup)))
;;;;;;;;
;; js2-mode
;; It will refuse to run unless you have byte-compiled it. 

(add-to-list 'load-path (expand-file-name "~/repo/js2-mode.git"))
(autoload 'js2-mode "js2-mode" nil t)
(add-to-list 'auto-mode-alist '("\\.js$" . js2-mode))
(setq jshint-cli "jshint ")
(add-to-list 'compilation-error-regexp-alist-alist
             '(jshint-cli "^\\(.*\\): line \\([[:digit:]]+\\), col \\([[:digit:]]+\\)" 1 2 3 ))
(add-to-list 'compilation-error-regexp-alist
             'jshint-cli)
(add-hook 'js2-mode-hook
     (lambda () 
       (make-local-variable 'compile-command)
       (setq compile-command (concat jshint-cli buffer-file-name))
       (flymake-mode 1)))


;;;;;;;;
;; my-utf-8-eaw-fullwidth.el
