From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.help Subject: Re: Autoconf autotest compilation-error-regexp Date: Sun, 18 Nov 2012 19:36:59 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1353263832 3294 80.91.229.3 (18 Nov 2012 18:37:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 18 Nov 2012 18:37:12 +0000 (UTC) To: Emacs Users Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Nov 18 19:37:24 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Ta9kA-0002o4-ER for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Nov 2012 19:37:22 +0100 Original-Received: from localhost ([::1]:33562 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta9k0-0003Bt-AM for geh-help-gnu-emacs@m.gmane.org; Sun, 18 Nov 2012 13:37:12 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:55461) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta9jr-00030z-Lv for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 13:37:06 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ta9jo-0001Kl-Jc for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 13:37:03 -0500 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:54320) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ta9jo-0001Kd-Em for help-gnu-emacs@gnu.org; Sun, 18 Nov 2012 13:37:00 -0500 Original-Received: by mail-ob0-f169.google.com with SMTP id lz20so4790266obb.0 for ; Sun, 18 Nov 2012 10:36:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:content-type :content-transfer-encoding; bh=jfLWyIf8UyFZoquUOfZSxxYt68eR9fPiIGTJxymBoMQ=; b=xJCKu35UHmShUPisYfMhPuKzjLs+ihzD55g7JRiEyQA01EWviwgYOwACEd5UL5fNwn kmpxEnIPJ/UL9ZSaOWTin0ktcsojONIhi++/i+vwxpCrNSFGpnlg7mv3ALlljIfXczQH 2LjQRj2cwXk92iGED21B+7LvJuXX0v/UseOAyCa3ub/cm9WhM5he4zKpzqzSoCev70Vs 9vT52DcDIFKdTduXqx+PwRGaXuSfKko6vq3u1CqffQuSZPFk8Qu1Br/y6SmwX+yhHnZZ 7SdHwh2H0X7educXDrF9leQOEtOMgQQqZp6RB4YxJiWbYq+1uIvNM9zsDEHYFH4VonwL dlcw== Original-Received: by 10.182.17.72 with SMTP id m8mr8602010obd.55.1353263819643; Sun, 18 Nov 2012 10:36:59 -0800 (PST) Original-Received: by 10.76.81.170 with HTTP; Sun, 18 Nov 2012 10:36:59 -0800 (PST) In-Reply-To: X-Google-Sender-Auth: 51vcAqym9N5L2-l6q6tZk0-YepI X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-Received-From: 209.85.214.169 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:87764 Archived-At: On Sun, Nov 18, 2012 at 1:06 PM, Nikolai Weibull wrote: > Has anyone written any autoconf autotest compilation-error-regexps? I > can=E2=80=99t seem to get it to work. I managed to get some time to put something together that works OK: (add-to-list 'compilation-error-regexp-alist-alist '(autotest-header "^\\([1-9][0-9]*\\. \\([^\n :]+\\.at\\):\\([1-9][0-9]*\\)\\): \\(?: FAILED\\|WARNIN\\(G\\)\\|\\(testing\\| ok\\)\\)" 2 3 nil (4 . 5) 1)) (add-to-list 'compilation-error-regexp-alist 'autotest-header) (add-to-list 'compilation-error-regexp-alist-alist '(autotest-check-error "^\\(\\([^\n :]+\\.at\\):\\([1-9][0-9]*\\)\\): [^\n]+\n\\(?:\\([^-]\\)\\|--- \\)" 2 3 nil (nil . 4) 1)) (add-to-list 'compilation-error-regexp-alist 'autotest-check-error) I=E2=80=99m sure it can be improved, but this currently seems to work fine = for my needs.