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: Sat, 29 Apr 2006 10:12:51 +0200 Message-ID: <44532003.1000709@gmx.at> References: <87r73ljvfa.fsf@myusenet.dyndns.org> <444F19B7.9080906@gmx.at> 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 1146298352 24048 80.91.229.2 (29 Apr 2006 08:12:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 29 Apr 2006 08:12:32 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Apr 29 10:12:28 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 1FZkYy-0006nt-3S for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 10:12:24 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZkYx-0007p8-Dn for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 04:12:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1FZkYk-0007nm-UI for emacs-devel@gnu.org; Sat, 29 Apr 2006 04:12:10 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1FZkYj-0007n8-Dw for emacs-devel@gnu.org; Sat, 29 Apr 2006 04:12:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1FZkYj-0007n5-7A for emacs-devel@gnu.org; Sat, 29 Apr 2006 04:12:09 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.52) id 1FZkc2-00020c-SI for emacs-devel@gnu.org; Sat, 29 Apr 2006 04:15:35 -0400 Original-Received: (qmail invoked by alias); 29 Apr 2006 08:12:06 -0000 Original-Received: from N739P019.adsl.highway.telekom.at (EHLO [62.47.36.83]) [62.47.36.83] by mail.gmx.net (mp040) with SMTP; 29 Apr 2006 10:12:06 +0200 X-Authenticated: #14592706 User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206) X-Accept-Language: de-DE, de, en-us, en Original-To: Juanma Barranquero In-Reply-To: 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:53586 Archived-At: > Wouldn't be easier just to define reb-match-[4-9]? Faces aren't > exactly a scarce resource, and nine is the maximum re-builder is going > to use anyway. The maximum of nine expressions applies only in "sub-expression mode". In "normal" mode you would have to settle on an appropriate strategy anyway when there are more than nine subexpressions. On the other hand, in sub-expression mode one face is all you need - you could use say (face-name (format "reb-match-%d" (if subexp 1 i))) in `reb-update-overlays'.