return key doesn't maintain current indentation level
Bug #1095147 reported by
Benjamin Peterson
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Suppose I have code like this
def f():
return 42
[CURSOR]
Notice my cursor is flush with the left margin. Hitting return creates this situation:
def f():
return 42
[CURSOR]
Notice the cursor has been indented to level of the function body. This shouldn't happen. Rather a newline should simply be inserted without indenting further.
Changed in python-mode: | |
milestone: | none → 6.1.1 |
status: | New → In Progress |
Changed in python-mode: | |
status: | Fix Committed → New |
status: | New → Fix Committed |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Can't reproduce. RET as also C-j place cursor in column 0. See png attached.