GNU bug report logs - #25363
Support for ipython 5 prompt handling

Previous Next

Package: emacs;

Reported by: Georges Dupret <georges.dupret <at> gmail.com>

Date: Thu, 5 Jan 2017 01:22:02 UTC

Severity: normal

Tags: fixed

Merged with 21381, 24189, 24223, 25222, 25306, 25416

Found in versions 24.5, 25.1, 25.1.50, 25.1.91

Fixed in version 26.1

Done: npostavs <at> users.sourceforge.net

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Röhler <andreas.roehler <at> easy-emacs.de>
To: 25363 <at> debbugs.gnu.org
Cc: Clément Pit--Claudel <clement.pit <at> gmail.com>, georges.dupret <at> gmail.com
Subject: bug#25363: 24.5; ipython integration
Date: Wed, 11 Jan 2017 17:08:05 +0100

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




This bug report was last modified 7 years and 325 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.