emacs-devel
[Top][All Lists]
Advanced

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

Re: highlight failed part of isearch input


From: Stefan Monnier
Subject: Re: highlight failed part of isearch input
Date: Wed, 11 Jul 2007 03:14:51 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>> There may be performance issues (if the search text is long, the longest
>> prefix with a match is short (i.e. we need to iterate many times), and the
>> buffer is long (i.,e. each iteration's trial search takes a while))

> Binary search?

For plain strings it works, but for regexps it doesn't: the fact that
a prefix fails to match doesn't gurantee that some longer prefix will also
fail to match.


        Stefan




reply via email to

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