[IPython-user] autoindentation problem in emacs

SK skokot at o2.pl
Thu Mar 23 18:16:43 CST 2006


Hello,

I'm using ipython-mode from emacs and I noticed that the
autoindentation behaves differently in ipython under emacs and under xterm.

This is an example from emacs

-- start
In [1]: def foo():
   ...: for i in range(5):
   ...: print i
   ...: 

In [2]: foo()
0
1
2
3
4
-- end

and this is from xterm

-- start
In [3]: def foo():
   ...:     for i in range(5):
   ...:         print i
   ...:         

In [4]: foo 
------> foo()
0
1
2
3
4
-- end

Any idea what is wrong?

Best regards
SK




More information about the IPython-user mailing list