help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: fortran line width & comment


From: Glenn Morris
Subject: Re: fortran line width & comment
Date: Tue, 12 Jun 2007 12:32:48 -0700
User-agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/)

Stefan Monnier wrote:

> How could Emacs tell what is the value to use instead of 72 (or that
> there is not such value at all)? I.e. how do compilers know whether
> to interpret the code as f77 or something else?

I think that for distinguishing free and fixed form code, compilers
just go by file extension, which is what Emacs does too. But compilers
also tend to have an option (eg g77 has -ffixed-line-length-N) whereby
the line-length of fixed form can be specified as something other than
the default 72 (often 132). I keep meaning to add an emacs variable
that has the same effect.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]