Mercurial > emacs
changeset 61109:2a3dcfbeb0e6
*** empty log message ***
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Tue, 29 Mar 2005 19:11:30 +0000 |
parents | 6ce7613a2c0e |
children | a1569f3fbb77 |
files | etc/NEWS lisp/ChangeLog man/ChangeLog |
diffstat | 3 files changed, 25 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/etc/NEWS Tue Mar 29 19:07:36 2005 +0000 +++ b/etc/NEWS Tue Mar 29 19:11:30 2005 +0000 @@ -2252,17 +2252,23 @@ --- ** 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 now has support for hs-minor-mode (hideshow). +** 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 and Fortran mode have support for hs-minor-mode (hideshow). It cannot deal with every code format, but ought to handle a sizeable majority.
--- a/lisp/ChangeLog Tue Mar 29 19:07:36 2005 +0000 +++ b/lisp/ChangeLog Tue Mar 29 19:11:30 2005 +0000 @@ -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.
--- a/man/ChangeLog Tue Mar 29 19:07:36 2005 +0000 +++ b/man/ChangeLog Tue Mar 29 19:11:30 2005 +0000 @@ -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>