GNU bug report logs - #81793
31.1; M-% doesn't work correctly

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: n04h1n9 <n04h1n9@HIDDEN>; Keywords: unreproducible; Done: Eli Zaretskii <eliz@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug closed, send any further explanations to 81793 <at> debbugs.gnu.org and n04h1n9 <n04h1n9@HIDDEN> Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Added tag(s) unreproducible. Request was from Eli Zaretskii <eliz@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 81793) by debbugs.gnu.org; 10 Oct 2026 07:39:17 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Oct 10 03:39:16 2026
Received: from localhost ([127.0.0.1]:37414 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1xFRfo-0000pA-A2
	for submit <at> debbugs.gnu.org; Sat, 10 Oct 2026 03:39:16 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:33614)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>)
 id 1xFRfm-0000o6-0H; Sat, 10 Oct 2026 03:39:14 -0400
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 1xFRfg-0003nn-AZ; Sat, 10 Oct 2026 03:39:08 -0400
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=aPa1sfB3rbh0Xtk8hPEVkiJW9EUvhajzuOgCkO1OptY=; b=SwkYFlDUveeC
 PvK2KZuX4E6LXUYZbJbvc1JajYrijfsexyG8fdPKf4yYPF8VYaUehS/KiSuggAg9QPk6cy1V5J7aF
 CZg4rSp+deyilzkxZ77Sbjrer6Mw3EuDsiPNjbn9/zPLszxuudf7O4RYtyofZ/ROg9NVILN8UzImB
 k2oIIx76uK+z0VJiuYx61G1o3Sjso6KydxNt0PvXbcal9MMeQkHuJrtvM+qOwXVR4TOsCaheOpZS5
 w6E8jR/wtEJC5fQ/pKNVfFNW4ByO20r+IXOSCIzNB/zS2HrCskhpC3ldtNq8HpCM7y9Apny7tTH3X
 Rb/FLifjvBSQiD/hH9gKsw==;
Date: Sat, 10 Oct 2026 10:39:05 +0300
Message-Id: <864ieukns6.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: n04h1n9@HIDDEN
In-Reply-To: <86qzipiz2d.fsf@HIDDEN> (message from Eli Zaretskii on Sat, 19
 Sep 2026 08:34:50 +0300)
Subject: Re: bug#81793: 31.1; M-% doesn't work correctly
References: <tencent_5EE4F80F880D5B8B277097457AD7ABB9D50A@HIDDEN>
 <87tso5ks3y.fsf@HIDDEN> <86qzipiz2d.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81793
Cc: 81793 <at> debbugs.gnu.org, spwhitton@HIDDEN
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 (---)

tags 81793 unreproducible
close 81793
thanks

> Cc: 81793 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
> Date: Sat, 19 Sep 2026 08:34:50 +0300
> From: Eli Zaretskii <eliz@HIDDEN>
> 
> Ping!  Could you please provide step-by-step instructions
> for reproducing the problem?

No further comments within 3 weeks, so I'm now closing this bug as not
reproducible.

> > From: Sean Whitton <spwhitton@HIDDEN>
> > Date: Fri, 04 Sep 2026 15:29:05 +0100
> > 
> > n04h1n9 via "Bug reports for GNU Emacs, the Swiss army knife of text editors" [04/Sep  3:43pm +08] wrote:
> > > When I use M-% to replace some text, the minibuffer could not follow
> > > what I type, a piece of whitespace will be inserted, and the charaters
> > > could not be matched and replaced correctly. The same thing occured in
> > > emacs -Q.
> > >
> > > My machine to run emacs is Thinkpad X200, same to rms's. And my
> > > operating system is Arch GNU/Linux-libre. And my only use emacs in
> > > terminal.
> > >
> > > Thanks for your notice and bug-fixed!
> > 
> > Please give more precise step-by-step instructions to reproduce the
> > problem from emacs -Q.
> > 
> > -- 
> > Sean Whitton
> > 
> > 
> > 
> > 
> 
> 
> 
> 




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

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


