Public bug reported:

python-mode indentation doesn't work correctly when splitting parens,
braces, or brackets over multiple lines:  After the closing
paren/brace/bracket the indenter still indents as if within the
parens/braces/brackets.  E.g. if you take the code

x = max(1,                                                                      
                               
2)                                                                              
                               
y = 3

and indent it with M-x indent-region you get

x = max(1,                                                                      
                               
        2)                                                                      
                               
        y = 3

instead of the expected

x = max(1,                                                                      
                               
        2)                                                                      
                               
y = 3

Same problem when you indent with indent-for-tab-command.

** Affects: emacs-snapshot (Ubuntu)
     Importance: Undecided
         Status: New

-- 
python-mode indentation broken for parens split over multiple lines
https://bugs.launchpad.net/bugs/285489
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to