aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2008-08-21 05:48:32 +0000
committerGlenn Morris2008-08-21 05:48:32 +0000
commit87aae241a4afad18d155e1c7a6d94c95022ffe82 (patch)
tree9075cbab4fb478eb920057c7812b1407ac682e09
parent77a00355a7d024086ac9ab122719993ca62ed61e (diff)
downloademacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.tar.gz
emacs-87aae241a4afad18d155e1c7a6d94c95022ffe82.zip
(Fortran Comments): Replace fortran-indent-comment with comment-dwim.
-rw-r--r--doc/emacs/ChangeLog1
-rw-r--r--doc/emacs/fortran-xtra.texi14
-rw-r--r--etc/NEWS4
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 @@
12008-08-21 Glenn Morris <rgm@gnu.org> 12008-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
52008-08-17 Chong Yidong <cyd@stupidchicken.com> 62008-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-;
339Align comment or insert new comment (@code{fortran-indent-comment}). 339Align comment or insert new comment (@code{comment-dwim}).
340 340
341@item C-x ; 341@item C-x ;
342Applies to nonstandard @samp{!} comments only. 342Applies to nonstandard @samp{!} comments only.
@@ -346,13 +346,11 @@ Turn all lines of the region into comments, or (with argument) turn them back
346into real code (@code{fortran-comment-region}). 346into 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 350This recognizes any kind of existing comment and aligns its text
351@code{fortran-indent-comment}. Like the usual @kbd{M-;} command, this 351appropriately; if there is no existing comment, a comment is inserted
352recognizes any kind of existing comment and aligns its text appropriately; 352and aligned. Inserting and aligning comments are not the same in
353if there is no existing comment, a comment is inserted and aligned. But 353Fortran mode as in other modes.
354inserting and aligning comments are not the same in Fortran mode as in
355other 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
358full-line comment is inserted. On a non-blank line, a nonstandard @samp{!} 356full-line comment is inserted. On a non-blank line, a nonstandard @samp{!}
diff --git a/etc/NEWS b/etc/NEWS
index 0721d00b23e..298a4f06b3b 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
815Customize the variable `fortran-line-length' to change it. 815Customize 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,
818rather than fortran-indent-comment. 819rather 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
1120obsolete. 1121obsolete.
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',
1123meaning to disable the specified warnings. The meaning of this list 1125meaning to disable the specified warnings. The meaning of this list
1124may therefore be the reverse of what you expect (of course, this is 1126may 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
1208returned. With CONNECTED passed non-nil, it is checked whether a 1210returned. With CONNECTED passed non-nil, it is checked whether a
1209remote connection has been established already. 1211remote 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
1212undefined functions. 1215undefined 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
1637declare-function macros (see Lisp Changes, above). 1641declare-function macros (see Lisp Changes, above).
1638 1642