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#54733: Match again in perform-replace Date: Fri, 29 Apr 2022 20:41:42 +0300 Organization: LINKOV.NET Message-ID: <86o80ju6qx.fsf@mail.linkov.net> References: <865ynnl9f0.fsf_-_@mail.linkov.net> <86pmlvju2c.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="28373"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) To: 54733@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 29 19:43:10 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 1nkUe6-0007Gg-HU for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Apr 2022 19:43:10 +0200 Original-Received: from localhost ([::1]:59088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nkUe5-0002HW-4B for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Apr 2022 13:43:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44890) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nkUdy-0002H9-0y for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 13:43:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:33169) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nkUdx-0002g4-OV for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 13:43:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nkUdx-00013f-N0 for bug-gnu-emacs@gnu.org; Fri, 29 Apr 2022 13:43:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 29 Apr 2022 17:43:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54733 X-GNU-PR-Package: emacs Original-Received: via spool by 54733-submit@debbugs.gnu.org id=B54733.16512541524026 (code B ref 54733); Fri, 29 Apr 2022 17:43:01 +0000 Original-Received: (at 54733) by debbugs.gnu.org; 29 Apr 2022 17:42:32 +0000 Original-Received: from localhost ([127.0.0.1]:55299 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkUdU-00012s-Ii for submit@debbugs.gnu.org; Fri, 29 Apr 2022 13:42:32 -0400 Original-Received: from relay6-d.mail.gandi.net ([217.70.183.198]:60987) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nkUdT-00012O-Ep for 54733@debbugs.gnu.org; Fri, 29 Apr 2022 13:42:31 -0400 Original-Received: (Authenticated sender: juri@linkov.net) by mail.gandi.net (Postfix) with ESMTPSA id 77B70C0004 for <54733@debbugs.gnu.org>; Fri, 29 Apr 2022 17:42:24 +0000 (UTC) In-Reply-To: <86pmlvju2c.fsf@mail.linkov.net> (Juri Linkov's message of "Tue, 05 Apr 2022 20:53:15 +0300") 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:230983 Archived-At: >> So now we have two cases that require fixing perform-replace. > > To be able to redesign the match-again part of perform-replace, > there is a need to have a test suite that will confirm nothing > is broken after redesign. So I pushed a new test in replace-tests.el. The need to have `looking-at` in `perform-replace` is explained in the commit message of 5632eb272c7. So now added it to replace-tests.