From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#66149: Mistyping a search breaks keyboard macro Date: Sat, 23 Sep 2023 11:36:15 +0300 Message-ID: <8334z55ls0.fsf@gnu.org> References: <2bba5a744feb000a4ffc1fef79d223fcf24953e7.camel@yandex.ru> <83sf7678fv.fsf@gnu.org> <86fs36ql6i.fsf@mail.linkov.net> <61c24e6086f4ce5125d78490a587c1d1193f65dc.camel@yandex.ru> <834jjl5nfr.fsf@gnu.org> <4fccb4b82092c7fa085527597561d0f66e12eb9b.camel@yandex.ru> 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="32032"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66149@debbugs.gnu.org, juri@linkov.net To: Konstantin Kharlamov , Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 10:37:07 2023 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 1qjy8R-00087y-OR for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 10:37:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjy8D-0000ME-EO; Sat, 23 Sep 2023 04:36:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjy8B-0000L9-Ks for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:36:52 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjy8B-0005oi-Cs for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:36:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjy8M-0006Nx-2c for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 08:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 66149 X-GNU-PR-Package: emacs Original-Received: via spool by 66149-submit@debbugs.gnu.org id=B66149.169545818924493 (code B ref 66149); Sat, 23 Sep 2023 08:37:02 +0000 Original-Received: (at 66149) by debbugs.gnu.org; 23 Sep 2023 08:36:29 +0000 Original-Received: from localhost ([127.0.0.1]:37737 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjy7m-0006Mw-PV for submit@debbugs.gnu.org; Sat, 23 Sep 2023 04:36:29 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjy7i-0006MW-LT for 66149@debbugs.gnu.org; Sat, 23 Sep 2023 04:36:26 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjy7R-0005kQ-Kd; Sat, 23 Sep 2023 04:36:05 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=wrFZQhmtIj1M7auOaBu1EvzXxEVopuvT+iDMjxifxX4=; b=MOcrvUU7GuiLF+WA5ITe L5CkjPgB/EuVQUZOwRnabD7+Yu52qJiny7fcwHKM1+Cq+59pBnoV566ViXl+qntD3PFbfATDV1+14 fQ3iYChnSsump586oTKNU5WkldVWU64JKOBNfWbi22cXj1fJ2UizrQb4RVCgz5qwq2/j4cu6GpSxQ 4i6u4J6Yd5zBQEq1g8iMDc6eej+wQqPK2UmGzvZPXfWJoaB4QsYFDsGrjZko/XrZV6EGh42NY/1Wt 7ysBX7p5nUhBkuakBU4g122xZF3mKwVJXAMhlqE0GpZz6k31uscR1xF/kxJWm3YZ02m+oYLKYJcJi xdkc84eV7ZPmlg==; In-Reply-To: <4fccb4b82092c7fa085527597561d0f66e12eb9b.camel@yandex.ru> (message from Konstantin Kharlamov on Sat, 23 Sep 2023 11:01:32 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:271144 Archived-At: > From: Konstantin Kharlamov > Cc: juri@linkov.net, 66149-done@debbugs.gnu.org > Date: Sat, 23 Sep 2023 11:01:32 +0300 > > On Sat, 2023-09-23 at 11:00 +0300, Eli Zaretskii wrote: > > > From: Konstantin Kharlamov > > > Cc: 66149@debbugs.gnu.org > > > Date: Sat, 23 Sep 2023 10:14:59 +0300 > > > > > > On Fri, 2023-09-22 at 18:41 +0300, Juri Linkov wrote: > > > > > > > > > I have no opinion whether 'ding' should terminate kbd macro or > > > > not. > > > > But it's possible to customize 'isearch-wrap-pause' to 'no-ding' > > > > to not ding on isearch failure, then kbd macro is not terminated. > > > > > > Oh, thank you! So for example, having the following code in the > > > init > > > file works around the problem: > > > > > >     (defadvice kmacro-call-macro (around align-regexp-with-spaces > > > activate) > > >       (let ((isearch-wrap-pause 'no-ding)) > > >         ad-do-it)) > > > > > > I'll post an answer about that on the emacs.stackexchange then. > > > > And I'm closing the bug. > > Why? The problem is still relevant. A workaround is not a fix. because the motivation to make any such changes is now even lower than it was before, and I don't want to keep bugs open when nothing is being done for them, nor ever will be. I'm okay with reopening for some limited time, but we should then say in advance when it will be closed if no progress is made. But maybe Stefan (CC'ed) thinks differently?