[IPython-user] problem with ipython emacs mode

killian koepsell koepsell@gmail....
Tue Feb 9 07:19:45 CST 2010


Fernando,

> On 2/8/10, Fernando Perez <fperez.net@gmail.com> wrote:
>> Mmh, that stupid print() function transition again...
>>
>> Try in your emacs config file
>>
>> ;; Configure the ipython call for pylab use
>> (setq py-python-command-args '("--autocall" "0"))
>>
>> And let's see if that helps...

even though this fixed the tab completion, there still seems to be a
problem with the interpretation of multi-line input that looks
related. Maybe you know what's going on here as well. The following
statement only works in a single line.

thanks,
  kilian

In [34]: for i in range(3): print i
   ....:
0
1
2

In [35]: for i in range(3):
   ....: 	print i

Display all 293 possibilities? (y or n)
------------------------------------------------------------
   File "<ipython console>", line 2
     t i
       ^
SyntaxError: invalid syntax


More information about the IPython-user mailing list