allowing braces around suites

Aaron Bingham bingham at cenix-bioscience.com
Fri Aug 27 09:32:11 EDT 2004


Wolfram Kraus wrote:

> Kjetil Torgrim Homme wrote:
> [...]
>
>> how can Emacs tell?  if I press TAB and thus ask Emacs to re-indent
>> the line, that's what it will do.  arguably, the correct fix is to
>> disable the "clever" re-indentation code of Emacs since it's too easy
>> to fool it, but this makes coding more awkward in other cases.  it
>> also doesn't solve cut-n-paste errors.
>
> You can use C-c < or C-c > in Emacs to (de-)indent regions.

Or C-M-\ to re-indent the region "correctly" with respect to its 
context.  This works far more reliably the using TAB to re-indent single 
lines.

-- 
--------------------------------------------------------------------
Aaron Bingham
Application Developer
Cenix BioScience GmbH
--------------------------------------------------------------------




More information about the Python-list mailing list