From 3718bcde46e57b6ab6571875da25da5d47797749 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Tue, 29 Mar 2005 19:07:36 +0000 Subject: [PATCH] (Fortran Motion): Add fortran-end-of-block, fortran-beginning-of-block. --- man/programs.texi | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) diff --git a/man/programs.texi b/man/programs.texi index 7262523fdc6..09f65f272cc 100644 --- a/man/programs.texi +++ b/man/programs.texi @@ -1842,7 +1842,7 @@ Emacs normally uses Fortran mode for files with extension @samp{.f}, In addition to the normal commands for moving by and operating on ``defuns'' (Fortran subprograms---functions and subroutines, as well as modules for F90 mode), Fortran mode provides special commands to move by -statements. +statements and other program units. @table @kbd @kindex C-c C-n @r{(Fortran mode)} @@ -1877,21 +1877,26 @@ Move point backward to the previous code block (@code{f90-previous-block}). This is like @code{f90-next-block}, but moves backwards. +@kindex C-M-n @r{(Fortran mode)} @kindex C-M-n @r{(F90 mode)} +@findex fortran-end-of-block @findex f90-end-of-block @item C-M-n -Move to the end of the current code block (@code{f90-end-of-block}). -This is for F90 mode only. With a numeric agument, move forward that -number of blocks. This command checks for consistency of block types -and labels (if present), but it does not check the outermost block -since that may be incomplete. The mark is set before moving point. - +Move to the end of the current code block (@code{fortran-end-of-block}, +@code{f90-end-of-block}). With a numeric agument, move forward that +number of blocks. The mark is set before moving point. The F90 mode +version of this command checks for consistency of block types and labels +(if present), but it does not check the outermost block since that may +be incomplete. + +@kindex C-M-p @r{(Fortran mode)} @kindex C-M-p @r{(F90 mode)} +@findex fortran-beginning-of-block @findex f90-beginning-of-block @item C-M-p Move to the start of the current code block -(@code{f90-beginning-of-block}). This is like @code{f90-end-of-block}, -but moves backwards. +(@code{fortran-beginning-of-block}, @code{f90-beginning-of-block}). This +is like @code{fortran-end-of-block}, but moves backwards. @end table @node Fortran Indent -- 2.39.2