Am 02.01.2013 15:45, schrieb Benjamin Peterson:
> Sorry, it only happens if there's not a "return" in the function body
> like this:
>
> def f():
> x = 42
>
> [CURSOR]
>
okay, well, that's a very old story.
See comment in python-mode-map:
;; Most Pythoneers expect RET `py-newline-and-indent'
Personally I've just newline.
May introduce an option, enabling a change of this setting, mapping RET at newline again.
Am 02.01.2013 15:45, schrieb Benjamin Peterson:
> Sorry, it only happens if there's not a "return" in the function body
> like this:
>
> def f():
> x = 42
>
> [CURSOR]
>
okay, well, that's a very old story.
See comment in python-mode-map:
;; Most Pythoneers expect RET `py-newline- and-indent'
Personally I've just newline.
May introduce an option, enabling a change of this setting, mapping RET at newline again.