bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#14729: 24.3.50; Isearch oddity


From: Juri Linkov
Subject: bug#14729: 24.3.50; Isearch oddity
Date: Sat, 04 Dec 2021 21:59:16 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu)

>> `isearch-fail-pos' assumes that in a failed state of search
>> a shorter previous successful search string should be taken
>> as a basis for highlighting.  In this case, the last successful match
>> was "buf", so an appended suffix is highlighted as failed.
>
> So, first we have:
>
>
>
>
> Then we type "fer", and then get:
>
>
>
>
> But...  I think I'd expect getting
>
>
>
>
> instead?  Probably.

Or to turn the failing search into a successful one
since the search string matches the buffer.

OTOH, the current behavior also makes sense
since it highlights the last failing characters
typed by the user.  E.g. compare it with `C-s bufzzz'.





reply via email to

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