Indentation after pressing "return" key if keyword in line
Bug #885143 reported by
Ryan Kaskel
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
This is simple to describe.
Type a line with a keyword that expects indention after in it:
def foo():
pass
or
with_help = False
^
|------
Notice that the line indents.
Changed in python-mode: | |
status: | In Progress → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Make sure to try the above at the top of the buffer.
It seems to stop after a few lines but I can't figure out why:
For example:
--------- top of buffer - press return when cursor is over "d" in "def foo" and watch it indent
|
def foo():
pass
def bar():
pass
If you press return when the cursor is on the "d" in "def bar", it doens't indent.