Previous: ForIndent Conv, Up: Fortran Indent
Several additional variables control how Fortran indentation works:
fortran-do-indent
fortran-if-indent
fortran-structure-indent
fortran-continuation-indent
fortran-check-all-num-for-matching-do
nil
value, indenting any numbered statement must check for a
‘do’ that ends there. If you always end ‘do’ statements with
a ‘continue’ line (or if you use the more modern ‘enddo’),
then you can speed up indentation by setting this variable to
nil
. The default is nil
.
fortran-blink-matching-if
t
, indenting an ‘endif’ (or ‘enddo’
statement moves the cursor momentarily to the matching ‘if’ (or
‘do’) statement to show where it is. The default is nil
.
fortran-minimum-statement-indent-fixed
fortran-minimum-statement-indent-tab
The variables controlling the indentation of comments are described in the following section.