Fortran mode provides special motion commands for Fortran statements and subprograms, and indentation commands that understand Fortran conventions of nesting, line numbers, and continuation statements.
Special commands for comments are provided because Fortran comments are unlike those of other languages.
Built-in abbrevs optionally save typing when you insert Fortran keywords.
Use M-x fortran-mode to switch to this major mode. Doing so calls
the value of
fortran-mode-hook as a function of no arguments if
that variable has a non-
|• Motion:||Moving point by statements or subprograms.|
|• Indent:||Indentation commands for Fortran.|
|• Comments:||Inserting and aligning comments.|
|• Columns:||Measuring columns for valid Fortran.|
|• Abbrev:||Built-in abbrevs for Fortran keywords.|
Fortran mode was contributed by Michael Prange.