Several additional variables control how Fortran indentation works.
fortran-do-indentfortran-if-indentfortran-continuation-indentfortran-check-all-num-for-matching-donil, 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-minimum-statement-indent