Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread Carl Banks
On Mar 31, 12:32 pm, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > 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 > >

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread 7stud
On Mar 31, 10:32 am, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > Here's what I want to do: > > if ( ( v == 1 ) >    or ( v == 2 ) >    or ( v == 3 ) ): >      pass > python indenting = 4 spaces -- http://mail.python.org/mailman/listinfo/python-list

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread Gabriel Genellina
En Mon, 31 Mar 2008 16:36:13 -0300, [EMAIL PROTECTED] <[EMAIL PROTECTED]> escribió: > On 31 mar, 18:32, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: >> Here's what I want to do: >> >> if ( ( v == 1 ) >>or ( v == 2 ) >>or ( v == 3 ) ): >> pass > > Why the parens ? > > if a == 1 \ >

Re: Looking for indent advice howto in emacs python-mode

2008-03-31 Thread [EMAIL PROTECTED]
On 31 mar, 18:32, "Steven W. Orr" <[EMAIL PROTECTED]> wrote: > Here's what I want to do: > > if ( ( v == 1 ) >or ( v == 2 ) >or ( v == 3 ) ): > pass Why the parens ? if a == 1 \ or b == 2 \ or c == 3: pass -- http://mail.python.org/mailman/listinfo/python-list