]> git.eshelyaron.com Git - emacs.git/commitdiff
*** empty log message ***
authorGlenn Morris <rgm@gnu.org>
Tue, 29 Mar 2005 19:11:30 +0000 (19:11 +0000)
committerGlenn Morris <rgm@gnu.org>
Tue, 29 Mar 2005 19:11:30 +0000 (19:11 +0000)
etc/NEWS
lisp/ChangeLog
man/ChangeLog

index f634e65e84776b9c81fcc2425cf9dbbb0e50fce0..c3134d088809aaca3d283a782055e1a0c559eaf7 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -2252,17 +2252,23 @@ from the file name or buffer contents.
 ---
 ** Perl mode has a new variable `perl-indent-continued-arguments'.
 
+---
+** Fortran mode does more font-locking by default. Use level 3
+highlighting for the old default.
+
 +++
 ** Fortran mode has a new variable `fortran-directive-re'.
 Adapt this to match the format of any compiler directives you use.
 Lines that match are never indented, and are given distinctive font-locking.
 
 +++
-** F90 mode has new navigation commands `f90-end-of-block',
-`f90-beginning-of-block', `f90-next-block', `f90-previous-block'.
+** F90 mode and Fortran mode have new navigation commands
+`f90-end-of-block', `f90-beginning-of-block', `f90-next-block',
+`f90-previous-block', `fortran-end-of-block',
+`fortran-beginning-of-block'.
 
 ---
-** F90 mode now has support for hs-minor-mode (hideshow).
+** F90 mode and Fortran mode have support for hs-minor-mode (hideshow).
 It cannot deal with every code format, but ought to handle a sizeable
 majority.
 
index ce58cde5d3f64c0386b14827a83a0e27a5222fa9..6b623469eea4544aea9bf52efb57becfa5e37e31 100644 (file)
@@ -1,5 +1,17 @@
 2005-03-29  Glenn Morris  <gmorris@ast.cam.ac.uk>
 
+       * progmodes/fortran.el (fortran-if-indent): Doc fix.
+       (fortran-font-lock-keywords-2): Add "where", "elsewhere".
+       (fortran-font-lock-keywords-4): New variable.
+       (fortran-blocks-re, fortran-end-block-re)
+       (fortran-start-block-re): New constants, for hideshow.
+       (hs-special-modes-alist): Add a Fortran entry.
+       (fortran-mode-map): Bind fortran-end-of-block,
+       fortran-beginning-of-block to \M-\C-n, \M-\C-p.
+       (fortran-mode): Doc fix. Add fortran-font-lock-keywords-4.
+       (fortran-looking-at-if-then, fortran-end-of-block)
+       (fortran-beginning-of-block): New functions, for hideshow.
+
        * progmodes/f90.el (f90-end-block-re, f90-start-block-re): Doc
        fix. Tweak regexp.
        (f90-beginning-of-block): Push mark first.
index cde6f8ebf10944d57f986caeab3307a16da35f11..ec6fbbdcced80ee040976f530cdea1899a8f4190 100644 (file)
@@ -15,6 +15,8 @@
 
        * programs.texi (ForIndent Vars): `fortran-if-indent' does other
        constructs as well.
+       (Fortran Motion): Add fortran-end-of-block,
+       fortran-beginning-of-block.
 
 2005-03-29  Kenichi Handa  <handa@m17n.org>