From 3eb102f71f9c8209005962f5aba85855ed3abba2 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Wed, 17 Aug 2016 14:10:41 -0700 Subject: [PATCH] Only load company-jedi (instead of jedi) The full jedi package runs jedi:ac which requires auto complete and is pretty annoying. --- dotfiles/emacs.d/README.org | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/dotfiles/emacs.d/README.org b/dotfiles/emacs.d/README.org index 8de2e690..9ce83e46 100644 --- a/dotfiles/emacs.d/README.org +++ b/dotfiles/emacs.d/README.org @@ -2076,6 +2076,7 @@ I don't use auto-complete at all, so I have set up a hook to automatically disab :preface (progn (defun imalison:auto-complete-hook () + (debug) (warn "auto-complete-mode was activated, but is being automatically disabled.") (let ((auto-complete-mode-hook nil)) (auto-complete-mode -1)))) @@ -2355,17 +2356,15 @@ modeline and with excessive http requests to github. :init (progn (unbind-key "C-j" python-mode-map) - (use-package jedi - :commands (jedi:goto-definition jedi-mode) + (use-package company-jedi + :commands (jedi:goto-definition jedi-mode company-jedi) :config (progn (setq jedi:complete-on-dot t) (setq jedi:imenu-create-index-function 'jedi:create-flat-imenu-index) - (use-package company-jedi - :commands company-jedi)) :bind (:map python-mode-map ("M-." . jedi:goto-definition) - ("M-," . jedi:goto-definition-pop-marker))) + ("M-," . jedi:goto-definition-pop-marker)))) (use-package pymacs) (use-package sphinx-doc) (defun imalison:python-mode ()