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

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Roland Winkler <winkler@HIDDEN>; dated Fri, 6 Dec 2024 15:59:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 74713 <at> debbugs.gnu.org:


Received: (at 74713) by debbugs.gnu.org; 7 Dec 2024 14:12:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Dec 07 09:12:59 2024
Received: from localhost ([127.0.0.1]:46054 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tJvYI-0007Pw-Me
	for submit <at> debbugs.gnu.org; Sat, 07 Dec 2024 09:12:58 -0500
Received: from eggs.gnu.org ([209.51.188.92]:51326)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <eliz@HIDDEN>) id 1tJvYG-0007Pi-In
 for 74713 <at> debbugs.gnu.org; Sat, 07 Dec 2024 09:12:57 -0500
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 <eliz@HIDDEN>) id 1tJvW4-0000an-MH
 for 74713 <at> debbugs.gnu.org; Sat, 07 Dec 2024 09:10:40 -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=KI1YAh2uQmsMpqNbW6S6osRb80LkKeL4gl8iC6kSAXQ=; b=EvZ4LBk3mZCP
 9hibRw2WTlVRiYRajNVZOf+4cGKF2RE+2m/siR75Ywn3NIGzoe+/7UWt+L+JslYs6qeKeTj3JTua6
 MeyiJydWgUAn58fdAf2zw7Ehewk6447xvaKBPfSQKcyHXXYoU8kousLap72yoXI+zQkSW29k5bMzw
 RXM2cobcoM0vlCkHKU5KKC3OJGqpztjwWlM4P/cYHs/zxnG6CqSGzyJeSrLX4lVtMFf2lkHzwFdIB
 XVbCgWThHNQBDc2LruzBXYRRoxH/s0+syEp35yHvM2klDNbl4g3RIUmUnfGuVlPDcQGyjAJloahiP
 RXpqJW4T9xFrJEdROh0AiA==;
Date: Sat, 07 Dec 2024 16:10:38 +0200
Message-Id: <86bjxninxd.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: Roland Winkler <winkler@HIDDEN>
In-Reply-To: <87y10shkh5.fsf@HIDDEN> (message from Roland Winkler on Fri, 06
 Dec 2024 09:58:14 -0600)
Subject: Re: bug#74713: 30.0.92;
 keyboard macros with input method abort with <with-input-method>
References: <87y10shkh5.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74713
Cc: 74713 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

> From: Roland Winkler <winkler@HIDDEN>
> 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.




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#74713; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 6 Dec 2024 15:59:00 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Dec 06 10:59:00 2024
Received: from localhost ([127.0.0.1]:43956 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tJajL-0000AW-Vj
	for submit <at> debbugs.gnu.org; Fri, 06 Dec 2024 10:59:00 -0500
Received: from lists.gnu.org ([209.51.188.17]:35752)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <winkler@HIDDEN>) id 1tJajH-0000AJ-NA
 for submit <at> debbugs.gnu.org; Fri, 06 Dec 2024 10:58:59 -0500
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 <winkler@HIDDEN>) id 1tJajG-0005rT-QG
 for bug-gnu-emacs@HIDDEN; Fri, 06 Dec 2024 10:58:55 -0500
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 <winkler@HIDDEN>) id 1tJajG-0005zb-Hn
 for bug-gnu-emacs@HIDDEN; Fri, 06 Dec 2024 10:58:54 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:Subject:To:From:in-reply-to:
 references; bh=i1ts76myIH8055xMFxKE1bslx3Sysr8YgAMHCtNbz9M=; b=RBPtg5AcFlVgfW
 lfwrX4O3eVn38+AUqeZd9DwjHAvOxGCh8/fyL69SLF0EM4RoOJVEH1XsAO+zpIfu0IdB6/c/walsW
 bus1yRpiJEFLoMLUjzPHVXB9bEUwaNvXfafTrVy9Myp36tWqSN4pWXHEc/05qZzdkjx80hE6hOA2P
 RLXUDhVQYsrFSZDb767uqkRMpCf7pyWwyMx0OqW0KCDh/VnDvObKqHpgEnPgGkyFr+GEySxq5AGnw
 xO7SRXphAFLeVB5AYJsspCP3wd9WaAsj9rhU7/wQ+hH1bI9dRrRNxYewobsv/tEPZn1vLeSTjr1Am
 Bo3fEy+YuwZLnqZcGu/g==;
From: Roland Winkler <winkler@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.0.92; keyboard macros with input method abort with
 <with-input-method>
X-Debbugs-Cc: 
Date: Fri, 06 Dec 2024 09:58:14 -0600
Message-ID: <87y10shkh5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)


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)





Acknowledgement sent to Roland Winkler <winkler@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#74713; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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