Emacs and GFortran

Nick Roberts nickrob@snap.net.nz
Fri Nov 3 19:03:00 GMT 2006


Brooks Moses writes:
 > Steve Kargl wrote:
 > > I have stated more than once THE TRIVIAL FIX DOES NOT WORK.
 > > It causes REGRESSIONS in the gfortran testsuite.  If someone
 > > wants to fix whatever is causing the regressions, I'll be more
 > > than happy to commit the patch.
 > 
 > 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?

[Previously I wrote:

  The original error message you posted had column number information in the
  error output too:

     gfortran hello.F
      In file hello.F:3

           write(*,) 'Hello!'                                                
                1
     Error: Syntax error in WRITE statement at (1)

  it would be nice to be able to use this too.  I think gcc outputs kind of
  information as something like:

  hello.c:3:13: error: blah, blah, blah...

  Emacs can then place the cursor in the relevant column when visiting an error
  (and Vim probably does something similar too).]



-- 
Nick                                           http://www.inet.net.nz/~nickrob



More information about the Fortran mailing list