Subject: bug#17670: 24.3.90.1; no indent from C-j in Python shell

From: Glenn Morris <[email-masked]>
Date: Tue, 03 Jun 2014 00:32:03 -0400

Stefan Monnier wrote:

>> emacs -Q
>> M-x run-python
>> Insert at prompt: "if True:"
>> C-j should indent but goes to BOL
>
> C-j doesn't indent in "emacs -Q".  RET does instead.

But RET does not seem to indent in the situation described here?
Ie, in inferior python buffers.
(Neither C-j nor RET ever has, AFAICS.)

It seems to work with RET if you set python-shell-interpreter to ipython,
but I think that's ipython doing it, not Emacs.

Maybe Emacs should be able to make it work with plain python?