Next: ForIndent Cont Up: Fortran Indent
Fortran Indentation Commands
Indent the current line (`fortran-indent-line').
Indent the current and start a new indented line
Break the current line and set up a continuation line.
Indent all the lines of the subprogram point is in
Fortran mode redefines TAB to reindent the current line for Fortran
(`fortran-indent-line'). This command indents Line numbers and
continuation markers to their required columns, and independently
indents the body of the statement based on its nesting in the program.
The key `LFD' runs the command `fortran-indent-new-line', which
reindents the current line then makes and indents a new line. This
command is useful to reindent the closing statement of `do' loops and
other blocks before starting a new line.
The key `C-M-q' runs `fortran-indent-subprogram', a command to
reindent all the lines of the Fortran subprogram (function or
subroutine) containing point.
The key `M-LFD' runs `fortran-split-line', which splits a line in
the appropriate fashion for Fortran. In a non-comment line, the second
half becomes a continuation line and is indented accordingly. In a
comment line, both halves become separate comment lines.
automatically generated by info2www