Subject: Re: bug#56210: 29.0.50; Keyboard macros do not trigger after-change-functions

From: Eli Zaretskii <[email-masked]>
Date: Sat, 25 Jun 2022 21:56:04 +0300

> Cc: [email-masked]
> Date: Sat, 25 Jun 2022 14:06:27 -0400
> From: Richard Hansen <[email-masked]>
> 
> On 2022-06-25 07:51, Lars Ingebrigtsen wrote:
> > If you eval this in *scratch*:
> > 
> > (with-temp-buffer
> >    (execute-kbd-macro (kbd "x")))
> > 
> > You'll end up with an "x" in *scratch* buffer, not in the *temp* buffer.
> 
> Is that behavior intentional?

Maybe we should step back and ask what do you think the below do?

  (execute-kbd-macro (kbd "x"))

What is, in your mental model, the effect of the above in Emacs?