From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: martin rudalics Newsgroups: gmane.emacs.devel Subject: Re: re-builder highlighting incorrect for more than 3 groupings Date: Wed, 26 Apr 2006 08:56:55 +0200 Message-ID: <444F19B7.9080906@gmx.at> References: <87r73ljvfa.fsf@myusenet.dyndns.org> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1146034628 6169 80.91.229.2 (26 Apr 2006 06:57:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 26 Apr 2006 06:57:08 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Apr 26 08:57:04 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1FYdxO-0003bA-98 for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 08:57:02 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYdxN-0003IU-Nq for ged-emacs-devel@m.gmane.org; Wed, 26 Apr 2006 02:57:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FYdx4-0003FT-KU for emacs-devel@gnu.org; Wed, 26 Apr 2006 02:56:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FYdx2-0003ED-LF for emacs-devel@gnu.org; Wed, 26 Apr 2006 02:56:41 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FYdx2-0003Dy-Cs for emacs-devel@gnu.org; Wed, 26 Apr 2006 02:56:40 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FYdzf-0007RR-7a for emacs-devel@gnu.org; Wed, 26 Apr 2006 02:59:23 -0400 Original-Received: (qmail invoked by alias); 26 Apr 2006 06:56:39 -0000 Original-Received: from N722P027.adsl.highway.telekom.at (EHLO [62.47.34.59]) [62.47.34.59] by mail.gmx.net (mp032) with SMTP; 26 Apr 2006 08:56:39 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Christian Plate In-Reply-To: <87r73ljvfa.fsf@myusenet.dyndns.org> X-Y-GMX-Trusted: 0 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:53448 Archived-At: > I encountered strange behavior with re-builder: > > I made a testcase to show it. Consider the following buffer: > > t-t-t-t > t-t-t-t > t-t-t-t > t-t-t-t > > re-builder with the regex "\\(.\\)-\\(.\\)-\\(.\\)" correctly highlights > all first groupings. But if i make another group, > "\\(.\\)-\\(.\\)-\\(.\\)-\\(.\\)", it only highlights the first > match. Perhaps this has something to do with missing faces for more than > three groupings. In fact you should have noted the message: reb-update-overlays: Too many subexpressions - face `reb-match-4' not defined You can add as many deffaces (defface reb-match-4 ... (defface reb-match-5 ... ... you want to your .emacs.