From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.help Subject: Re: matching different line number format in grep-mode Date: Mon, 25 Jun 2012 12:04:57 -0400 Message-ID: References: <05f99423-1d91-42f7-94a3-ab34fce3a2fd@googlegroups.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1340640314 24169 80.91.229.3 (25 Jun 2012 16:05:14 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 25 Jun 2012 16:05:14 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jun 25 18:05:14 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 1SjBmr-0008Bl-Cr for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2012 18:05:13 +0200 Original-Received: from localhost ([::1]:44349 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SjBmr-0000IG-7q for geh-help-gnu-emacs@m.gmane.org; Mon, 25 Jun 2012 12:05:13 -0400 Original-Path: usenet.stanford.edu!postnews.google.com!news2.google.com!npeer01.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!post01.iad.highwinds-media.com!newsfe19.iad.POSTED!00000000!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1.50 (gnu/linux) Cancel-Lock: sha1:Npsxopu6LXklF9yGIeIt3A0CJb0= Original-Lines: 14 Original-X-Complaints-To: abuse@UsenetServer.com Original-NNTP-Posting-Date: Mon, 25 Jun 2012 16:04:58 UTC X-Received-Bytes: 1224 Original-Xref: usenet.stanford.edu gnu.emacs.help:193059 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:85454 Archived-At: > 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. Stefan