py-mark-{block,clause} misbehave at beginning of block or clause
Bug #949310 reported by
Ed McCardell
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
With this Python code:
if foo:
try:
pass
calling py-mark-block, py-mark-
However, if point is on line 2 but somewhere past the opening 't', like at the end of the line, then the outer if block gets marked, which is unexpected, and different from how it worked in version 6.0.4.
This change is caused by the py-beginning-of-*-p functions, which used to use the py-statement-
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
thanks for the report.
BTW bug does not exist in components branch.