GNU Emacs Manual - Fortran Abbrev

Go to the first, previous, next, last section, table of contents.

### Fortran Keyword Abbrevs

Fortran mode provides many built-in abbrevs for common keywords and declarations. These are the same sort of abbrev that you can define yourself. To use them, you must turn on Abbrev mode. See section Abbrevs.

The built-in abbrevs are unusual in one way: they all start with a semicolon. You cannot normally use semicolon in an abbrev, but Fortran mode makes this possible by changing the syntax of semicolon to "word constituent."

For example, one built-in Fortran abbrev is ``;c'` for ``continue'`. If you insert ``;c'` and then insert a punctuation character such as a space or a newline, the ``;c'` expands automatically to ``continue'`, provided Abbrev mode is enabled.

Type ``;?'` or ``;C-h'` to display a list of all the built-in Fortran abbrevs and what they stand for.

Go to the first, previous, next, last section, table of contents.