diff options
| author | Glenn Morris | 2008-08-21 05:48:32 +0000 |
|---|---|---|
| committer | Glenn Morris | 2008-08-21 05:48:32 +0000 |
| commit | 87aae241a4afad18d155e1c7a6d94c95022ffe82 (patch) | |
| tree | 9075cbab4fb478eb920057c7812b1407ac682e09 | |
| parent | 77a00355a7d024086ac9ab122719993ca62ed61e (diff) | |
| download | emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.tar.gz emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.zip | |
(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
| -rw-r--r-- | doc/emacs/ChangeLog | 1 | ||||
| -rw-r--r-- | doc/emacs/fortran-xtra.texi | 14 | ||||
| -rw-r--r-- | etc/NEWS | 4 |
3 files changed, 11 insertions, 8 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 277d94bfd35..30a198979f2 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | 2008-08-21 Glenn Morris <rgm@gnu.org> | 1 | 2008-08-21 Glenn Morris <rgm@gnu.org> |
| 2 | 2 | ||
| 3 | * fortran-xtra.texi (Fortran Columns): Document `fortran-line-length'. | 3 | * fortran-xtra.texi (Fortran Columns): Document `fortran-line-length'. |
| 4 | (Fortran Comments): Replace fortran-indent-comment with comment-dwim. | ||
| 4 | 5 | ||
| 5 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> | 6 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> |
| 6 | 7 | ||
diff --git a/doc/emacs/fortran-xtra.texi b/doc/emacs/fortran-xtra.texi index 3a46837ab9c..14c2392cba2 100644 --- a/doc/emacs/fortran-xtra.texi +++ b/doc/emacs/fortran-xtra.texi | |||
| @@ -336,7 +336,7 @@ unless you have said in advance to do so. To do this, set the variable | |||
| 336 | 336 | ||
| 337 | @table @kbd | 337 | @table @kbd |
| 338 | @item M-; | 338 | @item M-; |
| 339 | Align comment or insert new comment (@code{fortran-indent-comment}). | 339 | Align comment or insert new comment (@code{comment-dwim}). |
| 340 | 340 | ||
| 341 | @item C-x ; | 341 | @item C-x ; |
| 342 | Applies to nonstandard @samp{!} comments only. | 342 | Applies to nonstandard @samp{!} comments only. |
| @@ -346,13 +346,11 @@ Turn all lines of the region into comments, or (with argument) turn them back | |||
| 346 | into real code (@code{fortran-comment-region}). | 346 | into real code (@code{fortran-comment-region}). |
| 347 | @end table | 347 | @end table |
| 348 | 348 | ||
| 349 | @findex fortran-indent-comment | 349 | @kbd{M-;} in Fortran mode runs the standard @code{comment-dwim}. |
| 350 | @kbd{M-;} in Fortran mode is redefined as the command | 350 | This recognizes any kind of existing comment and aligns its text |
| 351 | @code{fortran-indent-comment}. Like the usual @kbd{M-;} command, this | 351 | appropriately; if there is no existing comment, a comment is inserted |
| 352 | recognizes any kind of existing comment and aligns its text appropriately; | 352 | and aligned. Inserting and aligning comments are not the same in |
| 353 | if there is no existing comment, a comment is inserted and aligned. But | 353 | Fortran mode as in other modes. |
| 354 | inserting and aligning comments are not the same in Fortran mode as in | ||
| 355 | other modes. | ||
| 356 | 354 | ||
| 357 | When a new comment must be inserted, if the current line is blank, a | 355 | When a new comment must be inserted, if the current line is blank, a |
| 358 | full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} | 356 | full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} |
| @@ -814,6 +814,7 @@ including `dired-do-query-replace-regexp', `vc-dir-query-replace-regexp', | |||
| 814 | *** The line length of fixed-form Fortran is not fixed at 72 any more. | 814 | *** The line length of fixed-form Fortran is not fixed at 72 any more. |
| 815 | Customize the variable `fortran-line-length' to change it. | 815 | Customize the variable `fortran-line-length' to change it. |
| 816 | 816 | ||
| 817 | +++ | ||
| 817 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, | 818 | *** In Fortran mode, M-; is now bound to the standard comment-dwim, |
| 818 | rather than fortran-indent-comment. | 819 | rather than fortran-indent-comment. |
| 819 | 820 | ||
| @@ -1119,6 +1120,7 @@ coding-system used for decoding. The functions | |||
| 1119 | `process-filter-multibyte-p' and `set-process-filter-multibyte' are | 1120 | `process-filter-multibyte-p' and `set-process-filter-multibyte' are |
| 1120 | obsolete. | 1121 | obsolete. |
| 1121 | 1122 | ||
| 1123 | --- | ||
| 1122 | ** The variable `byte-compile-warnings' can now be a list starting with `not', | 1124 | ** The variable `byte-compile-warnings' can now be a list starting with `not', |
| 1123 | meaning to disable the specified warnings. The meaning of this list | 1125 | meaning to disable the specified warnings. The meaning of this list |
| 1124 | may therefore be the reverse of what you expect (of course, this is | 1126 | may therefore be the reverse of what you expect (of course, this is |
| @@ -1208,6 +1210,7 @@ IDENTIFICATION specifies which part of the remote identifier has to be | |||
| 1208 | returned. With CONNECTED passed non-nil, it is checked whether a | 1210 | returned. With CONNECTED passed non-nil, it is checked whether a |
| 1209 | remote connection has been established already. | 1211 | remote connection has been established already. |
| 1210 | 1212 | ||
| 1213 | +++ | ||
| 1211 | ** The new macro `declare-function' suppresses compiler warnings about | 1214 | ** The new macro `declare-function' suppresses compiler warnings about |
| 1212 | undefined functions. | 1215 | undefined functions. |
| 1213 | 1216 | ||
| @@ -1633,6 +1636,7 @@ certain variable as having been made within Custom. | |||
| 1633 | 1636 | ||
| 1634 | ** The new package avl-tree.el deals with the AVL tree data structure. | 1637 | ** The new package avl-tree.el deals with the AVL tree data structure. |
| 1635 | 1638 | ||
| 1639 | +++ | ||
| 1636 | ** The new package check-declare.el verifies the accuracy of | 1640 | ** The new package check-declare.el verifies the accuracy of |
| 1637 | declare-function macros (see Lisp Changes, above). | 1641 | declare-function macros (see Lisp Changes, above). |
| 1638 | 1642 | ||