From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Arjan Bos Newsgroups: gmane.emacs.help Subject: Compilation error regexp alist doesn't match my compiler anymor Date: Tue, 25 May 2004 19:13:07 +0200 Organization: Planet Internet Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: Reply-To: Arjan.Bos@ISeeYou.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1085505731 26921 80.91.224.253 (25 May 2004 17:22:11 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 25 May 2004 17:22:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue May 25 19:22:01 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BSfcm-0000Mg-00 for ; Tue, 25 May 2004 19:22:01 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1BSfYf-0004zn-Is for geh-help-gnu-emacs@m.gmane.org; Tue, 25 May 2004 13:17:45 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.uchicago.edu!yellow.newsread.com!netaxs.com!newsread.com!feed3.newsreader.com!newsreader.com!border2.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!transit.nntp.hccnet.nl!newsfeeder.wxs.nl!textnews.wxs.nl!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 44 Original-NNTP-Posting-Host: ip51cd7a2f.adsl-surfen.hetnet.nl Original-X-Trace: reader08.wxs.nl 1085505696 7129 81.205.122.47 (25 May 2004 17:21:36 GMT) Original-X-Complaints-To: abuse@planet.nl Original-NNTP-Posting-Date: 25 May 2004 17:21:36 GMT User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.6) Gecko/20040113 X-Accept-Language: en-us, en Original-Xref: shelby.stanford.edu gnu.emacs.help:123429 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.4 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:18728 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:18728 Hi all, On the 23rd of May 2004, I checked out from cvs and compiled a new version of Emacs. It's for MacOSX --with-carbon --without-x Unfortunately, it does not match the output of my compiler anymore. How do I customize the appropriate alists so that it does match it? I tried to read the documentation for compilation-error-regexp-alist and compilation-error-regexp-alist-alist and the documentation of list, cons and append, but even this combined couldn't help me enough to make the appropriate entry in my .emacs by myself. A sample compilation output is: Classification.nrx: method getUserObject Classification.nrx: method delete Classification.nrx: 965 if this.getPublishedSubSchemes().size() \= null then Classification.nrx: ^ Classification.nrx: Error: Cannot compare primitive type 'int' to object reference type 'null' Classification.nrx: method getDeletable 'Classification.nrx' is the file name and '965' is the line number. So "^\\(.*\\.nrx:\\)[ \\t]*\\([0-9]+\\)" should be able to match it. But then I'm lost in lists. Any thoughts on matching the above sample output? btw: I remember a posting to gnu.emacs.sources a few months ago about a new compile.el but since it stated that all the then current matchings should be matched by the new system I didn't pay it any attention. It seems that this is what is costing me ;-) TIA, Arjan -- -- If you really want to contact me, then replace the "I see you" text by its real value, the single word "het net". Fabricate Diem PVNC, Motto of the Night Watch -- Terry Pratchett