emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Emacs and GFortran


From: Angelo Graziosi
Subject: Re: Emacs and GFortran
Date: Wed, 1 Nov 2006 00:24:41 +0100 (MET)


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. 


Many thanks,

   Angelo.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]