Subject: Re: bug#60285: xref-query-replace-in-results could show an arrow pointing to the current item being replaced

From: Juri Linkov <[email-masked]>
Date: Thu, 05 Jan 2023 19:55:08 +0200

>> For example,
>> as you can undo or go to the previous match during the query replace,
>> the arrow should point to the previous result, if possible.
>
> Hmm, I'm not sure how to implement that. Some new hook inside
> perform-replace?
>
> Maybe Juri has some ideas.

Indeed, there is a special hook for such cases:
'replace-update-post-hook'.