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:00:24 +0300 Message-ID: <834jjl5nfr.fsf@gnu.org> References: <2bba5a744feb000a4ffc1fef79d223fcf24953e7.camel@yandex.ru> <83sf7678fv.fsf@gnu.org> <86fs36ql6i.fsf@mail.linkov.net> <61c24e6086f4ce5125d78490a587c1d1193f65dc.camel@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20516"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 66149-done@debbugs.gnu.org, juri@linkov.net To: Konstantin Kharlamov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 10:01:18 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 1qjxZm-0005Cu-2c for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 10:01:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjxZO-0002SW-DF; Sat, 23 Sep 2023 04:00:54 -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 1qjxZL-0002Rk-TE for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:00: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 1qjxZL-0007ka-LN for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:00:51 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjxZW-0005Ks-Cr for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 04:01:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Sep 2023 08:01:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 66149 X-GNU-PR-Package: emacs Mail-Followup-To: 66149@debbugs.gnu.org, eliz@gnu.org, Hi-Angel@yandex.ru Original-Received: via spool by 66149-done@debbugs.gnu.org id=D66149.169545603420438 (code D ref 66149); Sat, 23 Sep 2023 08:01:02 +0000 Original-Received: (at 66149-done) by debbugs.gnu.org; 23 Sep 2023 08:00:34 +0000 Original-Received: from localhost ([127.0.0.1]:37708 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjxZ3-0005Ja-VO for submit@debbugs.gnu.org; Sat, 23 Sep 2023 04:00:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48380) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjxZ1-0005JJ-DT for 66149-done@debbugs.gnu.org; Sat, 23 Sep 2023 04:00:32 -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 1qjxYk-0007gh-DX; Sat, 23 Sep 2023 04:00:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=GObC14wzOWEvygYolYyJMJxczQwYOH3p9d3RXs2Sn/w=; b=HDAY9dXK2In6 Lq9685251Jkz5Y7yezpQo64d7xXnqkqi6J/227nf5mp2NMI6Q4p5xocDVFSPthyV4O7IcagGpRVv4 BAp9lVlAtFTCvN2Ww4GOxmrqPkc99RZaWop15R2uyKDQ82vK9cXHaLxM008oukYU2eRInl5Zn2vBT R4J9Z3TSOSQQGM9TVbFR4dWxkkUlRgGRtn/sekB0Y2TlDCJ8TZl/yhwwJANSqqhWOtAoiH9tQfaxB 7iIbOHNmdEMUclbpdvnNBD36eIM45nyZkmarZDtUoDjSudVQ0IVaJq1tt5DY3ZRq3YBmSy1QcN/Lm IPWsviIUUUR7hRhhfPgnQQ==; In-Reply-To: <61c24e6086f4ce5125d78490a587c1d1193f65dc.camel@yandex.ru> (message from Konstantin Kharlamov on Sat, 23 Sep 2023 10:14:59 +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:271139 Archived-At: > 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.