From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Konstantin Kharlamov Newsgroups: gmane.emacs.bugs Subject: bug#66149: Mistyping a search breaks keyboard macro Date: Sat, 23 Sep 2023 11:01:32 +0300 Message-ID: <4fccb4b82092c7fa085527597561d0f66e12eb9b.camel@yandex.ru> References: <2bba5a744feb000a4ffc1fef79d223fcf24953e7.camel@yandex.ru> <83sf7678fv.fsf@gnu.org> <86fs36ql6i.fsf@mail.linkov.net> <61c24e6086f4ce5125d78490a587c1d1193f65dc.camel@yandex.ru> <834jjl5nfr.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23523"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.48.4 Cc: 66149-done@debbugs.gnu.org, juri@linkov.net To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 10:01:59 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 1qjxaR-0005wU-UY for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 10:01:59 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjxaL-0002cM-3e; Sat, 23 Sep 2023 04:01: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 1qjxaJ-0002bx-KK for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:01:51 -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 1qjxaJ-0007sV-Bh for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:01:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjxaU-0005NB-C3 for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Konstantin Kharlamov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 08:02: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-done@debbugs.gnu.org id=D66149.169545611420637 (code D ref 66149); Sat, 23 Sep 2023 08:02:02 +0000 Original-Received: (at 66149-done) by debbugs.gnu.org; 23 Sep 2023 08:01:54 +0000 Original-Received: from localhost ([127.0.0.1]:37714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjxaM-0005Mn-Dj for submit@debbugs.gnu.org; Sat, 23 Sep 2023 04:01:54 -0400 Original-Received: from forward502b.mail.yandex.net ([2a02:6b8:c02:900:1:45:d181:d502]:35376) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjxaJ-0005MX-UL for 66149-done@debbugs.gnu.org; Sat, 23 Sep 2023 04:01:53 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-36.iva.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-36.iva.yp-c.yandex.net [IPv6:2a02:6b8:c0c:c20c:0:640:6c41:0]) by forward502b.mail.yandex.net (Yandex) with ESMTP id D9A965ED4C; Sat, 23 Sep 2023 11:01:33 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-36.iva.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id W1HIExCDY8c0-vhYN1fnF; Sat, 23 Sep 2023 11:01:33 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1695456093; bh=Q1zxmoKyOIc56obT8KNskvsYYUBxmEMilyzsvTGo9YU=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=e4n9MD5iN3G0NtGonz1DUVZEvSVZVSiPzgFzp3FSD3ITESQf78yEBr+GePd7hM22U gyco3VOBvbNM8SyKsTM+77KdxB7uUckCQuM+lnqr/GxxRk251qQK2qMKNYfIt4Gpau DItmi0j3dJ7LPw2yaBozuaZyKLhGN2/v4bULtGMI= Authentication-Results: mail-nwsmtp-smtp-production-main-36.iva.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <834jjl5nfr.fsf@gnu.org> 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:271140 Archived-At: 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 > >=20 > > On Fri, 2023-09-22 at 18:41 +0300, Juri Linkov wrote: > > > >=20 > > > 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. > >=20 > > Oh, thank you! So for example, having the following code in the > > init > > file works around the problem: > >=20 > > =C2=A0=C2=A0=C2=A0 (defadvice kmacro-call-macro (around align-regexp-wi= th-spaces > > activate) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 (let ((isearch-wrap-pause 'no-ding)) > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 ad-do-it)) > >=20 > > I'll post an answer about that on the emacs.stackexchange then. >=20 > And I'm closing the bug. =20 Why? The problem is still relevant. A workaround is not a fix.