[IPython-user] Autoindentation in emacs

Fernando Perez fperez.net@gmail....
Sun Mar 18 22:47:43 CDT 2007


On 10/6/06, Seweryn Kokot <skokot@po.opole.pl> wrote:

> Coming back to autoindentation, it doesn't work here.
>
> I'm using:
> emacs-snapshot (emacs 22)
> ipython 0.7.2
> ipython.el rev. 1325
> python-mode 1.0.
>
> This is what I get:
>
> -----------
> In [1]: def foo(x,y):
> ...: b = 5
> ...: a = 4
> ------------------------------------------------------------
> File "<ipython console>", line 3
> a = 4
> ^
> SyntaxError: invalid syntax
> In [2]:
> -----------

It works fine for me with current ipython SVN and Emacs 23.  Please
let us know if you continue seeing problems; as we approach release
time it would be good to clean all of this up.

Cheers,

f


More information about the IPython-user mailing list