Subject: Re: bug#67836: 29.1.90; map-y-or-n-p doesn't terminate when run in a kmacro in batch mode

From: Eli Zaretskii <[email-masked]>
Date: Fri, 15 Dec 2023 18:18:43 +0200

> Cc: Stefan Monnier <[email-masked]>
> From: Spencer Baugh <[email-masked]>
> 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.