ENTER key does not indent properly after "return" statement
Bug #1098793 reported by
apogosian@gmail.com
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Here is the sample code to reproduce this issue:
def foo():
while something():
bar()
baz()
return 1
Once the cursor is placed after "return 1" and I hit enter, on the next line, the cursor is placed under the "r" in return statement, instead of moving indentation to the outer block.
"ENTER" key is bound to (py-newline-
Some version information:
emacs-version
"GNU Emacs 24.2.1 (i686-pc-cygwin) of 2012-08-27 on fiona"
py-version
"6.1.0"
Changed in python-mode: | |
milestone: | none → 6.1.1 |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → Medium |
status: | New → In Progress |
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.