From 755dda14fb2331c8c27a2f19d75ccfc0ea0940b7 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 15 Feb 2012 23:13:28 -0800 Subject: [PATCH] More adjustments to fortran line breaks, for pdf version --- doc/emacs/fortran-xtra.texi | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi index ead08e0bab..0dc99034ae 100644 --- a/doc/emacs/fortran-xtra.texi +++ b/doc/emacs/fortran-xtra.texi @@ -99,7 +99,7 @@ Move point forward to the start of the next code block, or the end of the current one, whichever comes first (@code{f90-next-block}). A code block is a subroutine, @code{if}--@code{endif} statement, and so forth. This command exists for F90 mode only, not Fortran mode. -With a numeric argument, this moves forward that many blocks. +With a numeric argument, it moves forward that many blocks. @kindex C-c C-a @r{(F90 mode)} @findex f90-previous-block @@ -237,17 +237,17 @@ to the continuation style. The setting of continuation style affects several other aspects of editing in Fortran mode. In fixed form mode, the minimum column number for the body of a statement is 6. Lines inside of Fortran -blocks that are indented to larger column numbers always use only the +blocks that are indented to larger column numbers must use only the space character for whitespace. In tab format mode, the minimum column number for the statement body is 8, and the whitespace before -column 8 must always consist of one tab character. +column 8 must consist of one tab character. @node ForIndent Num @subsubsection Line Numbers If a number is the first non-whitespace in the line, Fortran indentation assumes it is a line number and moves it to columns 0 -through 4. (Columns always count from 0 in GNU Emacs.) +through 4. (Columns always count from 0 in Emacs.) @vindex fortran-line-number-indent Line numbers of four digits or less are normally indented one space. @@ -327,7 +327,7 @@ non-@code{nil} value, indenting any numbered statement must check for a @samp{do} that ends there. If you always end @samp{do} statements with a @samp{continue} line (or if you use the more modern @samp{enddo}), then you can speed up indentation by setting this variable to -@code{nil}. The default is @code{nil}. +@code{nil} (the default). @item fortran-blink-matching-if If this is @code{t}, indenting an @samp{endif} (or @samp{enddo} @@ -336,17 +336,17 @@ statement moves the cursor momentarily to the matching @samp{if} (or @item fortran-minimum-statement-indent-fixed Minimum indentation for Fortran statements when using fixed form -continuation line style. Statement bodies are never indented less than -this much. The default is 6. +continuation line style. Statement bodies are never indented by less than +this. The default is 6. @item fortran-minimum-statement-indent-tab Minimum indentation for Fortran statements for tab format continuation line -style. Statement bodies are never indented less than this much. The +style. Statement bodies are never indented by less than this. The default is 8. @end table -The variables controlling the indentation of comments are described in -the following section. +The following section describes the variables controlling the +indentation of comments. @node Fortran Comments @subsection Fortran Comments @@ -505,8 +505,7 @@ Display a ``column ruler'' momentarily above the current line Split the current window horizontally temporarily so that it is @code{fortran-line-length} columns wide (@code{fortran-window-create-momentarily}). This may help you avoid -making lines longer than the character limit imposed by your Fortran -compiler. +making lines longer than the limit imposed by your Fortran compiler. @item C-u C-c C-w Split the current window horizontally so that it is @code{fortran-line-length} columns wide (@code{fortran-window-create}). -- 2.20.1