Subject: bug#22285: isearch and repeat do no play well together (overlays are not cleared after repeating isearch-forward-exit-minibuffer)

From: Stefan Kangas <[email-masked]>
Date: Wed, 06 Nov 2019 02:12:44 +0100

severity 22285 minor
found 22285 27.0.50
thanks

Clément Pit--Claudel <[email-masked]> writes:

> I'm not sure if this qualifies as a bug, or as a simple
> incompatibility: using `repeat' to run
> `isearch-forward-exit-minibuffer' confuses isearch.
>
> Recipe: After starting emacs -Q with the following text and running
>the following commands, isearch is not active but its overlays are
>still visible:
>
>     abcdef
>     abcdef
>     abcdef
>     abcdef
>
>     C-s b C-s C-x z C-f
>
> The second C-s is not entirely necessary: C-s b C-x z C-f also fails to clear isearch's overlays 

I can reproduce this using the above recipe on Emacs 27.1.

Best regards,
Stefan Kangas