Subject: Re: bug#74713: 30.0.92; keyboard macros with input method abort with <with-input-method>

From: Eli Zaretskii <[email-masked]>
Date: Sat, 07 Dec 2024 16:10:38 +0200

> From: Roland Winkler <[email-masked]>
> Date: Fri, 06 Dec 2024 09:58:14 -0600
> 
> 
> With 'emacs -Q' open a text file.
> Select an input method.  (I tested german and TeX.)
> Define the following keybord macro (search for a character in your file)
> 
>   C-x ( C-s 1 RET C-x )
> 
> Call the keyboard macro C-x e
> This gives the message
> 
>   kmacro-call-macro: Keyboard macro terminated by a command ringing the bell
> 
> Inspection of the macro via M-x edit-last-kbd-macro shows 
> that it contains a (spurious?) line
> 
>   <with-input-method>
> 
> If this line is removed, the macro runs as expected.

This regression appeared in Emacs 25.1.  The with-input-method thingie
comes from isearch-x.el, which see.

Maybe bisection between Emacs 24.5 and Emacs 25.1 will help find the
culprit, because I don't have a good idea where to look for it.

Thanks.