This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Emacs and GFortran


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]