GNU Emacs Manual - Fortran Motion

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

### Motion Commands

Fortran mode provides special commands to move by subprograms (functions and subroutines) and by statements. There is also a command to put the region around one subprogram, convenient for killing it or moving it.

`C-M-a`
  Move to beginning of subprogram (`beginning-of-fortran-subprogram`).
`C-M-e`
  Move to end of subprogram (`end-of-fortran-subprogram`).
`C-M-h`
  Put point at beginning of subprogram and mark at end (`mark-fortran-subprogram`).
`C-c C-n`
  Move to beginning of current or next statement (`fortran-next-statement`).
`C-c C-p`
  Move to beginning of current or previous statement (`fortran-previous-statement`).

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