aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-02-15 23:13:28 -0800
committerGlenn Morris2012-02-15 23:13:28 -0800
commit755dda14fb2331c8c27a2f19d75ccfc0ea0940b7 (patch)
treeac0483696f24ff9784671a16fc48b5b15ea4eb5d
parentd400b295d7a12fd620bb25c88a21065c6c05b38e (diff)
downloademacs-755dda14fb2331c8c27a2f19d75ccfc0ea0940b7.tar.gz
emacs-755dda14fb2331c8c27a2f19d75ccfc0ea0940b7.zip
More adjustments to fortran line breaks, for pdf version
-rw-r--r--doc/emacs/fortran-xtra.texi23
1 files changed, 11 insertions, 12 deletions
diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi
index ead08e0babb..0dc99034ae6 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
99the current one, whichever comes first (@code{f90-next-block}). 99the current one, whichever comes first (@code{f90-next-block}).
100A code block is a subroutine, @code{if}--@code{endif} statement, and 100A code block is a subroutine, @code{if}--@code{endif} statement, and
101so forth. This command exists for F90 mode only, not Fortran mode. 101so forth. This command exists for F90 mode only, not Fortran mode.
102With a numeric argument, this moves forward that many blocks. 102With a numeric argument, it moves forward that many blocks.
103 103
104@kindex C-c C-a @r{(F90 mode)} 104@kindex C-c C-a @r{(F90 mode)}
105@findex f90-previous-block 105@findex f90-previous-block
@@ -237,17 +237,17 @@ to the continuation style.
237 The setting of continuation style affects several other aspects of 237 The setting of continuation style affects several other aspects of
238editing in Fortran mode. In fixed form mode, the minimum column 238editing in Fortran mode. In fixed form mode, the minimum column
239number for the body of a statement is 6. Lines inside of Fortran 239number for the body of a statement is 6. Lines inside of Fortran
240blocks that are indented to larger column numbers always use only the 240blocks that are indented to larger column numbers must use only the
241space character for whitespace. In tab format mode, the minimum 241space character for whitespace. In tab format mode, the minimum
242column number for the statement body is 8, and the whitespace before 242column number for the statement body is 8, and the whitespace before
243column 8 must always consist of one tab character. 243column 8 must consist of one tab character.
244 244
245@node ForIndent Num 245@node ForIndent Num
246@subsubsection Line Numbers 246@subsubsection Line Numbers
247 247
248 If a number is the first non-whitespace in the line, Fortran 248 If a number is the first non-whitespace in the line, Fortran
249indentation assumes it is a line number and moves it to columns 0 249indentation assumes it is a line number and moves it to columns 0
250through 4. (Columns always count from 0 in GNU Emacs.) 250through 4. (Columns always count from 0 in Emacs.)
251 251
252@vindex fortran-line-number-indent 252@vindex fortran-line-number-indent
253 Line numbers of four digits or less are normally indented one space. 253 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
327@samp{do} that ends there. If you always end @samp{do} statements with 327@samp{do} that ends there. If you always end @samp{do} statements with
328a @samp{continue} line (or if you use the more modern @samp{enddo}), 328a @samp{continue} line (or if you use the more modern @samp{enddo}),
329then you can speed up indentation by setting this variable to 329then you can speed up indentation by setting this variable to
330@code{nil}. The default is @code{nil}. 330@code{nil} (the default).
331 331
332@item fortran-blink-matching-if 332@item fortran-blink-matching-if
333If this is @code{t}, indenting an @samp{endif} (or @samp{enddo} 333If 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
336 336
337@item fortran-minimum-statement-indent-fixed 337@item fortran-minimum-statement-indent-fixed
338Minimum indentation for Fortran statements when using fixed form 338Minimum indentation for Fortran statements when using fixed form
339continuation line style. Statement bodies are never indented less than 339continuation line style. Statement bodies are never indented by less than
340this much. The default is 6. 340this. The default is 6.
341 341
342@item fortran-minimum-statement-indent-tab 342@item fortran-minimum-statement-indent-tab
343Minimum indentation for Fortran statements for tab format continuation line 343Minimum indentation for Fortran statements for tab format continuation line
344style. Statement bodies are never indented less than this much. The 344style. Statement bodies are never indented by less than this. The
345default is 8. 345default is 8.
346@end table 346@end table
347 347
348The variables controlling the indentation of comments are described in 348The following section describes the variables controlling the
349the following section. 349indentation of comments.
350 350
351@node Fortran Comments 351@node Fortran Comments
352@subsection Fortran Comments 352@subsection Fortran Comments
@@ -505,8 +505,7 @@ Display a ``column ruler'' momentarily above the current line
505Split the current window horizontally temporarily so that it is 505Split the current window horizontally temporarily so that it is
506@code{fortran-line-length} columns wide 506@code{fortran-line-length} columns wide
507(@code{fortran-window-create-momentarily}). This may help you avoid 507(@code{fortran-window-create-momentarily}). This may help you avoid
508making lines longer than the character limit imposed by your Fortran 508making lines longer than the limit imposed by your Fortran compiler.
509compiler.
510@item C-u C-c C-w 509@item C-u C-c C-w
511Split the current window horizontally so that it is 510Split the current window horizontally so that it is
512@code{fortran-line-length} columns wide (@code{fortran-window-create}). 511@code{fortran-line-length} columns wide (@code{fortran-window-create}).