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#31796: 27.1; dired-do-find-regexp-and-replace fails to find multiline regexps Date: Wed, 25 Nov 2020 09:28:57 +0200 Organization: LINKOV.NET Message-ID: <87y2iqnhh2.fsf@mail.linkov.net> References: <10120030-8b8d-b702-add4-8f099f934ed5@chalmers.se> <91c98791-9df2-43ee-9aac-205c5b0de9c2@default> <87blfm6922.fsf@mail.linkov.net> <838saqtsm9.fsf@gnu.org> <87mtz64htw.fsf@mail.linkov.net> <831rgitqe2.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35661"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: abela@chalmers.se, 31796@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 25 08:56:08 2020 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 1khpep-00099k-W4 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 08:56:07 +0100 Original-Received: from localhost ([::1]:56072 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1khpep-000481-1Y for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 25 Nov 2020 02:56:07 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53662) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1khpdm-0002rs-Ez for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:55:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:50750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1khpdm-00034U-6Y for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:55:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1khpdm-0008IM-52 for bug-gnu-emacs@gnu.org; Wed, 25 Nov 2020 02:55: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: Wed, 25 Nov 2020 07:55:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 31796 X-GNU-PR-Package: emacs Original-Received: via spool by 31796-submit@debbugs.gnu.org id=B31796.160629086531828 (code B ref 31796); Wed, 25 Nov 2020 07:55:02 +0000 Original-Received: (at 31796) by debbugs.gnu.org; 25 Nov 2020 07:54:25 +0000 Original-Received: from localhost ([127.0.0.1]:34060 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khpdB-0008HI-9N for submit@debbugs.gnu.org; Wed, 25 Nov 2020 02:54:25 -0500 Original-Received: from relay3-d.mail.gandi.net ([217.70.183.195]:50965) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1khpdA-0008H5-Ac for 31796@debbugs.gnu.org; Wed, 25 Nov 2020 02:54:24 -0500 X-Originating-IP: 91.129.99.98 Original-Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay3-d.mail.gandi.net (Postfix) with ESMTPSA id A30D56000A; Wed, 25 Nov 2020 07:54:15 +0000 (UTC) In-Reply-To: <831rgitqe2.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 24 Nov 2020 23:07:49 +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:194166 Archived-At: >> >> dired-do-find-regexp-and-replace could be left bound to Q, but >> >> dired-do-query-replace-regexp could be bound to M-% in Dired. >> > >> > How will this help when the command to continue the loop is not bound >> > to any key? >> >> dired-do-query-replace-regexp works like normal 'M-%' with 'y/n/!' >> keys and automatically moves to the next file on multiple files. >> So it seemes it doesn't need a key to continue the loop. > > AFAIR, it does need a way to continue the loop if the user exits the > loop. Where would the users get the idea that it's possible to interrupt query-replace and resume it anytime later, if single-file query-replace doesn't support this feature? I can't find where this feature of continuing the loop is documented. (info "(emacs) Query Replace") only says: To restart a ‘query-replace’ once it is exited, use ‘C-x ’, which repeats the ‘query-replace’ because it used the minibuffer to read its arguments. *Note C-x : Repetition.