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



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.


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