From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Helmut Eller Newsgroups: gmane.emacs.help Subject: Re: Adding support for GCC's new "note" messages in Compilations Date: Thu, 12 Nov 2009 21:29:18 +0100 Message-ID: References: <2a395268-17de-41f2-b624-92fd1e55ebb3@37g2000yqm.googlegroups.com> <79ed074e-7e73-48f5-9878-da9c892db78e@n35g2000yqm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1258059044 29205 80.91.229.12 (12 Nov 2009 20:50:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 12 Nov 2009 20:50:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Thu Nov 12 21:50:37 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1N8gcl-0004N8-Js for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Nov 2009 21:50:36 +0100 Original-Received: from localhost ([127.0.0.1]:52456 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N8gcl-0002wP-10 for geh-help-gnu-emacs@m.gmane.org; Thu, 12 Nov 2009 15:50:35 -0500 Original-Path: news.stanford.edu!usenet.stanford.edu!postnews.google.com!news1.google.com!Xl.tags.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local2.nntp.dca.giganews.com!nntp.kpnqwest.it!news.kpnqwest.it.POSTED!not-for-mail Original-NNTP-Posting-Date: Thu, 12 Nov 2009 14:29:19 -0600 Original-Newsgroups: gnu.emacs.help User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) Cancel-Lock: sha1:8zyi33xzVRnf4Th2zDSrtuGp8uA= Original-Lines: 26 X-Usenet-Provider: http://www.giganews.com Original-NNTP-Posting-Host: 212.46.181.157 Original-X-Trace: sv3-US9eBl1yaIjrZGHddon6ZLcjcKdK4kc7ZDnAJECrHE1lOmsZ4YHTeLxd2SQScjN1muSQC0l2s+1DT7x!bqfu9GmjqsKnN3OVIKqUagrd/sY2OJzDb15bP91lXgxeqWio9sYxxF9sbYpVkRs= X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly X-Postfilter: 1.3.40 Original-Xref: news.stanford.edu gnu.emacs.help:174625 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:69696 Archived-At: * Nordlöw [2009-11-12 20:45+0100] writes: > On 12 Nov, 15:47, Helmut Eller wrote: >> * Nordlöw [2009-11-12 14:55+0100] writes: >> >> > I would like to add support for GCC's new note: messages so that I can >> > reach them with previous and next-error. Any hints or recommendations? >> >> This is already supported, but notes are skipped by default. >> See compilation-skip-threshold. >> >> Helmut > > Great! > > What about localized compilation messages? Where should I look if I > want to support this? Probably compilation-error-regexp-alist and etc/compilation.txt. But this is a messy business as it's so regexp oriented. At one point somebody put a regexp in there for some Java tool but the regexp was awfully inefficient and affected all other regexps too. Suddenly it took dozens of seconds to parse even small outputs. Helmut