all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: berniep <bap678@hotmail.com>
To: Help-gnu-emacs@gnu.org
Subject: Re: fortran line width & comment
Date: Fri, 18 Jul 2008 07:44:11 -0700 (PDT)	[thread overview]
Message-ID: <18530859.post@talk.nabble.com> (raw)
In-Reply-To: <xmodjrzhuw.fsf@xoc2.stanford.edu>


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.





  parent reply	other threads:[~2008-07-18 14:44 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.1731.1181224869.32220.help-gnu-emacs@gnu.org>
2007-06-07 19:26 ` fortran line width & comment Glenn Morris
2007-06-12 14:10   ` Stefan Monnier
2007-06-12 19:32     ` Glenn Morris
2008-07-18 14:44   ` berniep [this message]
     [not found]   ` <mailman.15010.1216429221.18990.help-gnu-emacs@gnu.org>
2008-07-19  1:33     ` Glenn Morris
2008-07-28 20:32       ` berniep
2007-06-07 12:58 tunti

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=18530859.post@talk.nabble.com \
    --to=bap678@hotmail.com \
    --cc=Help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.