[IPython-User] [xpyx] Problem with IPython / Emacs

Phil Austin mkpaustin@gmail....
Sun Aug 12 21:27:41 CDT 2012


On 12-08-11 03:37 PM, Eric Tanter wrote:
> Hi,
 >
 > I'm trying out ipython with emacs, but can't get it to work properly.
 >
 > My setting is:
 > Mac OS X Lion
 > Emacs 23.3
 > Python 2.7.1 (r271:86832, Jul 31 2011, 19:30:53)
 > IPython 0.13
 > python-mode 6.0.10
 >
 > My .emacs has:
 > (require 'python-mode)
 > (add-to-list 'auto-mode-alist '("\\.py\\'" . python-mode))
 >
 > If I turn on ipython
 > (setq py-shell-name "ipython")

 > then sending a buffer to ipython (with C-c C-c) invariably results
 > in an indentation error (the same buffer gives no error with the
 > standard python interpreter)

Try reverting to 6.0.8 -- this older version works for me.  6.0.9
and 6.0.10 both gave me errors with ipython.   In particular,
6.0.10 has a bug in the routine for finding the ipython prompt
that prevented me from using M-p to move through previous
commands (now fixed in the repository:

https://bugs.launchpad.net/python-mode/+bug/1020412

best, Phil





More information about the IPython-User mailing list