GNU bug report logs - #74713
30.0.92; keyboard macros with input method abort with <with-input-method>

Previous Next

Package: emacs;

Reported by: Roland Winkler <winkler <at> gnu.org>

Date: Fri, 6 Dec 2024 15:59:01 UTC

Severity: normal

Tags: confirmed

Found in version 30.0.92

To reply to this bug, email your comments to 74713 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#74713; Package emacs. (Fri, 06 Dec 2024 15:59:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Roland Winkler <winkler <at> gnu.org>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Fri, 06 Dec 2024 15:59:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Roland Winkler <winkler <at> gnu.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 30.0.92; keyboard macros with input method abort with
 <with-input-method>
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.


In GNU Emacs 30.0.92 (build 2, x86_64-pc-linux-gnu, GTK+ Version
 3.24.38, cairo version 1.16.0) of 2024-11-01 built on regnitz
Windowing system distributor 'The X.Org Foundation', version 11.0.12101007
System Description: Debian GNU/Linux 12 (bookworm)





Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#74713; Package emacs. (Sat, 07 Dec 2024 14:13:02 GMT) Full text and rfc822 format available.

Message #8 received at 74713 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Roland Winkler <winkler <at> gnu.org>
Cc: 74713 <at> debbugs.gnu.org
Subject: Re: bug#74713: 30.0.92;
 keyboard macros with input method abort with <with-input-method>
Date: Sat, 07 Dec 2024 16:10:38 +0200
> From: Roland Winkler <winkler <at> gnu.org>
> 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.




Added tag(s) confirmed. Request was from Stefan Kangas <stefankangas <at> gmail.com> to control <at> debbugs.gnu.org. (Sat, 15 Feb 2025 03:24:02 GMT) Full text and rfc822 format available.

This bug report was last modified 119 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.