Received: (at 81793) by debbugs.gnu.org; 19 Sep 2026 05:35:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 19 01:35:10 2026
Received: from localhost ([127.0.0.1]:49717 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1x7nj7-0002kJ-Nu
	for submit <at> debbugs.gnu.org; Sat, 19 Sep 2026 01:35:09 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:59112)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <eliz@HIDDEN>) id 1x7nj0-0002i0-61
 for 81793 <at> debbugs.gnu.org; Sat, 19 Sep 2026 01:35:01 -0400
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 1x7niu-0007d3-Kn; Sat, 19 Sep 2026 01:34:52 -0400
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=r45JxTeIBlf1D2+iU1Rbn6Y8xXkaa5Su/3S3+WwMEAI=; b=H0Rtpk8dbkYn
 A4s79mvgsyU0Zk8toqbladya8DWZ97XiaJgDqj8XU5wzWHNJIM6qfQaus8av1XbYUhMn5v/qwLuFH
 YE7BIkx1f4tYKsWtErhFQpYwTUC8PZWWiuaq1RYugCV/iRhwoYNwJRxB1Jd+X9FpPGsKRCT1xVVgQ
 6HA+yNFtQ5rBGHt0SWzqOC3VzZbkcWn5lASeofoypA9/GkHz5GpuYNP/3VW+zIREv+HimqWbQTDVk
 9rAwwxtxzJ7wjWXXPrGroK8Pq+TqDpQ6MWrJbMLV9jsYhtvhaC9sof/nz74wkKiH8P7pEy1NXiok5
 PBC2fLGGflKv2v35/z/h3g==;
Date: Sat, 19 Sep 2026 08:34:50 +0300
Message-Id: <86qzipiz2d.fsf@HIDDEN>
From: Eli Zaretskii <eliz@HIDDEN>
To: n04h1n9@HIDDEN
In-Reply-To: <87tso5ks3y.fsf@HIDDEN> (message from Sean
 Whitton on Fri, 04 Sep 2026 15:29:05 +0100)
Subject: Re: bug#81793: 31.1; M-% doesn't work correctly
References: <tencent_5EE4F80F880D5B8B277097457AD7ABB9D50A@HIDDEN>
 <87tso5ks3y.fsf@HIDDEN>
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 81793
Cc: 81793 <at> debbugs.gnu.org, Sean Whitton <spwhitton@HIDDEN>
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 (---)

Ping!  Could you please provide step-by-step instructions
for reproducing the problem?

> From: Sean Whitton <spwhitton@HIDDEN>
> Date: Fri, 04 Sep 2026 15:29:05 +0100
> 
> n04h1n9 via "Bug reports for GNU Emacs, the Swiss army knife of text editors" [04/Sep  3:43pm +08] wrote:
> > When I use M-% to replace some text, the minibuffer could not follow
> > what I type, a piece of whitespace will be inserted, and the charaters
> > could not be matched and replaced correctly. The same thing occured in
> > emacs -Q.
> >
> > My machine to run emacs is Thinkpad X200, same to rms's. And my
> > operating system is Arch GNU/Linux-libre. And my only use emacs in
> > terminal.
> >
> > Thanks for your notice and bug-fixed!
> 
> Please give more precise step-by-step instructions to reproduce the
> problem from emacs -Q.
> 
> -- 
> Sean Whitton
> 
> 
> 
> 




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

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


Received: (at 81793) by debbugs.gnu.org; 4 Sep 2026 14:29:15 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 04 10:29:15 2026
Received: from localhost ([127.0.0.1]:42022 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1x2Uup-0003YS-Fd
	for submit <at> debbugs.gnu.org; Fri, 04 Sep 2026 10:29:15 -0400
Received: from fout-b8-smtp.messagingengine.com ([202.12.124.151]:46081)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <spwhitton@HIDDEN>)
 id 1x2Uum-0003YC-W6
 for 81793 <at> debbugs.gnu.org; Fri, 04 Sep 2026 10:29:13 -0400
Received: from phl-compute-05.internal (phl-compute-05.internal [10.202.2.45])
 by mailfout.stl.internal (Postfix) with ESMTP id 8F9F41D00128;
 Fri,  4 Sep 2026 10:29:07 -0400 (EDT)
