From: Brooks Moses <brooks.moses@codesourcery.com>
Cc: emacs-devel@gnu.org
Subject: Re: Emacs and GFortran
Date: Tue, 14 Nov 2006 21:09:23 -0800 [thread overview]
Message-ID: <455AA103.5080308@codesourcery.com> (raw)
In-Reply-To: <17754.38861.243600.9872@kahikatea.snap.net.nz>
Nick Roberts wrote:
> > 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.
Oh, oops -- that's my fault; I edited the error message quoted in an old
post, rather than actually running it to generate a real message, and
missed the blank columns when I was hand-counting. The blanks would
very definitely be counted in a real error message. Thanks for catching
that!
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.
- Brooks
next prev parent reply other threads:[~2006-11-15 5:09 UTC|newest]
Thread overview: 88+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-10-30 10:32 Emacs and GFortran Angelo Graziosi
2006-10-30 14:15 ` Stefan Monnier
2006-10-30 15:27 ` Angelo Graziosi
2006-10-30 15:38 ` Stefan Monnier
2006-10-30 16:14 ` Steve Kargl
2006-10-30 18:28 ` Stefan Monnier
2006-10-30 20:35 ` Angelo Graziosi
2006-10-30 21:00 ` Tobias Burnus
2006-10-31 8:32 ` Angelo Graziosi
2006-10-31 10:54 ` Angelo Graziosi
2006-10-31 16:06 ` Stuart D. Herring
2006-10-31 23:24 ` Angelo Graziosi
2006-10-30 21:16 ` Nick Roberts
2006-10-30 19:16 ` Richard Stallman
2006-10-30 21:13 ` Steve Kargl
2006-10-31 4:02 ` Miles Bader
2006-10-31 4:31 ` Eli Zaretskii
2006-10-31 4:31 ` Steve Kargl
2006-10-31 22:07 ` Eli Zaretskii
2006-11-01 2:13 ` Richard Stallman
2006-11-01 2:16 ` Miles Bader
2006-10-31 6:11 ` Stefan Monnier
2006-10-31 6:43 ` FX Coudert
2006-11-01 2:14 ` Richard Stallman
2006-11-01 2:23 ` Miles Bader
2006-10-31 8:26 ` Angelo Graziosi
2006-10-31 15:10 ` Steve Kargl
2006-10-31 15:47 ` Angelo Graziosi
2006-10-31 16:00 ` Chong Yidong
2006-11-01 16:40 ` Richard Stallman
2006-11-01 17:37 ` Warren Turkal
2006-11-01 18:03 ` Steve Kargl
2006-11-01 20:37 ` Stefan Monnier
2006-11-01 20:39 ` Alfred M. Szmidt
2006-11-01 21:30 ` Steve Kargl
2006-11-01 21:51 ` Alfred M. Szmidt
2006-11-01 22:35 ` Steve Kargl
2006-11-01 22:49 ` Alfred M. Szmidt
2006-11-01 23:26 ` Steve Kargl
2006-11-01 23:35 ` Alfred M. Szmidt
2006-11-02 3:12 ` Steve Kargl
2006-11-03 2:40 ` Chong Yidong
2006-11-03 3:32 ` Steve Kargl
2006-11-03 10:05 ` David Kastrup
2006-11-03 2:44 ` Chong Yidong
2006-11-02 13:26 ` Alfred M. Szmidt
2006-11-02 19:00 ` Thomas Koenig
2006-11-02 20:22 ` Eli Zaretskii
2006-11-02 20:32 ` David Kastrup
2006-11-03 13:26 ` Eli Zaretskii
2006-11-02 20:38 ` Thomas Koenig
2006-11-02 20:43 ` Steve Kargl
2006-11-03 12:30 ` Eli Zaretskii
2006-11-03 12:58 ` David Kastrup
2006-11-03 13:40 ` Eli Zaretskii
2006-11-02 22:27 ` François-Xavier Coudert
2006-11-03 12:51 ` Eli Zaretskii
2006-11-03 0:43 ` Steven Bosscher
2006-11-03 1:08 ` Alfred M. Szmidt
2006-11-03 1:21 ` Steve Kargl
2006-11-03 2:32 ` Brooks Moses
2006-11-03 18:59 ` Nick Roberts
2006-11-03 20:27 ` Brooks Moses
2006-11-15 4:09 ` Brooks Moses
2006-11-15 4:30 ` Nick Roberts
2006-11-15 5:09 ` Brooks Moses [this message]
2006-11-15 7:57 ` Nick Roberts
2006-11-15 9:03 ` David Kastrup
2006-11-15 8:43 ` David Kastrup
2006-11-15 9:14 ` Andrew Pinski
2006-11-15 9:16 ` David Kastrup
2006-11-16 6:23 ` Richard Stallman
2006-11-03 7:06 ` Steven Bosscher
2006-11-03 13:10 ` Eli Zaretskii
2006-11-04 6:37 ` Richard Stallman
2006-11-03 13:05 ` Eli Zaretskii
2006-10-31 23:01 ` Eli Zaretskii
2006-11-02 22:20 ` Paul Thomas
2006-11-03 12:45 ` Eli Zaretskii
2006-11-03 13:14 ` David Kastrup
2006-11-03 13:42 ` Eli Zaretskii
[not found] <45462048.8020102@net-b.de>
[not found] ` <20061030161402.15694.qmail@web81209.mail.mud.yahoo.com>
2006-10-30 16:18 ` François-Xavier Coudert
2006-10-31 1:59 ` Miles Bader
2006-10-31 2:46 ` Steve Kargl
2006-10-31 3:49 ` Miles Bader
2006-10-31 4:23 ` Steve Kargl
2006-10-31 5:39 ` stephen
2006-10-31 16:40 ` Alfred M. Szmidt
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=455AA103.5080308@codesourcery.com \
--to=brooks.moses@codesourcery.com \
--cc=emacs-devel@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.