For Programmers: Free Programming Magazines  


Home > Archive > Fortran > February 2008 > emacs support for Fortran 77









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author emacs support for Fortran 77
deltaquattro

2008-02-18, 7:22 pm

Hi guys,

I'm trying emacs as an editor for F77. It seems that it doesn't
highlight code written outside columns 6-72, unlike nedit and gvim. Is
there a way to get this highlighting? Thanks,

best regards,

deltaquattro

Glenn Morris

2008-02-19, 10:15 pm

deltaquattro wrote:

> I'm trying emacs as an editor for F77. It seems that it doesn't
> highlight code written outside columns 6-72, unlike nedit and gvim. Is
> there a way to get this highlighting? Thanks,


You haven't said which version of Emacs. In GNU Emacs 22, highlighting
is on by default. In GNU Emacs 21, you have to enable it (e.g. with M-x
font-lock-mode). In both cases, text beyond column 72 is fontified as a
comment in fortran-mode. (In the CVS trunk, the line-length is
customizable.)

(You may in general have better luck with Emacs questions on one of the
Emacs newsgroups.)
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com