allowing braces around suites
Thomas Heller
theller at python.net
Fri Aug 27 10:38:07 EDT 2004
Aaron Bingham <bingham at cenix-bioscience.com> writes:
> 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.
How do you enter that on a german keyboard?
Thomas
More information about the Python-list
mailing list