From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "wuxch2000@gmail.com" Newsgroups: gmane.emacs.help Subject: Re: question about compilation-error-regexp-alist Date: 30 Mar 2006 18:48:40 -0800 Organization: http://groups.google.com Message-ID: <1143773320.681524.32190@i40g2000cwc.googlegroups.com> References: <1143681221.833489.163550@g10g2000cwb.googlegroups.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-Trace: sea.gmane.org 1143776439 26144 80.91.229.2 (31 Mar 2006 03:40:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 31 Mar 2006 03:40:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Mar 31 05:40:38 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FPAUx-0005no-Al for geh-help-gnu-emacs@m.gmane.org; Fri, 31 Mar 2006 05:40:31 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FPAUw-000519-Sr for geh-help-gnu-emacs@m.gmane.org; Thu, 30 Mar 2006 22:40:30 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!i40g2000cwc.googlegroups.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 15 Original-NNTP-Posting-Host: 220.207.104.110 Original-X-Trace: posting.google.com 1143773333 32199 127.0.0.1 (31 Mar 2006 02:48:53 GMT) Original-X-Complaints-To: groups-abuse@google.com Original-NNTP-Posting-Date: Fri, 31 Mar 2006 02:48:53 +0000 (UTC) In-Reply-To: User-Agent: G2/0.2 X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 1.0.3705),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse@google.com Injection-Info: i40g2000cwc.googlegroups.com; posting-host=220.207.104.110; posting-account=cYv7PQ0AAADVs84fQF5cVdXBivDWIpOs Original-Xref: shelby.stanford.edu gnu.emacs.help:138471 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:34090 Archived-At: thanks for your reply. But I still do not understand how compile.el get TYPE value automatic from matched sentence. For example, there's a compilation-error-regexp-alist (edg-1 "^\\([^ \n]+\\)(\\([0-9]+\\)): \\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" 1 2 nil (3 . 4)) what "\\(?:error\\|warnin\\(g\\)\\|remar\\(k\\)\\)" means? why add \\( \\) to char 'g' and 'k'?