[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
multiline auto-indent in python-mode
From: |
Richard H Lee |
Subject: |
multiline auto-indent in python-mode |
Date: |
Fri, 22 Nov 2013 01:48:35 +0000 |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 |
I'm using emacs 24.3.1 on cygwin64.
When in python mode I have a multiline section of code within a
parenthesis, say:
print next(a for b in c
if b = d)
If my cursor is at between 'd' and ')' and I hit space, emacs will
indent the line I am on to the position of the opening parenthsis on the
line above. Like so:
print next(a for b in c
if b = d )
I just want python mode to not do any indentation as I have set up my
own identation behaviour.
I tried setting python-mode-map to a fresh keymap, but it doesn't make
any difference.
- multiline auto-indent in python-mode,
Richard H Lee <=