Emacs and GFortran

Stuart D. Herring herring@lanl.gov
Tue Oct 31 17:58:00 GMT 2006


> (eval-after-load "compile"
>    '(setq compilation-error-regexp-alist
>        (cons '("^\\(?:In\\| In\\) file \\(.+\\):\\([0-9]+\\)" 1 2)
>           compilation-error-regexp-alist)))

No reason for a regexp group here: just begin it with "^ ?In file", or
perhaps even "^ *In file", "^[\t\n ]*In file", or "^\s-*In file",
depending on the generality desired (and, in the last case, on the syntax
table for Compilation mode).

Davis

-- 
This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during
shipping.



More information about the Fortran mailing list