GNU Emacs Manual. Node: ForIndent Vars

PREVForIndent Conv UPFortran Indent next

20.16.2.5: Variables for Fortran Indentation

Several additional variables control how Fortran indentation works:

fortran-do-indent

Extra indentation within each level of `do' statement (default 3).

fortran-if-indent

Extra indentation within each level of `if' statement (default 3). This value is also used for extra indentation within each level of the Fortran 90 `where' statement.

fortran-structure-indent

Extra indentation within each level of `structure', `union', or `map' statements (default 3).

fortran-continuation-indent

Extra indentation for bodies of continuation lines (default 5).

fortran-check-all-num-for-matching-do

If this is nil, indentation assumes that each `do' statement ends on a `continue' statement. Therefore, when computing indentation for a statement other than `continue', it can save time by not checking for a `do' statement ending there. If this is non-nil, indenting any numbered statement must check for a `do' that ends there. The default is nil.

fortran-blink-matching-if

If this is t, indenting an `endif' statement moves the cursor momentarily to the matching `if' statement to show where it is. The default is nil.

fortran-minimum-statement-indent-fixed

Minimum indentation for fortran statements when using fixed format continuation line style. Statement bodies are never indented less than this much. The default is 6.

fortran-minimum-statement-indent-tab

Minimum indentation for fortran statements for tab format continuation line style. Statement bodies are never indented less than this much. The default is 8.

PREVForIndent Conv UPFortran Indent next