This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: Emacs and GFortran
- From: "Stuart D. Herring" <herring at lanl dot gov>
- To: "Angelo Graziosi" <Angelo dot Graziosi at roma1 dot infn dot it>
- Cc: "Tobias Burnus" <burnus at net-b dot de>, fortran at gcc dot gnu dot org, emacs-devel at gnu dot org
- Date: Tue, 31 Oct 2006 08:06:14 -0800 (PST)
- Subject: Re: Emacs and GFortran
- References: <45466804.4050608@net-b.de> <Pine.OSF.4.21.0610311149400.16615-100000@ax0rm1.roma1.infn.it>
- Reply-to: herring at lanl dot gov
> (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.