comments indent honor deliberate setting

Bug #824427 reported by Andreas Roehler
8
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
Revision history for this message
Andreas Roehler (a-roehler) wrote :

    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
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-rhombus' makes
comment-honoring-indentation occur, if comment symbol
get's inserted.

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.