[Top][All Lists]

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

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

From: Glenn Morris
Subject: bug#17670:; no indent from C-j in Python shell
Date: Tue, 03 Jun 2014 00:32:03 -0400
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

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?

reply via email to

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