[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to update major modes?
From: |
Jared Ahern |
Subject: |
Re: How to update major modes? |
Date: |
Wed, 24 Oct 2007 00:12:36 -0400 |
Hey, that's great! Sorry, I've been traveling and haven't had a
chance to work on this yet. The only things that I happen to notice
(I haven't looked for too many keywords) are:
1) On initialization expressions, all of the stuff on the RHS of the
'=' sign are in the same color - I'm not sure if it would be better
to hilite the keywords, etc...
2) DEFAULT when it follows CASE is a keyword, or close enough
3) ... same with IN/OUT/INOUT in INTENT() expressions
4) Syntax coloring may fail across lines continued with '&'
5) TYPE(...) declarations are now hilited (great!), but this is done
differently than REAL() and INTEGER(); I'd much prefer this over
nothing, so not a huge deal.
6) INTRINSIC (and NON_INTRINSIC ?) kills the rest of the normal
syntax hiliting on a USE statement; also not a big problem
Thanks for working on this! I figured I was about the only one who
cared about the Fortran mode these days. The list above are just my
thoughts; I'll work on them at some point if you are too busy, unless
someone disagrees with my take on things. I don't mean to make
demands or anything.
On a side note, in TeX-mode, you can insert '\end{...whatever...}'
with C-C C-E, much like typing 'END' and then TAB in F90. How would
I bind the latter to the former's key combo in my .emacs? I keep
going back and forth doing the wrong one...
Thanks!
Jared
On Oct 22, 2007, at 4:22 AM, Glenn Morris wrote:
Glenn Morris wrote:
For the specific case of Fortran, just post the missing F2003
keywords
(it recognizes all the F95 ones AFAIK) and I'll add them.
I've just added a lot (not yet all) of Fortran 2003 syntax to the
development version of f90.el.
http://cvs.savannah.gnu.org/viewvc/emacs/lisp/progmodes/f90.el?
root=emacs&view=markup