GNU bug report logs - #14729
24.3.50; Isearch oddity

Previous Next

Package: emacs;

Reported by: Dani Moncayo <dmoncayo <at> gmail.com>

Date: Thu, 27 Jun 2013 10:00:03 UTC

Severity: minor

Found in version 24.3.50

Full log


Message #29 received at 14729 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> jurta.org>
To: Lars Ingebrigtsen <larsi <at> gnus.org>
Cc: 14729 <at> debbugs.gnu.org, Dani Moncayo <dmoncayo <at> gmail.com>
Subject: Re: bug#14729: 24.3.50; Isearch oddity
Date: Sat, 04 Dec 2021 21:59:16 +0200
>> `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'.




This bug report was last modified 3 years and 188 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.