comments indent honor deliberate setting
Bug #824427 reported by
Andreas Roehler
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-mode.el |
Fix Released
|
Medium
|
Andreas Roehler |
Bug Description
Reported be Glenn Linderman, thanks
RET inside a comment consecutive line must take comment previous lines indent.
Changed in python-mode: | |
milestone: | none → 6.1 |
assignee: | nobody → Andreas Roehler (a-roehler) |
importance: | Undecided → Medium |
status: | New → In Progress |
Changed in python-mode: | |
status: | In Progress → Fix Committed |
description: | updated |
Changed in python-mode: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Committer: Andreas Roehler
Date: 2011-08-11 12:50:59
Revision ID: <email address hidden>
https:/ /launchpad. net/bugs/ 824427
py-electric-rhombus new feature
Cursor at pipe-symbol in column 4 after RET
#! /usr/bin/env python
# -\*- coding: utf-8 -\*-
if __name__ == '__main__':
from foo import \*
foo([\"baz\"]) # list of foo's development directories
# limitations: ------- ------- ------- ----
#
# Some comments on limitations: <RET>
----|--
This was considered as a bug, as newlines in comments rhombus' makes honoring- indentation occur, if comment symbol
should follow indentation. Which is okay, if commenting
continues, but not, if code follows. When newline is
inserted, Emacs can't know which kind of text will
follow: `py-electric-
comment-
get's inserted.