Received: from phl-frontend-03 ([10.202.2.162])
 by phl-compute-05.internal (MEProxy); Fri, 04 Sep 2026 10:29:07 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name;
 h=cc:content-type:content-type:date:date:from:from:in-reply-to
 :in-reply-to:message-id:mime-version:references:reply-to:subject
 :subject:to:to; s=fm2; t=1788532147; x=1788618547; bh=p2iUQq34SE
 U1rs7+dssuM4Ixf5lxOtH7kcRtt8oak0E=; b=FLo6fGLL4STkxDeqYsWTiyD5nU
 xVDkQDFy2pNF+19AgBFgrgnQdLnyR4CqUduTsGugpgVPoWytKV46dgMsn1yfeeyR
 CraHN+cCnVyid57FO+UGXCPCE4Anvnk8XJNFxyO6x85dE8rE6i0PWKSWFFuuwt/6
 9QufThLYpYJykDQ+FlRs3HAauEN+q2UnwyBYuzfEMcgS+hFhGC6ru9jaPr5MPNR7
 lX/TgW+0nO6MjGM+1TLRAdx5k+c+wH5i/zqY9l7V8dg7pBms1g90wohvE//QTxG1
 EtBEymqJl39yRHjAkQNJMKAY97zBDuaoWrsLI1KOIghXYQOhqGb8qhvCGgwg==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=
 messagingengine.com; h=cc:content-type:content-type:date:date
 :feedback-id:feedback-id:from:from:in-reply-to:in-reply-to
 :message-id:mime-version:references:reply-to:subject:subject:to
 :to:x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=
 1788532147; x=1788618547; bh=p2iUQq34SEU1rs7+dssuM4Ixf5lxOtH7kcR
 tt8oak0E=; b=kpIXfzy7Fv2Tjo2i0EoQxn0msFv8L0cd5NVU+m0KYH9mvhaSEFj
 AAKIBcoN2cDamlTxkXO15aEWDZ/WxNg0IL0qaMLwpvESrrhnEZ+mWcFOT+IJZkH3
 hrRMuD1f/Hcy/oKUyxHLS89v2NOr4Bt/u6DghBPxgV8L5DnPgVPxfkzMJJcCanf0
 0KZOM+hRTdRRBU0ep1iBZn7LYtzq243oD445J3oxlmPYwyEenM3SfFFJ+OFAtya9
 MIC90C3gBRM5Ch5RgAsAfK1AjKo2V/G1sUzZrzWtJO6D1DFEjfQ2jZa+hfwZOChr
 1zYOMRydSe2p6PW1PHZ7b6MomLh6AzmtpAw==
X-ME-Sender: <xms:s9Waas-jYFgRj-o8GR9lTDb1XuH4R91NER0fVuZfOCaFQruw_0-Ulg>
 <xme:s9WaaqtYudGn6mVJMeabPbyHuhBTGJPo_og5B2PHu9dNOI3OwlYElXOxhnPEK0a7s
 XMgm9467RrTb18cXDkSgA_wJWKbcIxUQg_Nwen1WoFS-GWmXDMo5rCjPg>
X-ME-Received: <xmr:s9WaavpYgQ1eGrxgxP9HH4OS2kdjbdMDJpkuYjIP7KkGiMiZL60snH4yY64R4mXPzaIHEyXBb7Nvjm_EJEDVGpebxVpvJYK5Ug>
X-ME-Proxy-Cause: dmFkZTFMp998afdA0C6YO5KBQKuev3ylSwMuA1hEL99dloIh/agcUxotPCEjUASs92+39q
 Bw/fNJsL1OiKdzEV3nJOpz98P69a5hsohhzUTiAYdf4xFaHltbNCrKOObn73KtfUuv0PQg
 S1WlVEbG3LeJUHvCSrttMHcJLtRzgNH9WRuQW4VfqR/D47Dxy6iUh0uHxJ+ubXZ2K+Lnbj
 69myq4JEQ5/tb1H/BnVePdMsA2+1rSWZ/orQ675N/waZzUUtYzgxDIoTwdTGiXLFqq4UOt
 Fr3a0sKpT8xiJC6jjFTtlkpJDrFGTmLmKjJdqGbvPUWYaXuULylfHzwkR/5R/2L2HkTNU1
 YXvSl2LG8DtHz7rDDR+ec1zP8C+Cuw2h9F9TB1hMDL51JLAwektlhcrf28x7Fg/7DTKCDL
 OihSRLYt+YDRez/uBVoekzCh65k+iWlyDNYJaSBMHEtcLWJ+6JhrSwz3cB065B6CV/Asx5
 wckRhwsvmuiByH7NjBSluc+pJY8s9a0a2qybQnIW91iRqnseV/VrVpqTLE3GAcJ9FpZSuH
 87Clrqdfp7yaVqdGwNW2BSemRhHiu0MuAJRfBggzq6ds2tDSdLqTZNQ6q1SQoYpVDcbyIU
 8qyNpaxEVB7hRv6gLTU481X4BSPkkGRC2oJTmFi9Wk3KdkFoYbGlgLWHIRDQ
