Next: Program Indent, Previous: Electric Indent Mode, Up: Indenting [Index]
Regions are even more difficult to indent. How do you safely indent a region Python code when block indentation determines program flow? The answer is — you don’t.
There are two types of region indentation commands:
Indents a line or region as per the major mode
Indents using major mode’s region indent command
Rigidly indents