GNU bug report logs - #17542
python.el and ipython

Previous Next

Package: emacs;

Reported by: Federico Beffa <beffa <at> ieee.org>

Date: Wed, 21 May 2014 14:59:02 UTC

Severity: normal

Done: Glenn Morris <rgm <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Federico Beffa <beffa <at> ieee.org>
Cc: 17542 <at> debbugs.gnu.org
Subject: bug#17542: python.el and ipython
Date: Thu, 22 May 2014 21:00:08 -0400
> I'm trying to set up the python-mode (python.el) to use ipython as the
> interactive shell. I've added the folloging lines in my .emacs file:

> (require 'python)
> (setq
>  python-shell-interpreter "C:/Python27/python.exe"
>  python-shell-interpreter-args
>    "-i C:/Python27/Scripts/ipython-script.py console --matplotlib=tk"
>  ;; python-shell-interpreter-args
>  ;;   "-i C:/Python27/Scripts/ipython-script.py console --matplotlib=qt"
>  python-shell-prompt-regexp "In \\[[0-9]+\\]: "
>  python-shell-prompt-output-regexp "Out\\[[0-9]+\\]: "
>  python-shell-completion-setup-code
>    "from IPython.core.completerlib import module_completion"
>  python-shell-completion-module-string-code
>    "';'.join(module_completion('''%s'''))\n"
>  python-shell-completion-string-code
>    "';'.join(get_ipython().Completer.all_completions('''%s'''))\n")

Do you really need all that to use IPython?  Can't we make it simpler?


        Stefan




This bug report was last modified 11 years and 57 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.