X-ME-Proxy: <xmx:s9WaannHVfBq5IihFjTgCpWy0IX8--FjNZ_vIBM49_yw8xh2S6-pRw>
 <xmx:s9WaajwiDyHlfzH4WOEPosR-i0sNPQ-SpyRiY6JR4iHWl00-peES0A>
 <xmx:s9WaavlmG-HCdpD4JtcQHz6RIh2K46z92OgsUMJ7UQ7mwXx6jQKhnQ>
 <xmx:s9WaasdATy4pwLGqiBZ5eU_mgZGNBWcFW2ktC9YAbGFP-ZIv1h5GUw>
 <xmx:s9Waaog47wHdogZ6bQtsKzZkeBX87u7aDPzSP3OfhLrkaScHYjya_o3W>
Feedback-ID: i62564b17:Fastmail
Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri,
 4 Sep 2026 10:29:07 -0400 (EDT)
Received: by athena.silentflame.com (Postfix, from userid 1000)
 id 5F66A280C3E; Fri, 04 Sep 2026 15:29:05 +0100 (BST)
From: Sean Whitton <spwhitton@HIDDEN>
To: n04h1n9 <n04h1n9@HIDDEN>, 81793 <at> debbugs.gnu.org
Subject: Re: bug#81793: 31.1; M-% doesn't work correctly
In-Reply-To: <tencent_5EE4F80F880D5B8B277097457AD7ABB9D50A@HIDDEN>
References: <tencent_5EE4F80F880D5B8B277097457AD7ABB9D50A@HIDDEN>
Date: Fri, 04 Sep 2026 15:29:05 +0100
Message-ID: <87tso5ks3y.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 81793
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: -1.7 (-)

n04h1n9 via "Bug reports for GNU Emacs, the Swiss army knife of text editors" [04/Sep  3:43pm +08] wrote:
> When I use M-% to replace some text, the minibuffer could not follow
> what I type, a piece of whitespace will be inserted, and the charaters
> could not be matched and replaced correctly. The same thing occured in
> emacs -Q.
>
> My machine to run emacs is Thinkpad X200, same to rms's. And my
> operating system is Arch GNU/Linux-libre. And my only use emacs in
> terminal.
>
> Thanks for your notice and bug-fixed!

Please give more precise step-by-step instructions to reproduce the
problem from emacs -Q.

-- 
Sean Whitton




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

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


Received: (at submit) by debbugs.gnu.org; 4 Sep 2026 14:23:11 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Sep 04 10:23:11 2026
Received: from localhost ([127.0.0.1]:41926 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1x2Uos-0003Bo-7O
	for submit <at> debbugs.gnu.org; Fri, 04 Sep 2026 10:23:11 -0400
Received: from lists1p.gnu.org ([2001:470:142::17]:40566)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <n04h1n9@HIDDEN>) id 1x2Ohu-0007GV-5F
 for submit <at> debbugs.gnu.org; Fri, 04 Sep 2026 03:51:32 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <n04h1n9@HIDDEN>) id 1x2Oho-0008RX-F3
 for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2026 03:51:24 -0400
Received: from xmbghk7.mail.qq.com ([43.163.128.54])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <n04h1n9@HIDDEN>) id 1x2Ohk-00049l-7e
 for bug-gnu-emacs@HIDDEN; Fri, 04 Sep 2026 03:51:24 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512;
 t=1788508269; bh=giOC+8UVUOFxD07Y8ODLEB9NJ9prZjNZg/difFWezpo=;
 h=From:To:Subject:Date;
 b=Z98jIe9xmDoIEgly0sgKGgG/XSjt4iivVEEyL9Khk2474KWyzVnMqWh/33dSwQdst
 kMWVwY06800dMICjrSFh/QKm108AXDG1PHW5ktFTd99OAC97Ba4/Iig+ipyldMlmms
 zfe+rEnwLb0MCWw9DsvuCQ+g8HluiUfGziRdykwc=
