bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25363: 24.5; ipython integration


From: Andreas Röhler
Subject: bug#25363: 24.5; ipython integration
Date: Wed, 11 Jan 2017 17:08:05 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Icedove/45.5.1



On 05.01.2017 02:20, Georges Dupret wrote:
The ipython interpretor called within emacs does not handle identation
properly. The following happens when hitting return:

In [5]: for x in range(3):
  File "<ipython-input-5-782f5b7cd5c6>", line 1
    for x in range(3):
                      ^
SyntaxError: unexpected EOF while parsing

Note that I have to set this in .emacs otherwise I get bad characters:
(setq python-shell-interpreter-args " --simple-prompt --pprint")

Best,
ged


Maybe RET is bound to   comint-send-input?

Then C-j should do th trick: electric-newline-and-maybe-indent





reply via email to

[Prev in Thread] Current Thread [Next in Thread]