emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re-builder highlighting incorrect for more than 3 groupings


From: martin rudalics
Subject: Re: re-builder highlighting incorrect for more than 3 groupings
Date: Sat, 29 Apr 2006 10:12:51 +0200
User-agent: Mozilla Thunderbird 1.0 (Windows/20041206)

> 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'.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]