diff options
| author | Glenn Morris | 2012-02-15 23:13:28 -0800 |
|---|---|---|
| committer | Glenn Morris | 2012-02-15 23:13:28 -0800 |
| commit | 755dda14fb2331c8c27a2f19d75ccfc0ea0940b7 (patch) | |
| tree | ac0483696f24ff9784671a16fc48b5b15ea4eb5d | |
| parent | d400b295d7a12fd620bb25c88a21065c6c05b38e (diff) | |
| download | emacs-755dda14fb2331c8c27a2f19d75ccfc0ea0940b7.tar.gz emacs-755dda14fb2331c8c27a2f19d75ccfc0ea0940b7.zip | |
More adjustments to fortran line breaks, for pdf version
| -rw-r--r-- | doc/emacs/fortran-xtra.texi | 23 |
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 | |||
| 99 | the current one, whichever comes first (@code{f90-next-block}). | 99 | the current one, whichever comes first (@code{f90-next-block}). |
| 100 | A code block is a subroutine, @code{if}--@code{endif} statement, and | 100 | A code block is a subroutine, @code{if}--@code{endif} statement, and |
| 101 | so forth. This command exists for F90 mode only, not Fortran mode. | 101 | so forth. This command exists for F90 mode only, not Fortran mode. |
| 102 | With a numeric argument, this moves forward that many blocks. | 102 | With 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 |
| 238 | editing in Fortran mode. In fixed form mode, the minimum column | 238 | editing in Fortran mode. In fixed form mode, the minimum column |
| 239 | number for the body of a statement is 6. Lines inside of Fortran | 239 | number for the body of a statement is 6. Lines inside of Fortran |
| 240 | blocks that are indented to larger column numbers always use only the | 240 | blocks that are indented to larger column numbers must use only the |
| 241 | space character for whitespace. In tab format mode, the minimum | 241 | space character for whitespace. In tab format mode, the minimum |
| 242 | column number for the statement body is 8, and the whitespace before | 242 | column number for the statement body is 8, and the whitespace before |
| 243 | column 8 must always consist of one tab character. | 243 | column 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 |
| 249 | indentation assumes it is a line number and moves it to columns 0 | 249 | indentation assumes it is a line number and moves it to columns 0 |
| 250 | through 4. (Columns always count from 0 in GNU Emacs.) | 250 | through 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 |
| 328 | a @samp{continue} line (or if you use the more modern @samp{enddo}), | 328 | a @samp{continue} line (or if you use the more modern @samp{enddo}), |
| 329 | then you can speed up indentation by setting this variable to | 329 | then 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 |
| 333 | If this is @code{t}, indenting an @samp{endif} (or @samp{enddo} | 333 | 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 | |||
| 336 | 336 | ||
| 337 | @item fortran-minimum-statement-indent-fixed | 337 | @item fortran-minimum-statement-indent-fixed |
| 338 | Minimum indentation for Fortran statements when using fixed form | 338 | Minimum indentation for Fortran statements when using fixed form |
| 339 | continuation line style. Statement bodies are never indented less than | 339 | continuation line style. Statement bodies are never indented by less than |
| 340 | this much. The default is 6. | 340 | this. The default is 6. |
| 341 | 341 | ||
| 342 | @item fortran-minimum-statement-indent-tab | 342 | @item fortran-minimum-statement-indent-tab |
| 343 | Minimum indentation for Fortran statements for tab format continuation line | 343 | Minimum indentation for Fortran statements for tab format continuation line |
| 344 | style. Statement bodies are never indented less than this much. The | 344 | style. Statement bodies are never indented by less than this. The |
| 345 | default is 8. | 345 | default is 8. |
| 346 | @end table | 346 | @end table |
| 347 | 347 | ||
| 348 | The variables controlling the indentation of comments are described in | 348 | The following section describes the variables controlling the |
| 349 | the following section. | 349 | indentation 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 | |||
| 505 | Split the current window horizontally temporarily so that it is | 505 | Split 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 |
| 508 | making lines longer than the character limit imposed by your Fortran | 508 | making lines longer than the limit imposed by your Fortran compiler. |
| 509 | compiler. | ||
| 510 | @item C-u C-c C-w | 509 | @item C-u C-c C-w |
| 511 | Split the current window horizontally so that it is | 510 | Split 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}). |