From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Reto Zimmermann Newsgroups: gmane.emacs.devel Subject: Re: filename with new compile.el Date: Mon, 08 Oct 2012 14:55:57 +0200 Message-ID: <5072CD5D.8080402@synopsys.com> References: <506C7E6A.7010702@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1349700973 478 80.91.229.3 (8 Oct 2012 12:56:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 8 Oct 2012 12:56:13 +0000 (UTC) Cc: emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 08 14:56:19 2012 Return-path: Envelope-to: ged-emacs-devel@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 1TLCsV-00078B-P6 for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2012 14:56:11 +0200 Original-Received: from localhost ([::1]:44573 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCsP-0000lD-KR for ged-emacs-devel@m.gmane.org; Mon, 08 Oct 2012 08:56:05 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55524) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCsN-0000kw-6W for emacs-devel@gnu.org; Mon, 08 Oct 2012 08:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TLCsL-0000Xq-Mn for emacs-devel@gnu.org; Mon, 08 Oct 2012 08:56:03 -0400 Original-Received: from us02smtp2.synopsys.com ([198.182.60.77]:45967 helo=alvesta.synopsys.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TLCsL-0000Xd-Gm for emacs-devel@gnu.org; Mon, 08 Oct 2012 08:56:01 -0400 Original-Received: from mailhost.synopsys.com (mailhost3.synopsys.com [10.12.238.238]) by alvesta.synopsys.com (Postfix) with ESMTP id C4D6016BB14; Mon, 8 Oct 2012 05:55:58 -0700 (PDT) Original-Received: from mailhost.synopsys.com (localhost [127.0.0.1]) by mailhost.synopsys.com (Postfix) with ESMTP id B88159AC; Mon, 8 Oct 2012 05:55:58 -0700 (PDT) Original-Received: from [10.225.2.87] (reto-e6420.internal.synopsys.com [10.225.2.87]) by mailhost.synopsys.com (Postfix) with ESMTP id 1E4F79AB; Mon, 8 Oct 2012 05:55:57 -0700 (PDT) User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:15.0) Gecko/20120907 Thunderbird/15.0.1 In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 198.182.60.77 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:154230 Archived-At: Stefan Monnier wrote: >> In the old compile.el there was variable compilation-file-regexp-alist >> for this purpose. > > By "old" you mean the one in Emacs < 22, right? Right. >> From the comments for variable compilation-error-regexp-alist it >> sounds like this type of filename parsing is still possible but >> I can't figure out how. There doesn't seem to be an example for this >> in the predefined regexp settings. > > IIUC the way it works is that you have one regexp that matches the > message with the file name (can have nil for its LINE/COLUMN info), and > then have another that matches the messages without file name (this one > will have nil for the FILE part but presumably non-nil for the LINE and > maybe COLUMN part). Okay, I figured it out now. Thanks for the help. Reto