An Emacs mode for editing Python code

Indent refused

Reported by Andreas Roehler on 2013-06-14
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-mode.el
High
Andreas Roehler

Bug Description

http://stackoverflow.com/posts/17116654/edit

I've searched all about, and all I could find was this similar isssue: improper exiting from indentation in emacs python-mode where someone is unable to exit from the proper indentation.

Whenever I create an if statement, say

if(foo):
    bar()

Python-mode refuses to allow me to indent the bar line, forcing me to leave it as

if(foo):
bar()

Which will throw an indentation error. This happens in all .py files. It works fine while using python.el, but I much prefer the features of python-mode. Has anyone else found a solution / run into this?

My .emacs file is only the lines for loading python-mode.

Changed in python-mode:
milestone: none → 6.1.2
assignee: nobody → Andreas Roehler (a-roehler)
importance: Undecided → High
status: New → Triaged
Changed in python-mode:
status: Triaged → Fix Committed
Changed in python-mode:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers