TAB line position snafu

Bug #899447 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
Fix Released
Medium
Andreas Roehler

Bug Description

revno 717

First, thanks for fixing the point-position-in-line issue when re-indenting a line. It's working great except for one small problem. Take this code:

def keywords(**keywords):
    if 'utf8_strings' in keywords and is_py3:
            del keywords['utf8_strings']
    return keywords

Put line at column 0 of the `del` line and hit TAB. Point ends up on the 'y' of `is_py3` on the previous line. You just have to make sure that when re-indenting a line, point doesn't end up going negative (i.e. past the left edge of column 0).

Changed in python-mode:
assignee: nobody → Andreas Roehler (a-roehler)
milestone: none → 6.0.4
importance: Undecided → Medium
status: New → Confirmed
Changed in python-mode:
status: Confirmed → 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.