From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#53758: 28.0.91; Recursive edit during dired-do-find-regexp-and-replace breaks isearch Date: Tue, 08 Feb 2022 09:43:39 +0200 Organization: LINKOV.NET Message-ID: <86a6f1eqar.fsf@mail.linkov.net> References: <87mtj7yddd.fsf@earth.mail-host-address-is-not-set> <867da8x7v1.fsf@mail.linkov.net> <48a0ada9-c386-aca8-e3f4-ecece9defee5@yandex.ru> <86zgn2lbty.fsf@mail.linkov.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20340"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: sbaugh@catern.com, 53758@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 08 10:27:24 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nHMmR-0005BS-QS for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 10:27:23 +0100 Original-Received: from localhost ([::1]:47368 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHMmQ-0000RT-O9 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 04:27:22 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:33460) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHLYd-0005oP-Go for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:09:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51219) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHLYd-0008S1-54 for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:09:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHLYc-0008T6-RA for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 03:09:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 08 Feb 2022 08:09:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 53758 X-GNU-PR-Package: emacs Original-Received: via spool by 53758-submit@debbugs.gnu.org id=B53758.164430769332471 (code B ref 53758); Tue, 08 Feb 2022 08:09:02 +0000 Original-Received: (at 53758) by debbugs.gnu.org; 8 Feb 2022 08:08:13 +0000 Original-Received: from localhost ([127.0.0.1]:45113 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHLXo-0008Ra-Ve for submit@debbugs.gnu.org; Tue, 08 Feb 2022 03:08:13 -0500 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:46113) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHLXk-0008RJ-Qw for 53758@debbugs.gnu.org; Tue, 08 Feb 2022 03:08:12 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id A253A20004; Tue, 8 Feb 2022 08:08:01 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Mon, 7 Feb 2022 23:12:55 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:226336 Archived-At: >> Thanks, now everything is clear. Then it can be simplified by this patch: > > Thanks! > > Are these changes independent? That is, will the new version of xref > continue to work with Emacs 26.1? It should continue to work. Could you suggest how this independent change in xref could be tested? I see that dired-do-find-regexp-and-replace replaces all matches, but xref--query-replace-1 tries to skip some matches. What test could emulate the case where some matches should be skipped?