From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Juanma Barranquero" Newsgroups: gmane.emacs.devel Subject: Re: re-builder highlighting incorrect for more than 3 groupings Date: Sun, 30 Apr 2006 03:07:05 +0200 Message-ID: References: <87r73ljvfa.fsf@myusenet.dyndns.org> <444F19B7.9080906@gmx.at> <44532003.1000709@gmx.at> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1146359246 21314 80.91.229.2 (30 Apr 2006 01:07:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 30 Apr 2006 01:07:26 +0000 (UTC) Cc: rms@gnu.org, emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Apr 30 03:07:23 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 1Fa0PA-0008Ov-Eg for ged-emacs-devel@m.gmane.org; Sun, 30 Apr 2006 03:07:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa0P9-0002dx-SU for ged-emacs-devel@m.gmane.org; Sat, 29 Apr 2006 21:07:19 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Fa0Oy-0002dg-LL for emacs-devel@gnu.org; Sat, 29 Apr 2006 21:07:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Fa0Ox-0002d7-3C for emacs-devel@gnu.org; Sat, 29 Apr 2006 21:07:08 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Fa0Ow-0002d2-T7 for emacs-devel@gnu.org; Sat, 29 Apr 2006 21:07:06 -0400 Original-Received: from [66.249.92.175] (helo=uproxy.gmail.com) by monty-python.gnu.org with esmtp (Exim 4.52) id 1Fa0SQ-0005Jh-DE for emacs-devel@gnu.org; Sat, 29 Apr 2006 21:10:42 -0400 Original-Received: by uproxy.gmail.com with SMTP id m2so1750973ugc for ; Sat, 29 Apr 2006 18:07:05 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Bg75+2i1QGMcu7z+GY990wbsIJ/avO6Exeacscg+qhPCysUuUMW9nshp6TxMe1agO3i0nZLOepzsraAGfg9dCrKdOyZLs3om7dmcy8gToaf8YT4W3x0gWDEjRKu0dLF5EGMi4HdFYADRZxpVoclvNYR8nbTRTlgTDb/CNN96agY= Original-Received: by 10.78.29.13 with SMTP id c13mr511590huc; Sat, 29 Apr 2006 18:07:05 -0700 (PDT) Original-Received: by 10.78.33.18 with HTTP; Sat, 29 Apr 2006 18:07:05 -0700 (PDT) Original-To: "martin rudalics" In-Reply-To: <44532003.1000709@gmx.at> Content-Disposition: inline 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:53628 Archived-At: On 4/29/06, martin rudalics wrote: > In "normal" mode you would have to settle on an appropriate strategy > anyway when there are more than nine subexpressions. Yes. By definition any limit is arbitrary. However, in my limited experience, three subexpressions is way too little. It doesn't take a very complex regexp to go over three subexps. > 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'. I like using different faces in subexpression mode... -- /L/e/k/t/u