From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Roy Smith Newsgroups: gmane.emacs.help Subject: Re: compilation-error-regexp-alist syntax problems Date: Tue, 03 Feb 2004 12:07:26 -0500 Organization: PANIX Public Access Internet and UNIX, NYC Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1075828909 32560 80.91.224.253 (3 Feb 2004 17:21:49 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 3 Feb 2004 17:21:49 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Feb 03 18:21:41 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 1Ao4F3-0004WI-00 for ; Tue, 03 Feb 2004 18:21:41 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Ao4Eo-0001pb-A5 for geh-help-gnu-emacs@m.gmane.org; Tue, 03 Feb 2004 12:21:26 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!panix!roy Original-Newsgroups: gnu.emacs.help Original-Lines: 26 Original-NNTP-Posting-Host: x4034c1ba.ip.e-nt.net Original-X-Trace: reader2.panix.com 1075828046 20813 64.52.193.186 (3 Feb 2004 17:07:26 GMT) Original-X-Complaints-To: abuse@panix.com Original-NNTP-Posting-Date: Tue, 3 Feb 2004 17:07:26 +0000 (UTC) User-Agent: MT-NewsWatcher/3.3b1 (PPC Mac OS X) Original-Xref: shelby.stanford.edu gnu.emacs.help:120660 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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:16609 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:16609 In article , Stefan Monnier wrote: > > (cons '("\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):" 1 2) > > Try to put point at the beginning of one of the lines and do > > M-: (looking-at "\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):") RET > > If it returns nil, there's stilla bug in your regexp. Maybe you need > to allow spaces before [javac], or I don't know what. > > > Local in buffer *compilation*; global value is > > (("\\[javac\\] *\\(/[^:]+\\):\\([^:]*\\):" 1 2) > > [etc] > > Huh? What is the local value? Does it include your line? > If not, that's no surprise it's not taken into account. > > > Stefan Ah hah! That's the problem. It's not in the local version. Next question, how do I get the local version to include it?