[Top][All Lists]

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

Re: [PATCH] isearch: lazy-highlighting of sub-exps of regexps

From: Juri Linkov
Subject: Re: [PATCH] isearch: lazy-highlighting of sub-exps of regexps
Date: Wed, 24 Nov 2010 01:55:32 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (x86_64-pc-linux-gnu)

>>> Using this feedback should make it easier for the user to accurately
>>> build a replacement string when they invoke query-replace-regexp'
>>> directly from `isearch-mode'.

This supposes that lazy-highlighting is not removed at the time
when the user types the replacement in the minibuffer.

> Of course, to make it yet a bit easier, we should provide an "ireplace"
> mode (where the replacement is shown incrementally as the user types
> the replacement spec).

Should this interactive replacement modify the buffer or
just show replacements using e.g. overlays?

>> Thanks, but we already have a request in the bug database with a set
>> of different patches to implement it: http://debbugs.gnu.org/6227
>> There is no decision yet what is the best of them.
> Could someone take a close look and install such a feature?

The most difficult question (as usual) is color selection
for sub-exps faces.  I think the most intuitive would be a rainbow.

reply via email to

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