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 21:35:43 +0200 Organization: LINKOV.NET Message-ID: <86fsotjgmo.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> <86a6f1eqar.fsf@mail.linkov.net> <8f851902-0fec-f3cc-178f-836dc726bb20@yandex.ru> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18572"; 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 21:19:27 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 1nHWxT-0004eY-2c for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 21:19:27 +0100 Original-Received: from localhost ([::1]:42300 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nHWxR-0003rB-RH for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 08 Feb 2022 15:19:25 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nHWIQ-0002dd-L1 for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 14:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54824) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nHWIQ-0000wD-9i for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 14:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nHWIQ-0007ax-6w for bug-gnu-emacs@gnu.org; Tue, 08 Feb 2022 14:37: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 19:37: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.164434899029138 (code B ref 53758); Tue, 08 Feb 2022 19:37:02 +0000 Original-Received: (at 53758) by debbugs.gnu.org; 8 Feb 2022 19:36:30 +0000 Original-Received: from localhost ([127.0.0.1]:48718 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWHt-0007Zt-Pg for submit@debbugs.gnu.org; Tue, 08 Feb 2022 14:36:29 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:49139) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nHWHs-0007ZG-Kp; Tue, 08 Feb 2022 14:36:29 -0500 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 7E34060002; Tue, 8 Feb 2022 19:36:19 +0000 (UTC) In-Reply-To: <8f851902-0fec-f3cc-178f-836dc726bb20@yandex.ru> (Dmitry Gutov's message of "Tue, 8 Feb 2022 18:12:01 +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:226409 Archived-At: close 53758 29.0.50 thanks >> 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? > > Perhaps try xref-find-references-and-replace? > > Search for some symbol which can also be included as part of the other > symbols' name. > > E.g. search for 'dired-do-find-regexp' and verify that > 'dired-do-find-regexp-and-replace' is not affected. I see that these custom functions are needed in xref to search/replace the specific regexp ".*". Then this is the same problem like in bug#14013. So I fixed perform-replace to allow using isearch in a recursive edit, and closed this report. Other problems could be discussed in bug#14013.