help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: compilation-error-regexp-alist syntax problems


From: Daniel Pfeiffer
Subject: Re: compilation-error-regexp-alist syntax problems
Date: Fri, 6 Feb 2004 23:03:25 +0100

Hi,

Roy Smith <roy@panix.com> skribis:

> I'm running ant as my M-X compile command, and trying to get next-error
> to parse the output correctly.  The line I want to parse looks like:
> 
>     [javac] fileName:lineNumber: message
> 
> An example being:
> 
>     [javac]
>     /Users/roy/Muse/sandbox.tip/src/SnmpBugDb/data/scripts/test/DataBaseTes
>     tCase.java:20: unreported exception java.io.IOException; must be caught
>     or declared to be thrown

Recent versions of Emacs have copied a fantasy regexp, purporting to match
this, from the ant site.  Like a few other regexps in there, it doesnt' work
as
advertised.

Since the end of last year I have developed a new compilation mode for Emacs. 
It is more robust and matches a lot more than before -- including ant output. 
If you have a CVS Emacs only a few months old, get it from

http://dapfy.bei.t-online.de/compile.el

and to get an idea of what this will match

http://dapfy.bei.t-online.de/compilation.txt

best regards
Daniel


reply via email to

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