Received: from tpx200 ([240e:350:7da5:8010:c2d9:62ff:feda:3081])
 by newxmesmtplogicsvrszb51-0.qq.com (NewEsmtp) with SMTP
 id AF0264CB; Fri, 04 Sep 2026 15:43:48 +0800
X-QQ-mid: xmsmtpt1788507828twlj4b40n
Message-ID: <tencent_5EE4F80F880D5B8B277097457AD7ABB9D50A@HIDDEN>
X-QQ-XMAILINFO: MqswyhUqVe0CYRWoGsycoJ0Znyzm1DNjT+rk+NEylK3YzOltyho3kiRmEbeZsE
 4wwSywJKMBcSZbbKR3D7QtxTM0KFCFExdKeVQ7J8+IM5MHpAs3CYXgVQy14YtvQrpJpP8TQCIMLq
 aTXQhsgcEiRPghyP3I17rujMh19AXcz74rmyoKHvmmiSQaI6wqn61t6V9yb0IiZEpbJWRy9UNqZd
 VspuJxqsy2PieX73wAZjzr3iQzsoSiccyKOYKD7LjH1JvBnKGDPDUWMJ6FLqdocqmDPKOEUBBoax
 LMSh18lxvr49BwdrLtQ3vm7ooiFogqYa/wpk+UaGn1NmJnUlqD+0kdFXBUfjApZ7EyVtolE0hmvC
 YNAC6T6R213RnYaTKempayXyUlWJvL5HBYXL86Y57ELACwCgEdSbsG+3scBFVIny2QDKieuuja4g
 UVkn8csnnafZxsLcFskJ1j95GQQYzlvIsYEknzz5ZCsm0ZwmbE63TWZti2nK2sDVv5U8fAVojfib
 Q8rxgo0tFqJqLxtESKVedMgILOLQ+prp8GN3pMbqrr7s28SrVeHSm6OC1CceSz/4fh8nWyUEj11i
 RA/jrr34v/AfPIM5/JMLQ15ypqDPID9CkrRaww7BTZVv4n4tGJp991KZS9YJuJsr3W1r/qkmZhFf
 +OIlT5ML/vgOvVO59VyDYd6q8qNdlK4U90YUkJp68Ak0Ak5VAyn8PTMU7obP3JSpJYLG0h1Onai7
 f1Dp9LWPCUIKjkXZsOQvBq+Xrx+hWQWHKB3d+aWoo1TAPl0qp0drQHqrlDvXWWf1QfJaGHX9UVKc
 tsqg3GliqmkST+/ViSzfrnBboUFFD7VTcSKMtFVXCW5+lU151G3xueYWDM6QkKiXg2p8ZxMreW7L
 yquFVJuIVHCuuD7RIpJ3A2kMw5qNa4RTNMBmh/LTi9SMI0tGgkbQaFUw2TCNHKrfkhv0+Id0gkyM
 WLFOldZxvMzdK8BAtHvGZdOzAEZjYR/Hlj0F3EdHEdnsVSc4E4lrRWWtO5XIgwBOqV8SznRKacxK
 Ocj2R0x/wZDC0C3dSo
X-QQ-XMRINFO: Nq+8W0+stu50tPAe92KXseR0ZZmBTk3gLg==
From: n04h1n9 <n04h1n9@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 31.1; M-% doesn't work correctly
X-Debbugs-Cc: 
Date: Fri, 04 Sep 2026 15:43:47 +0800
X-OQ-MSGID: <87a4pxsbpo.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=43.163.128.54; envelope-from=n04h1n9@HIDDEN;
 helo=xmbghk7.mail.qq.com
X-Spam_score_int: -17
X-Spam_score: -1.8
X-Spam_bar: -
X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1,
 FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 2.3 (++)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
 has NOT identified this incoming email as spam.  The original
 message has been attached to this so you can view it or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 Content preview:  When I use M-% to replace some text, the minibuffer could
 not follow what I type, a piece of whitespace will be inserted,
 and the charaters
 could not be matched and replaced correctly. The same thing [...] 
 Content analysis details:   (2.3 points, 10.0 required)
 pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at https://www.dnswl.org/,
 no trust [2001:470:142:0:0:0:0:17 listed in] [list.dnswl.org]
 -0.0 SPF_HELO_PASS          SPF: HELO matches SPF record
 0.0 FREEMAIL_FROM          Sender email is commonly abused enduser mail
 provider (n04h1n9[at]qq.com)
 0.2 FREEMAIL_ENVFROM_END_DIGIT Envelope-from freemail username ends
 in digit (n04h1n9[at]qq.com)
 0.9 SPF_FAIL               SPF: sender does not match SPF record (fail)
 [SPF failed: Please see http://www.openspf.org/Why?s=mfrom; id=n04h1n9%40qq.com;
 ip=2001%3A470%3A142%3A%3A17; r=debbugs.gnu.org]
 1.1 SPOOFED_FREEMAIL       No description available.
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Fri, 04 Sep 2026 10:23:04 -0400
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: 0.2 (/)


