From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Newton Newsgroups: gmane.emacs.help Subject: Re: matching different line number format in grep-mode Date: Wed, 27 Jun 2012 01:31:37 -0700 (PDT) Organization: http://groups.google.com Message-ID: References: <05f99423-1d91-42f7-94a3-ab34fce3a2fd@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: dough.gmane.org 1340786116 19350 80.91.229.3 (27 Jun 2012 08:35:16 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 27 Jun 2012 08:35:16 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 27 10:35:16 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 1SjniU-0001Dt-QD for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2012 10:35:14 +0200 Original-Received: from localhost ([::1]:54103 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjniU-0002y6-Dx for geh-help-gnu-emacs@m.gmane.org; Wed, 27 Jun 2012 04:35:14 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 19 Original-NNTP-Posting-Host: 213.131.238.28 Original-X-Trace: posting.google.com 1340785898 16190 127.0.0.1 (27 Jun 2012 08:31:38 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Wed, 27 Jun 2012 08:31:38 +0000 (UTC) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.131.238.28; posting-account=hcE4OwoAAADycW4UgYxbAF_GOWiPYhXJ User-Agent: G2/1.0 Original-Xref: usenet.stanford.edu gnu.emacs.help:193110 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:85505 Archived-At: Thanks Stephan, this is on the right track. can you show me how to do this with define-compilation-mode? Jim On Monday, June 25, 2012 6:04:57 PM UTC+2, Stefan Monnier wrote: > > I have an application which prints line number information not in the > > standard grep format but as follows. > > > at line 302 in file /full/path/to/file.ext > > > Is there something I can do to the variable compilation-error-regexp-alist-alist > > which will cause grep-mode to also find these lines? > > Does it have to be grep-mode? If you can use compilation-mode, than > adding the relevant regexp to compilation-error-regexp-alist should > be sufficient. Otherwise you might want to use define-compilation-mode.