Hi all,

IMO ‘py-up-list’ should behave as Elisp's ‘backward-up-list’ does.
When starting from last line "except True:" it should travel current indents and reach beginning of next block above: "if True:"

def foo():
    if True:
        def bar():
            pass
    elif False:
        def baz():
            pass
    else:
        try:
            1 == 1
        except True:


Maybe also add a mode-specific key-binding

<C-M-up>, C-M-u, ESC <C-up>

?

Cheers,
Andreas


_______________________________________________
Python-mode mailing list
Python-mode@python.org
https://mail.python.org/mailman/listinfo/python-mode

Reply via email to