]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/python.el: Add Ipython support (Bug#5390).
authorChong Yidong <cyd@stupidchicken.com>
Tue, 24 Aug 2010 20:20:21 +0000 (16:20 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Tue, 24 Aug 2010 20:20:21 +0000 (16:20 -0400)
commitedfd00fa82735b6930c714d32884093718c4a951
tree69cb917a306c3b5a837c0e1eb810173cd6637acd
parent1c409d0b963ebdb1f48b90ddce85c56d989bee5f
* lisp/progmodes/python.el: Add Ipython support (Bug#5390).
Based on a patch by Fabian Ezequiel Gallina.

(python-shell-prompt-alist)
(python-shell-continuation-prompt-alist): New options.
(python--set-prompt-regexp): New function.
(inferior-python-mode, run-python, python-shell): Require
ansi-color.  Use python--set-prompt-regexp to set the comint
prompt based on the Python interpreter.
(python--prompt-regexp): New var.
(python-check-comint-prompt)
(python-comint-output-filter-function): Use it.
(run-python): Use a pipe (Bug#5694).
(python-send-region): Send a different Python command if Ipython is in use.
(python-check-version): Use a Python command to find the version.
lisp/ChangeLog
lisp/progmodes/python.el