py-indent-region keep inner block

Bug #1426903 reported by Andreas Roehler on 2015-03-01
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Medium
Andreas Roehler

Bug Description

Currently py-indent-region calculates indent of every single line. Which results in outmost indent of each line.

This may destroy program-logic. See

http://emacs.stackexchange.com/questions/9706/indent-region-in-python-script/9707#9707

Instead py-indent-region should get an C-u option activating the current behavior.

Changed in python-mode:
importance: Undecided → Medium
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.2.1
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.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers