aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2005-03-21 19:02:02 +0000
committerRichard M. Stallman2005-03-21 19:02:02 +0000
commit6be8476a601dccf3953c14e6595999f7cb5ad378 (patch)
tree9ad86772f3a9ff7d4bfea935befa6fe6fe0045df
parent3567915c5b389f9ae67269eddbddfa890ffce6a4 (diff)
downloademacs-6be8476a601dccf3953c14e6595999f7cb5ad378.tar.gz
emacs-6be8476a601dccf3953c14e6595999f7cb5ad378.zip
(Fortran Motion): Document f90-next-statement,
f90-previous-statement, f90-next-block, f90-previous-block, f90-end-of-block, and f90-beginning-of-block.
-rw-r--r--man/programs.texi44
1 files changed, 40 insertions, 4 deletions
diff --git a/man/programs.texi b/man/programs.texi
index 2a631a23b5f..353cb85aa60 100644
--- a/man/programs.texi
+++ b/man/programs.texi
@@ -1843,15 +1843,51 @@ mode provides special commands to move by statements.
1843@table @kbd 1843@table @kbd
1844@kindex C-c C-n @r{(Fortran mode)} 1844@kindex C-c C-n @r{(Fortran mode)}
1845@findex fortran-next-statement 1845@findex fortran-next-statement
1846@findex f90-next-statement
1846@item C-c C-n 1847@item C-c C-n
1847Move to beginning of current or next statement 1848Move to the beginning of the next statement
1848(@code{fortran-next-statement}). 1849(@code{fortran-next-statement}/@code{f90-next-statement}).
1849 1850
1850@kindex C-c C-p @r{(Fortran mode)} 1851@kindex C-c C-p @r{(Fortran mode)}
1851@findex fortran-previous-statement 1852@findex fortran-previous-statement
1853@findex f90-previous-statement
1852@item C-c C-p 1854@item C-c C-p
1853Move to beginning of current or previous statement 1855Move to the beginning of the previous statement
1854(@code{fortran-previous-statement}). 1856(@code{fortran-previous-statement}/@code{f90-previous-statement}).
1857If there is no previous statement (i.e. if called from the first
1858statement in the buffer), move to the start of the buffer.
1859
1860@kindex C-c C-e @r{(F90 mode)}
1861@findex f90-next-block
1862@item C-c C-e
1863Move point forward to the start of the next code block
1864(@code{f90-next-block}). A code block is a subroutine,
1865@code{if}--@code{endif} statement, and so forth. This command exists
1866for F90 mode only, not Fortran mode. With a numeric argument, this
1867moves forward that many blocks.
1868
1869@kindex C-c C-a @r{(F90 mode)}
1870@findex f90-previous-block
1871@item C-c C-a
1872Move point backward to the previous code block
1873(@code{f90-previous-block}). This is like @code{f90-next-block}, but
1874moves backwards.
1875
1876@kindex C-M-n @r{(F90 mode)}
1877@findex f90-end-of-block
1878@item C-M-n
1879Move to the end of the current code block (@code{f90-end-of-block}).
1880This is for F90 mode only. With a numeric agument, move forward that
1881number of blocks. This command checks for consistency of block types
1882and labels (if present), but it does not check the outermost block
1883since that may be incomplete. The mark is set before moving point.
1884
1885@kindex C-M-p @r{(F90 mode)}
1886@findex f90-beginning-of-block
1887@item C-M-p
1888Move to the start of the current code block
1889(@code{f90-beginning-of-block}). This is like @code{f90-end-of-block},
1890but moves backwards.
1855@end table 1891@end table
1856 1892
1857@node Fortran Indent 1893@node Fortran Indent