From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nick Roberts Newsgroups: gmane.comp.gcc.fortran,gmane.emacs.devel Subject: Re: Emacs and GFortran Date: Wed, 15 Nov 2006 17:30:05 +1300 Message-ID: <17754.38861.243600.9872@kahikatea.snap.net.nz> References: <20061102190005.GA6116@meiner.onlinehome.de> <200611030143.30545.steven.bosscher@gmail.com> <20061103010817.EA39144018@Psilocybe.Update.UU.SE> <20061103012103.GA49976@troutmask.apl.washington.edu> <454AAA57.7090301@stanford.edu> <17739.37240.440687.793284@kahikatea.snap.net.nz> <455A92E5.4000404@codesourcery.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1163565264 11762 80.91.229.2 (15 Nov 2006 04:34:24 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 04:34:24 +0000 (UTC) Cc: emacs-devel@gnu.org, fortran@gcc.gnu.org Original-X-From: fortran-return-15795-gcgf-fortran=m.gmane.org@gcc.gnu.org Wed Nov 15 05:34:21 2006 Return-path: Envelope-to: gcgf-fortran@gmane.org Original-Received: from sourceware.org ([209.132.176.174]) by ciao.gmane.org with smtp (Exim 4.43) id 1GkCTZ-0002C7-65 for gcgf-fortran@gmane.org; Wed, 15 Nov 2006 05:34:17 +0100 Original-Received: (qmail 25891 invoked by alias); 15 Nov 2006 04:34:14 -0000 Original-Received: (qmail 25883 invoked by uid 22791); 15 Nov 2006 04:34:13 -0000 X-Spam-Status: No, hits=-2.5 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Original-Received: from viper.snap.net.nz (HELO viper.snap.net.nz) (202.37.101.8) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Nov 2006 04:34:07 +0000 Original-Received: from kahikatea.snap.net.nz (p202-124-125-100.snap.net.nz [202.124.125.100]) by viper.snap.net.nz (Postfix) with ESMTP id 7D3403D82B8; Wed, 15 Nov 2006 17:34:25 +1300 (NZDT) Original-Received: by kahikatea.snap.net.nz (Postfix, from userid 500) id CD13DBE3F0; Wed, 15 Nov 2006 17:30:06 +1300 (NZDT) Original-To: Brooks Moses In-Reply-To: <455A92E5.4000404@codesourcery.com> X-Mailer: VM 7.19 under Emacs 22.0.90.14 Mailing-List: contact fortran-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Post: List-Help: , Original-Sender: fortran-owner@gcc.gnu.org Xref: news.gmane.org gmane.comp.gcc.fortran:15764 gmane.emacs.devel:62316 Archived-At: > > > The attached only-slightly-less-trivial patch should fix the > > > regressions, although I have not yet tested it to confirm that. > > > > I guess I'm pushing my luck with current feelings, but would it be > > possible to add the column number? > > FYI: I just committed a patch to the GCC 4.2 and 4.3 branches that > provides column numbers in the error messages. The format is as per the > following example: > > ~/temp/>gfortran hello.F > hello.F:3.6: > > write(*,) 'Hello!' > > 1 > Error: Syntax error in WRITE statement at (1) Thanks, but the error seems to be in column 11 i.e in Emacs the first column is 0 and the first six (blank) columns are counted too. -- Nick http://www.inet.net.nz/~nickrob