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 10:14:59 +0300 Message-ID: <61c24e6086f4ce5125d78490a587c1d1193f65dc.camel@yandex.ru> References: <2bba5a744feb000a4ffc1fef79d223fcf24953e7.camel@yandex.ru> <83sf7678fv.fsf@gnu.org> <86fs36ql6i.fsf@mail.linkov.net> 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="11601"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Evolution 3.48.4 Cc: 66149@debbugs.gnu.org To: Juri Linkov , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 23 09:16:38 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 1qjwsX-0002oL-1e for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Sep 2023 09:16:37 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjwsB-0004Mx-BD; Sat, 23 Sep 2023 03:16:15 -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 1qjwrs-0004Le-Lq for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 03:16:04 -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 1qjwrm-00085w-Pd for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 03:15:55 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qjwrx-0003zr-KD for bug-gnu-emacs@gnu.org; Sat, 23 Sep 2023 03:16:01 -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 07:16:01 +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.169545332315316 (code B ref 66149); Sat, 23 Sep 2023 07:16:01 +0000 Original-Received: (at 66149) by debbugs.gnu.org; 23 Sep 2023 07:15:23 +0000 Original-Received: from localhost ([127.0.0.1]:37681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjwrI-0003ys-3L for submit@debbugs.gnu.org; Sat, 23 Sep 2023 03:15:23 -0400 Original-Received: from forward500c.mail.yandex.net ([178.154.239.208]:46846) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qjwrC-0003ya-Ar for 66149@debbugs.gnu.org; Sat, 23 Sep 2023 03:15:18 -0400 Original-Received: from mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net (mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net [IPv6:2a02:6b8:c12:5586:0:640:b3c3:0]) by forward500c.mail.yandex.net (Yandex) with ESMTP id B43655EE80; Sat, 23 Sep 2023 10:15:00 +0300 (MSK) Original-Received: by mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net (smtp/Yandex) with ESMTPSA id xEGmJiCWv0U0-5oNBihzU; Sat, 23 Sep 2023 10:15:00 +0300 X-Yandex-Fwd: 1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1695453300; bh=FxLKfIzF32T6+DhDaFr0HJuIwqsDBpRV0idwo1PhkLE=; h=References:Date:In-Reply-To:Cc:To:From:Subject:Message-ID; b=I/wgOhgFJQK5XwxZoBolZgfbWV5lVVxn11gpLX81JPBF0SBlJnvEdWxjC11Wq78u/ KY1RmX5vzSg8WZR4+PAoXLwnPXyAKkqkIayz1lCSbGodFlsTxuRoQ1ugsKMRz0gMoG tR6s+J+gS6U7AaXOm17DsryoFU2YlLzkFEWlQbMw= Authentication-Results: mail-nwsmtp-smtp-production-main-29.myt.yp-c.yandex.net; dkim=pass header.i=@yandex.ru In-Reply-To: <86fs36ql6i.fsf@mail.linkov.net> 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:271136 Archived-At: 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.