This is the mail archive of the
mailing list for the GNU Fortran project.
Re: Emacs and GFortran
- From: Angelo Graziosi <Angelo dot Graziosi at roma1 dot infn dot it>
- To: "Stuart D. Herring" <herring at lanl dot gov>
- Cc: Tobias Burnus <burnus at net-b dot de>, fortran at gcc dot gnu dot org, emacs-devel at gnu dot org
- Date: Wed, 1 Nov 2006 00:24:41 +0100 (MET)
- Subject: Re: Emacs and GFortran
On Tue, 31 Oct 2006, Stuart D. Herring wrote:
> > (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).
I am not an expert of Elisp code and found that workaround "by tries"
after looking at 'compile.el'.
Your suggestions are more elegant and concise.