Looking for indent advice howto in emacs python-mode
- From: "Steven W. Orr" <steveo@xxxxxxxxxxx>
- Date: Mon, 31 Mar 2008 12:32:38 -0400 (EDT)
Here's what I want to do:
if ( ( v == 1 )
or ( v == 2 )
or ( v == 3 ) ):
pass
but emacs (left to its own devices, does this.
if ( ( v == 1 )
or ( v == 2 )
or ( v == 3 ) ):
pass
It works great for me in C-mode. Does anyone know how to jimmie up python-mode so it would know how to do this?
TIA
--
Time flies like the wind. Fruit flies like a banana. Stranger things have .0.
happened but none stranger than this. Does your driver's license say Organ ..0
Donor?Black holes are where God divided by zero. Listen to me! We are all- 000
individuals! What if this weren't a hypothetical question?
steveo at syslang.net
.
- Follow-Ups:
- Re: Looking for indent advice howto in emacs python-mode
- From: bruno.desthuilliers@xxxxxxxxx
- Re: Looking for indent advice howto in emacs python-mode
- Prev by Date: Re: Summary of threading for experienced non-Python programmers?
- Next by Date: Is this a good time to start learning python?
- Previous by thread: CTypes, 64 bit windows, 32 bit dll
- Next by thread: Re: Looking for indent advice howto in emacs python-mode
- Index(es):
Relevant Pages
|