From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: grep.el regexp Date: Tue, 28 Jun 2005 23:52:30 -0400 Message-ID: <87u0jh6cwq.fsf-monnier+emacs@gnu.org> References: <87psuipj8b.fsf@jurta.org> <87k6kme6sp.fsf@jurta.org> <87aclb2w0m.fsf@jurta.org> <873br3xaum.fsf-monnier+emacs@gnu.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1120017074 10962 80.91.229.2 (29 Jun 2005 03:51:14 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 29 Jun 2005 03:51:14 +0000 (UTC) Cc: juri@jurta.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jun 29 05:51:14 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DnTbK-0002H9-Fa for ged-emacs-devel@m.gmane.org; Wed, 29 Jun 2005 05:51:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnTjI-0006T2-O9 for ged-emacs-devel@m.gmane.org; Tue, 28 Jun 2005 23:59:16 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DnThz-00066L-9I for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:57:55 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DnThu-000638-Mo for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:57:51 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DnTht-00060K-W3 for emacs-devel@gnu.org; Tue, 28 Jun 2005 23:57:50 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DnThE-0007Q4-Er; Tue, 28 Jun 2005 23:57:08 -0400 Original-Received: from alfajor ([70.49.80.233]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20050629035224.DZHT27245.tomts25-srv.bellnexxia.net@alfajor>; Tue, 28 Jun 2005 23:52:24 -0400 Original-Received: by alfajor (Postfix, from userid 1000) id C33C1D732C; Tue, 28 Jun 2005 23:52:30 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard M. Stallman's message of "Tue, 28 Jun 2005 17:29:42 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:39848 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:39848 >> Currently it puts information from different rules on the same line >> when regexps cover different parts of that line (it works this way due >> to the font-lock algorithms). > And that's correct the thing to do since lines can contain > several messages. > How so? Can you show me an example? TeX uses "(" to say "I'm now beginning to process " and then ")" to say "I'm done processing the current file, popping to the previous one". So you can have messages like (file1 (file2 (file3 L. 321 Error blabla foobar))) The first line has thus 3 messages which compile.el should notice. I'm sure there are other examples, Stefan