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#67836: 29.1.90; map-y-or-n-p doesn't terminate when run in a kmacro in batch mode Date: Fri, 15 Dec 2023 18:18:43 +0200 Message-ID: <83msubo2vw.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37237"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 67836@debbugs.gnu.org, monnier@iro.umontreal.ca To: Spencer Baugh Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 15 17:19:46 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 1rEAug-0009Pq-3M for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Dec 2023 17:19:46 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEAu0-0002kW-IJ; Fri, 15 Dec 2023 11:19:05 -0500 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 1rEAtz-0002k6-CY for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2023 11:19:03 -0500 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 1rEAty-0001lO-AE for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2023 11:19:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEAtx-0005PY-O0 for bug-gnu-emacs@gnu.org; Fri, 15 Dec 2023 11:19:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Dec 2023 16:19:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67836 X-GNU-PR-Package: emacs Original-Received: via spool by 67836-submit@debbugs.gnu.org id=B67836.170265713820791 (code B ref 67836); Fri, 15 Dec 2023 16:19:01 +0000 Original-Received: (at 67836) by debbugs.gnu.org; 15 Dec 2023 16:18:58 +0000 Original-Received: from localhost ([127.0.0.1]:53390 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEAtu-0005PH-4W for submit@debbugs.gnu.org; Fri, 15 Dec 2023 11:18:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:60452) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEAtr-0005P3-EW for 67836@debbugs.gnu.org; Fri, 15 Dec 2023 11:18:56 -0500 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 1rEAtl-0001jt-Fy; Fri, 15 Dec 2023 11:18:49 -0500 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=6eo/dBLfOU9XfkZLOzizuy9PriCbx1fNnyLeeSKA5H0=; b=nvCzRJhRDa0d rJruPdnAa5PsVxpaYUcPha46iDXtV4hN7WBNBJDsx4YwDN0PqkxtNDvlJcNy0qz826phy/PGl6L9O 5gA0jDrEjRkWZ4mni9VOUQIphKKrahuFWKv9Bo2lsDLNhpGsD3IQ8Y6JoMoLQ6w4NSuWPyZPIE2QI U95F+JBZiEfAa4t+w6cmQ8CwCyOnXOCOcX4DhmEVomDA86RyLTKaHrPW+hUIVzBYJ1LamWrgBz1qn WZ6IOJBQsySOFpPZcmUDCPmDgdwU97In56NAKeJCe4o5+6cdpYvTKfoSmHJ4K5owuRAuWlU5wT+g9 oAP0ZsIv4/IYlws0ARFUBw==; In-Reply-To: (message from Spencer Baugh on Fri, 15 Dec 2023 10:44:47 -0500) 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:276276 Archived-At: > Cc: Stefan Monnier > From: Spencer Baugh > Date: Fri, 15 Dec 2023 10:44:47 -0500 > > Patch fixing this. Thanks, but let's please find a fix that doesn't make the tail wag the dog. I don't want to make a change in bitch_at_user, which will affect every possible use of it in batch mode, something that we have been doing for eons. If there's a particular problem with map-y-or-n-p in batch mode, and if the scenario where you find the problem is important enough, let's please find a solution that targets only that special situation. > ding's docstring states that it terminates keyboard macros. But, due > to what seems to be an oversight, it does not do that while executing > in batch mode. As the code clearly shows, it isn't an oversight.