From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: David Kastrup Newsgroups: gmane.comp.gcc.fortran,gmane.emacs.devel Subject: Re: Emacs and GFortran Date: Wed, 15 Nov 2006 09:43:13 +0100 Message-ID: <85irhhksm6.fsf@lola.goethe.zz> 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> <17754.38861.243600.9872@kahikatea.snap.net.nz> <455AA103.5080308@codesourcery.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1163580224 15833 80.91.229.2 (15 Nov 2006 08:43:44 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Nov 2006 08:43:44 +0000 (UTC) Cc: emacs-devel@gnu.org, fortran@gcc.gnu.org Original-X-From: fortran-return-15801-gcgf-fortran=m.gmane.org@gcc.gnu.org Wed Nov 15 09:43:42 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 1GkGMs-00021E-JY for gcgf-fortran@gmane.org; Wed, 15 Nov 2006 09:43:39 +0100 Original-Received: (qmail 24807 invoked by alias); 15 Nov 2006 08:43:35 -0000 Original-Received: (qmail 24799 invoked by uid 22791); 15 Nov 2006 08:43:35 -0000 X-Spam-Status: No, hits=-2.2 required=5.0 tests=AWL,BAYES_00,SPF_PASS X-Spam-Check-By: sourceware.org Original-Received: from fencepost.gnu.org (HELO fencepost.gnu.org) (199.232.76.164) by sourceware.org (qpsmtpd/0.31) with ESMTP; Wed, 15 Nov 2006 08:43:29 +0000 Original-Received: from localhost ([127.0.0.1] helo=lola.goethe.zz) by fencepost.gnu.org with esmtp (Exim 4.34) id 1GkGMh-0006G6-2A; Wed, 15 Nov 2006 03:43:27 -0500 Original-Received: by lola.goethe.zz (Postfix, from userid 1002) id 2F2D81CE24FF; Wed, 15 Nov 2006 09:43:13 +0100 (CET) Original-To: Brooks Moses In-Reply-To: <455AA103.5080308@codesourcery.com> (Brooks Moses's message of "Tue\, 14 Nov 2006 21\:09\:23 -0800") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.90 (gnu/linux) 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:15770 gmane.emacs.devel:62326 Archived-At: Brooks Moses writes: > There is still an off-by-one error; we number the first column as 1 > rather than 0. Given that there's a very strong tradition in > Fortran of numbering columns starting with 1, and that off-by-one > errors in column location are within the noise level of locating > things (given that nearly all errors are several columns wide), I > think it makes more sense overall to keep it the way it currently > is. I don't actually agree: the error message already contains a human-readable column indicator in form of the single 1 in the line below. The numeric column number is for the sake of computers and in a computer-readable format, so it would make sense to have it look just like expected from this format. Personally, I find it sort of weird to start lines with 1 and columns with 0, but the point of a machine-readable format is that everybody does it the same. I'd suggest that column 1 in Fortran is just called column 1 because column 0 contains the ASA print control character , but then I'd sound silly... -- David Kastrup, Kriemhildstr. 15, 44793 Bochum