[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fortran line width & comment
From: |
berniep |
Subject: |
Re: fortran line width & comment |
Date: |
Fri, 18 Jul 2008 07:44:11 -0700 (PDT) |
I tried the "setq" directive and it doesn't work for me. I don't see anywhree
in the fortran.el where this is defined.
Has this or any other solution worked for anyoone?
Using emacs 21.3.1 on Redhat.
Glenn Morris-5 wrote:
>
> tunti wrote:
>
>> I edit fortran files with emacs. commented lines are coloured and
>> everything else works nice, but one thing makes me crazy:
>>
>> when line reaches width greater than 72 characters, the rest of the
>> line is considered as comment. this messes up the colouring of the
>> rest of the lines in the file.
>>
>> is there any way to me to make emacs NOT colour the rest of the line
>> as a comment ?
>
> (setq fortran-font-lock-syntactic-keywords
> '(("^[cd\\*]" 0 (11))))
>
> Or copy the definition from fortran.el and change "71" in the second
> element to whatever value you want. It should be easier to customize
> this, sorry.
>
> Or use f90-mode rather than fortran-mode if you are actually writing
> free-form code.
> _______________________________________________
> help-gnu-emacs mailing list
> help-gnu-emacs@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-gnu-emacs
>
>
--
View this message in context:
http://www.nabble.com/fortran-line-width---comment-tp11007454p18530859.html
Sent from the Emacs - Help mailing list archive at Nabble.com.
- Re: fortran line width & comment,
berniep <=