On Sun, May 9, 2010 at 6:01 PM, A.M. Kuchling <a...@amk.ca> wrote: > I'm happy to see the curses module re-indented. Does anyone have a > set of settings for Emacs or for GNU indent for Python's C indentation > style? >
This invocation of GNU indent should work reasonably well: indent \ --no-tabs \ --indent-level8 \ --blank-lines-after-procedures \ --no-blank-lines-after-declarations \ --no-comment-delimiters-on-blank-lines \ --start-left-side-of-comments \ --braces-on-if-line \ --dont-cuddle-else \ --cuddle-do-while \ --case-indentation0 \ --dont-space-special-semicolon \ --no-space-after-function-call-names \ --space-after-for \ --space-after-if \ --space-after-while \ --no-blank-lines-after-commas \ --declaration-indentation1 \ --braces-on-struct-decl-line \ --procnames-start-lines \ --continue-at-parentheses \ --preprocessor-indentation0 \ --break-after-boolean-operator -- Alexandre _______________________________________________ python-committers mailing list python-committers@python.org http://mail.python.org/mailman/listinfo/python-committers