Comment indentation broken after tuple definition
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
I've browsed the bug list and didn't see this issue listed. Below is a sample file that demonstrates what happens. I am using 6.0.2. It doesn't happen with lists and dicts and only happens with tuples with a ")" on a line of its own.
-----
# Below is the default indenation. After the final ")", type a "#" and notice
# how it automatically indents when it shouldn't
marketing_companies = (
('ABC Marketing', 'http://
)
#
#
# it will indent every subsequent "#"
# Until I delete the space in front of it
# I prefer this format:
marketing_companies = (
('ABC Marketing', 'http://
)
#
# and the same thing happens
# I think this has to do with py-electric-comment
description: | updated |
Changed in python-mode: | |
assignee: | nobody → Andreas Roehler (a-roehler) |
milestone: | none → 6.0.3 |
importance: | Undecided → Medium |
Changed in python-mode: | |
status: | New → Incomplete |
Changed in python-mode: | |
milestone: | 6.0.3 → 6.0.4 |
Changed in python-mode: | |
status: | Incomplete → Fix Released |
Changed in python-mode: | |
milestone: | 6.0.4 → 6.0.3 |
Hi,
that seems fixed meanwhile
Could you check out the current trunk?
If you have bazaar installed, just do
bzr branch lp:python-mode
Also exists a download button from the html-surface.
Thanks,
Andreas