When I use M-% to replace some text, the minibuffer could not follow
what I type, a piece of whitespace will be inserted, and the charaters
could not be matched and replaced correctly. The same thing occured in
emacs -Q.

My machine to run emacs is Thinkpad X200, same to rms's. And my
operating system is Arch GNU/Linux-libre. And my only use emacs in
terminal.

Thanks for your notice and bug-fixed!


In GNU Emacs 31.1 (build 2, x86_64-pc-linux-gnu)
System Description: Arch Linux

Configured using:
 'configure --without-x --without-sound --sysconfdir=/etc --prefix=/usr
 --libexecdir=/usr/lib --localstatedir=/var --disable-build-details
 --with-cairo --with-harfbuzz --with-libsystemd --with-modules
 --with-native-compilation=aot --with-tree-sitter 'CFLAGS=-march=x86-64
 -mtune=generic -O2 -pipe -fno-plt -fexceptions -Wp,-D_FORTIFY_SOURCE=3
 -Wformat -Werror=format-security -fstack-clash-protection
 -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -g
 -ffile-prefix-map=/build/emacs/src=/usr/src/debug/emacs -flto=auto'
 'LDFLAGS=-Wl,-O1 -Wl,--sort-common -Wl,--as-needed -Wl,-z,relro
 -Wl,-z,now -Wl,-z,pack-relative-relocs -flto=auto''

Configured features:
ACL DBUS GMP GNUTLS LCMS2 LIBSYSTEMD LIBXML2 MODULES NATIVE_COMP NOTIFY
INOTIFY PDUMPER SECCOMP SQLITE3 THREADS TREE_SITTER XIM ZLIB

Important settings:
  value of $LANG: zh_CN.UTF-8
  value of $XMODIFIERS: @im=fcitx5
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  server-mode: t
  rainbow-delimiters-mode: t
  paredit-mode: t
  mouse-wheel-mode: t
  company-mode: t
  global-colorful-mode: t
  colorful-mode: t
  sis-global-respect-mode: t
  ace-pinyin-global-mode: t
  ace-pinyin-mode: t
  amx-mode: t
  ido-ubiquitous-mode: t
  override-global-mode: t
  save-place-mode: t
  global-hl-line-mode: t
  global-auto-revert-mode: t
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-nonselected-mode: t
  minibuffer-regexp-mode: t
  column-number-mode: t
  line-number-mode: t
  indent-tabs-mode: t
  transient-mark-mode: t
  auto-composition-mode: t
  auto-encryption-mode: t
  auto-compression-mode: t

Load-path shadows:
/home/n04h1n9/.emacs.d/elpa/markdown-ts-mode-20260505.1217/markdown-ts-mode hides /usr/share/emacs/31.1/lisp/textmodes/markdown-ts-mode

