From 4b49f1eb2eb1e7a7d273a7d4cd4792d538bc2254 Mon Sep 17 00:00:00 2001 From: Ravi R Kiran Date: Tue, 31 Dec 2013 17:27:11 -0800 Subject: Make python interpreter plot and prevent interference with tab completion diff --git a/ravi-init-python.el b/ravi-init-python.el index e9d125c..2077266 100644 --- a/ravi-init-python.el +++ b/ravi-init-python.el @@ -33,7 +33,7 @@ (defun ravi/python-mode-hook() ;; Set ipython as our interpreter (setq python-shell-interpreter "ipython" - python-shell-interpreter-args "" + python-shell-interpreter-args "--pylab" python-shell-prompt-regexp "In \\[[0-9]+\\]: " python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: " python-shell-completion-setup-code @@ -55,6 +55,8 @@ (setq python-indent-offset 4) ) + (add-to-list 'smart-tab-disabled-major-modes 'inferior-python-mode) + (use-package virtualenvwrapper :config (progn -- cgit v0.10.1