Activity log for bug #1332245

Date Who What changed Old value New value Message
2014-06-19 18:20:46 Marcin bug added bug
2014-06-19 18:23:53 Marcin description According to PEP-8, "[c]ontinuation lines should align wrapped elements either vertically using Python's implicit line joining inside parentheses, brackets and braces, or using a hanging indent". py-newline-and-indent does the job of aligning the next line with the opening parenthesis fine. However, when TAB is then pressed, this position is lost and multiples of py-python-offset are used instead. At the same, running M-x indent-for-tab-command or indent-according-to-mode fixes the problem. According to PEP-8, "[c]ontinuation lines should align wrapped elements either vertically using Python's implicit line joining inside parentheses, brackets and braces, or using a hanging indent". py-newline-and-indent does the job of aligning the next line with the opening parenthesis fine. However, when TAB is then pressed, this position is lost and multiples of py-python-offset are used instead. At the same, running M-x indent-for-tab-command or indent-according-to-mode fixes the problem. This is with python-mode 6.1.3 and Emacs 24.3.1.
2014-06-19 18:24:02 Marcin summary Indentation cycling and vertical alignment with opening delimiter Vertical alignment with opening delimiter
2014-06-20 16:58:04 Andreas Roehler python-mode: assignee Andreas Roehler (a-roehler)
2014-06-20 16:58:08 Andreas Roehler python-mode: importance Undecided Medium
2014-06-20 18:47:54 Andreas Roehler python-mode: status New Incomplete
2014-06-21 11:34:12 Andreas Roehler python-mode: status Incomplete In Progress
2014-06-21 15:00:10 Launchpad Janitor branch linked lp:python-mode
2014-06-21 15:00:28 Launchpad Janitor branch linked lp:python-mode/components-python-mode
2014-06-22 17:37:04 Andreas Roehler python-mode: status In Progress Fix Committed