Features:
(shadow emacsbug gnus-cite gnus-async gnus-bcklg gnus-ml disp-table
nndraft nnmh nnfolder utf-7 gnus-agent gnus-srvr gnus-score score-mode
nnvirtual gnus-msg gnus-art mm-uu mml2015 mm-view mml-smime smime dig
nntp gnus-cache gnus-sum shr pixel-fill kinsoku url-file svg xml
gnus-group gnus-undo gnus-start gnus-cloud nnimap nnmail mail-source
utf7 nnoo parse-time iso8601 gnus-spec gnus-int gnus-range gnus-win gnus
nnheader range gnutls network-stream nsm smtpmail sort mail-extr message
yank-media rfc822 mailabbrev gmm-utils mailheader byte-opt mml mml-sec
epa derived epg rfc6068 epg-config gnus-util mm-decode mm-bodies
mm-encode textsec uni-scripts puny idna-mapping ucs-normalize
uni-confusable textsec-check sendmail mail-parse rfc2231 rfc2047 rfc2045
ietf-drums mm-util mail-prsvr mail-utils smex image time-date term/st
term/xterm xterm server rainbow-delimiters paredit eglot tree-widget
external-completion jsonrpc flymake mwheel diff diff-mode track-changes
ert ewoc debug backtrace find-func imenu company-oddmuse
company-keywords company-etags etags fileloop generator xref project
company-gtags company-dabbrev-code company-dabbrev company-files
company-clang company-capf company-cmake company-semantic
company-template company-bbdb company pcase rust-utils rust-prog-mode
rust-mode rust-playpen rust-cargo rust-common rust-rustfmt rust-compile
compile text-property-search comint ansi-osc ansi-color lang mails
colorful-mode compat dired-x dired dnd dired-loaddefs multiple-cursors
mc-separate-operations rectangular-region-mode mc-mark-pop mc-edit-lines
mc-hide-unmatched-lines-mode mc-mark-more sgml-mode facemenu dom
thingatpt mc-cycle-cursors multiple-cursors-core rect sis ace-pinyin
pinyinlib avy ring amx s edmacro kmacro ido-completing-read+ memoize
cus-edit pp cus-start cus-load wid-edit minibuf-eldef ido
kaolin-dark-theme kaolin-themes kaolin-themes-lib autothemer color
lisp-mnt dash use-package use-package-ensure use-package-delight
use-package-diminish use-package-bind-key bind-key easy-mmode
use-package-core finder-inf saveplace hl-line autorevert filenotify base
ace-pinyin-autoloads ace-window-autoloads amx-autoloads avy-autoloads
cfrs-autoloads colorful-mode-autoloads company-autoloads
counsel-autoloads gruvbox-theme-autoloads ht-autoloads hydra-autoloads
ido-completing-read+-autoloads comp comp-cstr cl-extra help-mode
warnings comp-run bytecomp byte-compile comp-common regexp-opt rx
kaolin-themes-autoloads autothemer-autoloads dash-autoloads lv-autoloads
markdown-mode-autoloads markdown-ts-mode-autoloads package tool-bar
browse-url xdg url url-proxy url-privacy url-expand url-methods
url-history url-cookie generate-lisp-file url-domsuf url-util mailcap
url-handlers url-parse auth-source cl-seq eieio eieio-core cl-macs gv
icons password-cache json subr-x mule-util map url-vars cl-loaddefs
cl-lib memoize-autoloads multiple-cursors-autoloads mwim-autoloads
paredit-autoloads pfuture-autoloads pinyinlib-autoloads
posframe-autoloads rainbow-delimiters-autoloads rust-mode-autoloads
s-autoloads sis-autoloads smex-autoloads swiper-autoloads ivy-autoloads
tree-sitter-langs-autoloads tree-sitter-autoloads tsc-autoloads
web-server-autoloads websocket-autoloads package-activate china-util rmc
iso-transl tooltip cconv eldoc paren electric uniquify ediff-hook
vc-hooks lisp-float-type elisp-mode tabulated-list replace newcomment
text-mode lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow
isearch easymenu timer select mouse jit-lock font-lock syntax font-core
term/tty-colors frame minibuffer nadvice seq simple cl-generic
indonesian philippine cham georgian utf-8-lang misc-lang vietnamese
tibetan thai tai-viet lao korean japanese eucjp-ms cp51932 hebrew greek
romanian slovak czech european ethiopic indian cyrillic chinese
composite emoji-zwj charscript charprop case-table epa-hook
jka-cmpr-hook help abbrev obarray oclosure cl-preloaded button loaddefs
theme-loaddefs faces cus-face macroexp files window text-properties
overlay sha1 md5 base64 format env code-pages mule custom widget keymap
hashtable-print-readable backquote threads dbusbind inotify lcms2
multi-tty make-network-process tty-child-frames native-compile emacs)

Memory information:
((conses 16 744768 58428) (symbols 48 34376 16) (strings 32 176385 5399)
 (string-bytes 1 4429278) (vectors 16 75710) (vector-slots 8 1581726 142446)
 (floats 8 603 103) (intervals 56 631 71) (buffers 1064 29))





Acknowledgement sent to n04h1n9 <n04h1n9@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#81793; 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: Sat, 10 Oct 2026 07:45:03 UTC

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