[Top][All Lists]

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

bug#23484: 25.1.50; undo doesn't work properly in xref-query-replace-in-

From: Dmitry Gutov
Subject: bug#23484: 25.1.50; undo doesn't work properly in xref-query-replace-in-results
Date: Sun, 8 May 2016 23:26:19 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.1

On 05/08/2016 11:19 PM, Juri Linkov wrote:

I can't reproduce this when using normal query-replace.


Is this caused by binding local variables in xref--query-replace-1?

No, it's caused by perform-replace not using the said variables in a consistent fashion.

> Then maybe there is a better way to achieve the same.

Maybe there is, but I don't know it.

You don't need isearch-filter-predicate when doing undo
because a previous replacement already checked it, no?

Not sure. It's possible the problem is caused by FROM being `.*'. The post-undo code initiates new searches at the positions of the previous matches using `looking-at'.

reply via email to

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