aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--doc/emacs/ChangeLog4
-rw-r--r--doc/emacs/fortran-xtra.texi46
2 files changed, 26 insertions, 24 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 0b6178d6195..8e10749cc35 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,3 +1,7 @@
12012-02-16 Glenn Morris <rgm@gnu.org>
2
3 * fortran-xtra.texi: Tiny changes and some adjustments to line breaks.
4
12012-02-15 Glenn Morris <rgm@gnu.org> 52012-02-15 Glenn Morris <rgm@gnu.org>
2 6
3 * sending.texi (Mail Sending): smtpmail-auth-credentials was removed. 7 * sending.texi (Mail Sending): smtpmail-auth-credentials was removed.
diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi
index 5fc20fae8a3..ead08e0babb 100644
--- a/doc/emacs/fortran-xtra.texi
+++ b/doc/emacs/fortran-xtra.texi
@@ -1,5 +1,5 @@
1@c This is part of the Emacs manual. 1@c This is part of the Emacs manual.
2@c Copyright (C) 2004-2012 Free Software Foundation, Inc. 2@c Copyright (C) 2004-2012 Free Software Foundation, Inc.
3@c See file emacs.texi for copying conditions. 3@c See file emacs.texi for copying conditions.
4@c 4@c
5@c This file is included either in emacs-xtra.texi (when producing the 5@c This file is included either in emacs-xtra.texi (when producing the
@@ -70,11 +70,10 @@ command runs the hook @code{fortran-mode-hook}.
70@subsection Motion Commands 70@subsection Motion Commands
71 71
72 In addition to the normal commands for moving by and operating on 72 In addition to the normal commands for moving by and operating on
73``defuns'' (Fortran subprograms---functions and subroutines, using the 73``defuns'' (Fortran subprograms---functions and subroutines, as well
74commands @code{fortran-beginning-of-subprogram} and 74as modules for F90 mode, using the commands @code{fortran-end-of-subprogram}
75@code{fortran-end-of-subprogram}; as well as modules for F90 mode), 75and @code{fortran-beginning-of-subprogram}), Fortran mode provides
76Fortran mode provides special commands to move by statements and other 76special commands to move by statements and other program units.
77program units.
78 77
79@table @kbd 78@table @kbd
80@kindex C-c C-n @r{(Fortran mode)} 79@kindex C-c C-n @r{(Fortran mode)}
@@ -97,16 +96,15 @@ statement in the buffer), move to the start of the buffer.
97@findex f90-next-block 96@findex f90-next-block
98@item C-c C-e 97@item C-c C-e
99Move point forward to the start of the next code block, or the end of 98Move point forward to the start of the next code block, or the end of
100the current block, whichever is encountered first. 99the current one, whichever comes first (@code{f90-next-block}).
101(@code{f90-next-block}). A code block is a subroutine, 100A code block is a subroutine, @code{if}--@code{endif} statement, and
102@code{if}--@code{endif} statement, and so forth. This command exists 101so forth. This command exists for F90 mode only, not Fortran mode.
103for F90 mode only, not Fortran mode. With a numeric argument, this 102With a numeric argument, this moves forward that many blocks.
104moves forward that many blocks.
105 103
106@kindex C-c C-a @r{(F90 mode)} 104@kindex C-c C-a @r{(F90 mode)}
107@findex f90-previous-block 105@findex f90-previous-block
108@item C-c C-a 106@item C-c C-a
109Move point backward to the previous code block 107Move point backward to the previous block
110(@code{f90-previous-block}). This is like @code{f90-next-block}, but 108(@code{f90-previous-block}). This is like @code{f90-next-block}, but
111moves backwards. 109moves backwards.
112 110
@@ -163,7 +161,7 @@ Break the current line at point and set up a continuation line
163@item M-^ 161@item M-^
164Join this line to the previous line (@code{fortran-join-line}). 162Join this line to the previous line (@code{fortran-join-line}).
165@item C-M-q 163@item C-M-q
166Indent all the lines of the subprogram point is in 164Indent all the lines of the subprogram that point is in
167(@code{fortran-indent-subprogram}). 165(@code{fortran-indent-subprogram}).
168@item M-q 166@item M-q
169Fill a comment block or statement (using @code{fortran-fill-paragraph} 167Fill a comment block or statement (using @code{fortran-fill-paragraph}
@@ -364,7 +362,7 @@ comments start with @samp{!} and can follow other text. Because only
364some Fortran 77 compilers accept this syntax, Fortran mode will not 362some Fortran 77 compilers accept this syntax, Fortran mode will not
365insert such comments unless you have said in advance to do so. To do 363insert such comments unless you have said in advance to do so. To do
366this, set the variable @code{fortran-comment-line-start} to @samp{"!"}. 364this, set the variable @code{fortran-comment-line-start} to @samp{"!"}.
367If you use an unusual value, you may also need to adjust 365If you use an unusual value, you may need to change
368@code{fortran-comment-line-start-skip}. 366@code{fortran-comment-line-start-skip}.
369 367
370 368
@@ -373,7 +371,7 @@ If you use an unusual value, you may also need to adjust
373Align comment or insert new comment (@code{comment-dwim}). 371Align comment or insert new comment (@code{comment-dwim}).
374 372
375@item C-x ; 373@item C-x ;
376Applies to nonstandard @samp{!} comments only. 374Applies to nonstandard @samp{!} comments only (@code{comment-set-column}).
377 375
378@item C-c ; 376@item C-c ;
379Turn all lines of the region into comments, or (with argument) turn them back 377Turn all lines of the region into comments, or (with argument) turn them back
@@ -406,10 +404,10 @@ Align the text at a fixed column, which is the sum of
406@code{fortran-comment-line-extra-indent} and the minimum statement 404@code{fortran-comment-line-extra-indent} and the minimum statement
407indentation. This is the default. 405indentation. This is the default.
408 406
409The minimum statement indentation is 407The minimum indentation is
410@code{fortran-minimum-statement-indent-fixed} for fixed form 408@code{fortran-minimum-statement-indent-tab} for tab format
411continuation line style and @code{fortran-minimum-statement-indent-tab} 409continuation line style and @code{fortran-minimum-statement-indent-fixed}
412for tab format style. 410for fixed form style.
413 411
414@item relative 412@item relative
415Align the text as if it were a line of code, but with an additional 413Align the text as if it were a line of code, but with an additional
@@ -434,17 +432,17 @@ never be indented at all, no matter what the value of
434lines are directives. Matching lines are never indented, and receive 432lines are directives. Matching lines are never indented, and receive
435distinctive font-locking. 433distinctive font-locking.
436 434
437 The normal Emacs comment command @kbd{C-x ;} has not been redefined. If 435 The normal Emacs comment command @kbd{C-x ;} (@code{comment-set-column})
438you use @samp{!} comments, this command can be used with them. Otherwise 436has not been redefined. If you use @samp{!} comments, this command
439it is useless in Fortran mode. 437can be used with them. Otherwise it is useless in Fortran mode.
440 438
441@kindex C-c ; @r{(Fortran mode)} 439@kindex C-c ; @r{(Fortran mode)}
442@findex fortran-comment-region 440@findex fortran-comment-region
443@vindex fortran-comment-region 441@vindex fortran-comment-region
444 The command @kbd{C-c ;} (@code{fortran-comment-region}) turns all the 442 The command @kbd{C-c ;} (@code{fortran-comment-region}) turns all the
445lines of the region into comments by inserting the string @samp{C$$$} at 443lines of the region into comments by inserting the string @samp{c$$$} at
446the front of each one. With a numeric argument, it turns the region 444the front of each one. With a numeric argument, it turns the region
447back into live code by deleting @samp{C$$$} from the front of each line 445back into live code by deleting @samp{c$$$} from the front of each line
448in it. The string used for these comments can be controlled by setting 446in it. The string used for these comments can be controlled by setting
449the variable @code{fortran-comment-region}. Note that here we have an 447the variable @code{fortran-comment-region}. Note that here we have an
450example of a command and a variable with the same name; these two uses 448example of a command and a variable with the same name; these two uses