|
From: | Juri Linkov |
Subject: | bug#6227: Color isearch regexp submatches differently |
Date: | Fri, 11 Jun 2010 11:17:19 +0300 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu) |
>> but set I suggest a default of 100. The loop costs essentially nothing >> for non-submatches and this is on command level. > > (/ (length (match-data)) 2) Then the loop should iterate from 1 up to the minimum of `(/ (length (match-data)) 2)' and `search-highlight-submatches'. As for the faces, perhaps we should dynamically create submatch faces like in `vc-annotate-lines' that uses `vc-annotate-color-map'. -- Juri Linkov http://www.jurta.org/emacs/
[Prev in Thread] | Current Thread | [Next in Thread] |