From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.help Subject: Re: fortran line width & comment Date: Tue, 12 Jun 2007 12:32:48 -0700 Organization: None Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1181677278 24228 80.91.229.12 (12 Jun 2007 19:41:18 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 12 Jun 2007 19:41:18 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 12 21:41:16 2007 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HyCEt-00033X-OH for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 21:41:15 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HyCEt-0001ku-An for geh-help-gnu-emacs@m.gmane.org; Tue, 12 Jun 2007 15:41:15 -0400 Original-Path: shelby.stanford.edu!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Original-NNTP-Posting-Host: xoc2.stanford.edu Original-X-Trace: news.Stanford.EDU 1181676768 17414 171.64.109.31 (12 Jun 2007 19:32:48 GMT) Original-X-Complaints-To: news@news.stanford.edu X-Spook: La Cosa Nostra EZLN gold bullion Kach anonymous hydrogen X-Ran: zqOn:moqa)t$C+wzp>4aMu.F X-Hue: white X-Attribution: GM Mail-Copies-To: nobody User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) Cancel-Lock: sha1:ZNPPAQufy5hEgkMLbCfxr00LeHg= Original-Xref: shelby.stanford.edu gnu.emacs.help:149378 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:44964 Archived-At: 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.