py-indent-region keep inner block

Bug #1426903 reported by Andreas Roehler
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.