Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

IPython 5 can't disable auto indention with %autoindent magic command #9888

hoffmann opened this issue Aug 19, 2016 · 2 comments


None yet
4 participants
Copy link

commented Aug 19, 2016

In IPython4 it was possible to disable automatic indention (for examlple after a colon) with the %autoindent magic command.

In IPython 5 and the swith to prompt_toolkit disabling auto indention with the magic command has no effect.


This comment has been minimized.

Copy link

commented Jan 13, 2017

IPython 5 also removes the main reason why you would disable autoindent: pasting multiline blocks of code no longer gets messed up with autoindentation on. Maybe we should drop the %autoindent magic? The fact that this is the only issue reported about it in several months suggests that not many people are trying to use it.


This comment has been minimized.

Copy link

commented Jan 17, 2017

so autoindent works in relation with continue_prompt which turned out this discussion which let to at least this using it. Is related to this issue and this PR that ends up not using it.

So I'm all for deprecating in loudly deprecate in the 5.x/5.2+ series and slowly chop it of if we have no complaint back.

takluyver added a commit to takluyver/ipython that referenced this issue Jan 18, 2017

meeseeksdev bot pushed a commit that referenced this issue Jan 19, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.