Subject: Re: bug#31492: 26.1; query-replace-regexp undo fails in regexps w/o printable chars

From: Tino Calancha <[email-masked]>
Date: Sun, 20 May 2018 22:46:05 +0900 (JST)

On Sun, 20 May 2018, Eli Zaretskii wrote:

> Not a recipe, an idea: I'm bothered by the possibility of the saved
> positions becoming outdated if something changes text before the saved
> positions.  Markers would move with the text, but positions won't.
>
> The question is: is such a situation possible?
Everything is possible (except, possibly, that I find a new job).

You know what they say: In the risk is the pleasure. Otherwise we
can use the first patch; the one with the test:
(/= (match-beginning 0) (match-end 0))