GNU bug report logs - #77497
30.1.50; "]" in the prompt in minibuffer-regexp-mode causes warning

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: Spencer Baugh <sbaugh@HIDDEN>; Done: Juri Linkov <juri@HIDDEN>; Maintainer for emacs is bug-gnu-emacs@HIDDEN.
bug marked as fixed in version 31.0.50, send any further explanations to 77497 <at> debbugs.gnu.org and Spencer Baugh <sbaugh@HIDDEN> Request was from Juri Linkov <juri@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

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


Received: (at 77497) by debbugs.gnu.org; 4 Apr 2025 16:15:27 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 12:15:27 2025
Received: from localhost ([127.0.0.1]:39694 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0jhX-000073-1W
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 12:15:27 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35757)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>)
 id 1u0jhT-0008Sr-Mz; Fri, 04 Apr 2025 12:15:24 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id 42E1442E7E;
 Fri,  4 Apr 2025 16:15:13 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: martin rudalics <rudalics@HIDDEN>
Subject: Re: bug#77497: 30.1.50; "]" in the prompt in minibuffer-regexp-mode
 causes warning
In-Reply-To: <f0b4276f-3f8f-4839-a3d8-d12080206af1@HIDDEN>
Organization: LINKOV.NET
References: <ierr0296vbb.fsf@HIDDEN>
 <87cydt5erv.fsf@HIDDEN> <87cydtrs0n.fsf@HIDDEN>
 <f0b4276f-3f8f-4839-a3d8-d12080206af1@HIDDEN>
Date: Fri, 04 Apr 2025 19:09:43 +0300
Message-ID: <87semnyl1s.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgdduledukeelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeegpdhrtghpthhtoheptghonhhtrhholhesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopeejjeegleejseguvggssghughhsrdhgnhhurdhorhhgpdhrtghpthhtohepshgsrghughhhsehjrghnvghsthhrvggvthdrtghomhdprhgtphhtthhopehruhgurghlihgtshesghhmgidrrght
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77497
Cc: Spencer Baugh <sbaugh@HIDDEN>, 77497 <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: -1.7 (-)

close 77497 31.0.50
thanks

>>>    (read-regexp "Query replace regexp (default ]foo → ): ") bar
>>
>> Or just (read-string "Query replace regexp (default ]foo → ): ") bar
>>
>> This is caused by 'minibuffer-regexp-mode', so Cc-ing Martin.
>
> Should be fixed now.  Please have a look.

Thanks, so now closing.




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

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


Received: (at 77497) by debbugs.gnu.org; 4 Apr 2025 07:13:32 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Fri Apr 04 03:13:32 2025
Received: from localhost ([127.0.0.1]:36880 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0bF6-0002BE-IV
	for submit <at> debbugs.gnu.org; Fri, 04 Apr 2025 03:13:32 -0400
Received: from mout.gmx.net ([212.227.17.20]:50051)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <rudalics@HIDDEN>) id 1u0bF3-0002At-BG
 for 77497 <at> debbugs.gnu.org; Fri, 04 Apr 2025 03:13:30 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmx.at;
 s=s31663417; t=1743750800; x=1744355600; i=rudalics@HIDDEN;
 bh=c/eyLDcLwovJjXOhWLA8CnckHVLYNyifDMBGwXcOB3g=;
 h=X-UI-Sender-Class:Message-ID:Date:MIME-Version:Subject:To:Cc:
 References:From:In-Reply-To:Content-Type:
 Content-Transfer-Encoding:cc:content-transfer-encoding:
 content-type:date:from:message-id:mime-version:reply-to:subject:
 to;
 b=HjXhbyxqaAbSU9CaqO+XOjTuD+aINd6WfD5ivljfhaKVvdG5ybkdf3Ke3TD1UVVo
 3czUC3wKuYpnurYwBv7lg6NJa3j08uewoE0qcv6EKla7vT4T+g5mhlmyucoCNftpM
 25J+XPfpxcBf+32EVJusjtn1MMy1+pNSFFSlUZSoegT8xHgzX25iZEBV4SZAneSvC
 PvF+BReeXqiM8OTYQiEC1am+HtLwhWL3qZBn51je7foZQvm19u5+ZecPi2UL5u/A5
 G4oCRlx1F3S2bfCJp+elPHX6hpRyao7LLSAJ7PJTaJJcsSnUpQIkBHaE9RGcyR5eN
 UcCp41gt3MqVkO2ZtQ==
X-UI-Sender-Class: 724b4f7f-cbec-4199-ad4e-598c01a50d3a
Received: from [192.168.31.113] ([213.142.96.18]) by mail.gmx.net (mrgmx105
 [212.227.17.168]) with ESMTPSA (Nemesis) id 1M1Hdq-1txr9B3CSg-000aZM; Fri, 04
 Apr 2025 09:13:20 +0200
Message-ID: <f0b4276f-3f8f-4839-a3d8-d12080206af1@HIDDEN>
Date: Fri, 4 Apr 2025 09:13:16 +0200
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: bug#77497: 30.1.50; "]" in the prompt in minibuffer-regexp-mode
 causes warning
To: Juri Linkov <juri@HIDDEN>, Spencer Baugh <sbaugh@HIDDEN>
References: <ierr0296vbb.fsf@HIDDEN>
 <87cydt5erv.fsf@HIDDEN> <87cydtrs0n.fsf@HIDDEN>
Content-Language: en-US
From: martin rudalics <rudalics@HIDDEN>
In-Reply-To: <87cydtrs0n.fsf@HIDDEN>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: base64
X-Provags-ID: V03:K1:d6WvVwwg/O4DuF/W0SN6NosyagxRz63wR76f8YZY2M8urXqaRTr
 6F0IrlntguB0ZKNOWCPQknqYoIqRQLotlkibMCqHQ91qo/ZLK+OA015XwRAF4zkyi8VXhRE
 CK0mjOtr+mjKc4saoZwPYMhAdbfpmakhU+6CNwwXghiNuGZyAeooXt2rb6jNZxRQEhnwuJj
 6KCSaIw8F0Anjo7AGKYgQ==
X-Spam-Flag: NO
UI-OutboundReport: notjunk:1;M01:P0:iv+zkU8ruuw=;0+siLxZqtjv3OTyotkjN1spDHLq
 2hbHuyJgPJj1Gl+O+lxROYJe/f1zWdb396Ey2wMeILUz9UOlNwfFJN9kKf3xKtszUKzigtB5d
 vkgYS1ydApj20MGlbRSufy8j9vG1P9M7UroIIENw1B1bAI8qp0bOrFroDcSYN2flBs9ZzMNXu
 a/DjztNRmS95lJ1rImU7n3KL9uhzlPJLb+WenxdFNcRuMe+8oUWRdJoG1kTj1iEZ1YA9wXDJY
 na6t3jmMMmjKw6BHQzIwvij63jyLwBJE3OSIpexp+RyLuEhnlM6zLlC+pYLQID8lPcpK/6isW
 5F9Tbak5Qd89vITJY5OW5Q9vrzpPC3oPtkKfn+7N9GhwHD3xE6RsRkz1ACatQvW9b+CheO66e
 k0eSYz974ZxnVmK4W40KZMjKnciFTAuQvuq6nbcdZUG1II7RCiRIP1e/JsO7836j9RYCe735r
 ouN0H0gZOe4c1qICXC/O5Lid0/I81GvybBhiI9UBl24KhsQdYg2FFmrErNe3i+h54o/oYjT9p
 8+6K4zyaJpl2zSBVLkJZBodFlWVGE+dBX9vpAft9EmuxGWkSa8UyHnoZh8nZh+uJd+CrVv2hq
 tw9eXO7I6QTAB7YHZbVa9Us+c2rl3ebeUAcZaGWC+aw5bMP6DnMYuxQSl/Im9+WCQCCsYrPW/
 /fvr5zt+3WR8fzZmjNKcvn+G/k4jdYBkR3fLwvmwC0iJIrcf/ntkn9A8d2F6Fle8P9RL5nIxz
 6IvPBCgfQOtDcRS4Uxse5nqAdM0/w8JUWaOriuKHCEKNESwXYofkIAKSi93plVT03vf3nWP0M
 SlNkxsTotANEUlg+AQBWF5eQAISJP1iLKAbDWzvxr7lMT3Bb+jUVzLaRI+iUeVXVwnioGp4Ow
 w34HYOhgjNnQ7+FwheYHNqu8exmXCuZ+I1LNZDYrpP/ujC3XwnSzlX+YuFoYxuU+9EsIoxPEM
 PcZoWtDmxqC8Ec5GXTdD/WW5HJM1rBlVtsydnbPYhEoW8zhu09iIULMvXo9/4EVRfpX1/7DEQ
 b1rvHJ/LnYzPZBjxyg8Lkl2DJ5xF/29QBrgQVoRH8+be1ZHGe0su1bT7HPa2nC2m+qxNqzOKI
 1NBlaydCoGISlkRVrY/TeawEAnBD7KcuxtqPSlWA/oui+mZitiKBTYdXMasSvY88q84/eQ8Tg
 ZTegkhf6iWPPE+V8c/IV5Y22yOSGmUUWMnD+i26jPJMzpGk6Jhk9Q+FdGzlyTtZpVTadmTfKg
 jgoaBhOs3gu+N8Mvtgs7CwvtltGMtCh/VfWP7Qu1f93aYnzo7kgUZQWKDXEpylbmsyM49nlBI
 seDAFWTEZFzKL5wxiCKi1b3ibLcbKAbVxFBKBtfZ3jBbff7E+1WoGACZ85/kY4vm2+JhfkLE1
 qWRhS1obCPIZZiutDWCQQtJHdFWFBYn9kxD29d+WqLS/bWh9cnBJIyUPHFgdjUu+tY8/mJHSO
 XmhaZlfqqT03u4mDkJgz22Wv7htJtuBtIHG4Bn8LQlQIxSYgT
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77497
Cc: 77497 <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: -1.7 (-)

ID4+ICAgIChyZWFkLXJlZ2V4cCAiUXVlcnkgcmVwbGFjZSByZWdleHAgKGRlZmF1bHQgXWZv
byDihpIgKTogIikgYmFyDQogPg0KID4gT3IganVzdCAocmVhZC1zdHJpbmcgIlF1ZXJ5IHJl
cGxhY2UgcmVnZXhwIChkZWZhdWx0IF1mb28g4oaSICk6ICIpIGJhcg0KID4NCiA+IFRoaXMg
aXMgY2F1c2VkIGJ5ICdtaW5pYnVmZmVyLXJlZ2V4cC1tb2RlJywgc28gQ2MtaW5nIE1hcnRp
bi4NCg0KU2hvdWxkIGJlIGZpeGVkIG5vdy4gIFBsZWFzZSBoYXZlIGEgbG9vay4NCg0KVGhh
bmtzIGZvciB0aGUgcmVwb3J0LCBtYXJ0aW4NCg==




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

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


Received: (at 77497) by debbugs.gnu.org; 3 Apr 2025 18:59:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 14:59:31 2025
Received: from localhost ([127.0.0.1]:35723 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0Pml-0004FM-FM
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 14:59:31 -0400
Received: from relay1-d.mail.gandi.net ([217.70.183.193]:35561)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1u0Pmj-0004F5-BI
 for 77497 <at> debbugs.gnu.org; Thu, 03 Apr 2025 14:59:30 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id E6CCB43308;
 Thu,  3 Apr 2025 18:59:20 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Spencer Baugh <sbaugh@HIDDEN>
Subject: Re: bug#77497: 30.1.50; "]" in the prompt in minibuffer-regexp-mode
 causes warning
In-Reply-To: <87cydt5erv.fsf@HIDDEN>
Organization: LINKOV.NET
References: <ierr0296vbb.fsf@HIDDEN>
 <87cydt5erv.fsf@HIDDEN>
Date: Thu, 03 Apr 2025 21:58:48 +0300
Message-ID: <87cydtrs0n.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeelfeegucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopeefpdhrtghpthhtohepjeejgeeljeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehruhgurghlihgtshesghhmgidrrghtpdhrtghpthhtohepshgsrghughhhsehjrghnvghsthhrvggvthdrtghomh
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77497
Cc: martin rudalics <rudalics@HIDDEN>, 77497 <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: -1.7 (-)

>   (read-regexp "Query replace regexp (default ]foo → ): ") bar

Or just (read-string "Query replace regexp (default ]foo → ): ") bar

This is caused by 'minibuffer-regexp-mode', so Cc-ing Martin.




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

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


Received: (at 77497) by debbugs.gnu.org; 3 Apr 2025 17:37:06 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 13:37:06 2025
Received: from localhost ([127.0.0.1]:35520 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0OUz-0000NA-Qb
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 13:37:06 -0400
Received: from relay6-d.mail.gandi.net ([217.70.183.198]:59851)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <juri@HIDDEN>) id 1u0OUw-0000MY-Ky
 for 77497 <at> debbugs.gnu.org; Thu, 03 Apr 2025 13:37:03 -0400
Received: by mail.gandi.net (Postfix) with ESMTPSA id B394E44251;
 Thu,  3 Apr 2025 17:36:49 +0000 (UTC)
From: Juri Linkov <juri@HIDDEN>
To: Spencer Baugh <sbaugh@HIDDEN>
Subject: Re: bug#77497: 30.1.50; "]" in the prompt in minibuffer-regexp-mode
 causes warning
In-Reply-To: <ierr0296vbb.fsf@HIDDEN>
Organization: LINKOV.NET
References: <ierr0296vbb.fsf@HIDDEN>
Date: Thu, 03 Apr 2025 20:35:48 +0300
Message-ID: <87cydt5erv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/31.0.50 (x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-GND-State: clean
X-GND-Score: -100
X-GND-Cause: gggruggvucftvghtrhhoucdtuddrgeefvddrtddtgddukeeludekucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuifetpfffkfdpucggtfgfnhhsuhgsshgtrhhisggvnecuuegrihhlohhuthemuceftddunecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenucfjughrpefhvfevufgjohhffffkfgggtgfgsehtkeertddtreejnecuhfhrohhmpefluhhrihcunfhinhhkohhvuceojhhurhhisehlihhnkhhovhdrnhgvtheqnecuggftrfgrthhtvghrnhepieffteejgeehffejuedtiefhudekgeejteekiefgveeuheetvdefgeekkeevkedunecukfhppeeluddruddvledruddthedruddujeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeeluddruddvledruddthedruddujedphhgvlhhopehmrghilhdrghgrnhguihdrnhgvthdpmhgrihhlfhhrohhmpehjuhhriheslhhinhhkohhvrdhnvghtpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepjeejgeeljeesuggvsggsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehssggruhhghhesjhgrnhgvshhtrhgvvghtrdgtohhm
X-GND-Sasl: juri@HIDDEN
X-Spam-Score: -0.7 (/)
X-Debbugs-Envelope-To: 77497
Cc: 77497 <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: -1.7 (-)

> 2. C-M-% ]
>
> 3. "]" is now in the prompt; type "foo" and see a minibuffer-message "Not in character
> alternative".
>
> 4. RET
>
> 5. C-M-%
>
> 6. "] -> foo" is in the prompt (as a default); type "bar" and also see a
> minibuffer-message "Not in character alternative".
>
> This also happens for longer strings e.g. "foobar]".
>
> This is especially annoying because C-M-% uses the previous M-%
> replacement as a default; so if M-% was used explicitly to replace a
> string containing ], it will confuse a subsequent C-M-%.

I can reproduce this with

  (read-regexp "Query replace regexp (default ]foo → ): ") bar

but not with

  (read-regexp "Replace regexp (default ]foo → ): ") bar




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

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


Received: (at submit) by debbugs.gnu.org; 3 Apr 2025 16:53:28 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Apr 03 12:53:28 2025
Received: from localhost ([127.0.0.1]:35447 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1u0Nol-0003p3-KU
	for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:53:28 -0400
Received: from lists.gnu.org ([2001:470:142::17]:45684)
 by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.84_2) (envelope-from <sbaugh@HIDDEN>)
 id 1u0Noi-0003oj-QX
 for submit <at> debbugs.gnu.org; Thu, 03 Apr 2025 12:53:26 -0400
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 <sbaugh@HIDDEN>)
 id 1u0Nob-0004cX-3Q
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 12:53:17 -0400
Received: from mxout5.mail.janestreet.com ([64.215.233.18])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <sbaugh@HIDDEN>)
 id 1u0NoY-00016P-2O
 for bug-gnu-emacs@HIDDEN; Thu, 03 Apr 2025 12:53:16 -0400
From: Spencer Baugh <sbaugh@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 30.1.50; "]" in the prompt in minibuffer-regexp-mode causes warning
X-Debbugs-Cc: 
Date: Thu, 03 Apr 2025 12:53:12 -0400
Message-ID: <ierr0296vbb.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=janestreet.com;
 s=waixah; t=1743699192;
 bh=jG64CyYmwbfXcWWNxv9ucqg/syNm83YlTww5CXkT4JA=;
 h=From:To:Subject:Date;
 b=Co6h/wnX5jTfTgc7jlUaPWtboFnqqqN/XuGMywzo+SMsKkW9ZLpPHEx63xiSywgaw
 fYMRnALe+hLEMXFKnSPfVzQze1AUnjnvQT4G9/nzqn3jDl2ThTN9KGZHvYyI/kEbEP
 xNy5NB301LekBBAOlZEstSuUg+1wWLNUMmw1ISVVI4rDKB80zELyJzG6dSLNTOytNj
 dyf5h/aa4T7jmyyCQVlMOZl8Hc2WiEITZd96K8FSbNrsC8V4D2IhbFQvnTBq7CjRBa
 37yOlNdlRtq2Q5Qjk4qIHQjJk/ac38PQh4GYpKdmXtIWTPLhNIPPckRWh1keTc8eJP
 Cy8Ksc5GMBUFA==
Received-SPF: pass client-ip=64.215.233.18; envelope-from=sbaugh@HIDDEN;
 helo=mxout5.mail.janestreet.com
X-Spam_score_int: -43
X-Spam_score: -4.4
X-Spam_bar: ----
X-Spam_report: (-4.4 / 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,
 RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001,
 RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001,
 SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 0.9 (/)
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: -0.1 (/)


1. emacs -Q

2. C-M-% ]

3. "]" is now in the prompt; type "foo" and see a minibuffer-message "Not in character
alternative".

4. RET

5. C-M-%

6. "] -> foo" is in the prompt (as a default); type "bar" and also see a
minibuffer-message "Not in character alternative".

This also happens for longer strings e.g. "foobar]".

This is especially annoying because C-M-% uses the previous M-%
replacement as a default; so if M-% was used explicitly to replace a
string containing ], it will confuse a subsequent C-M-%.


In GNU Emacs 30.1.50 (build 2, x86_64-pc-linux-gnu, X toolkit, cairo
 version 1.15.12, Xaw scroll bars) of 2025-03-28 built on
 igm-qws-u22796a
Repository revision: 3e6424e1f1816332e574035bc73143551a69efb6
Windowing system distributor 'The X.Org Foundation', version 11.0.12011000
System Description: Rocky Linux 8.10 (Green Obsidian)

Configured using:
 'configure --config-cache --with-x-toolkit=lucid --without-gpm
 --without-gconf --without-selinux --without-imagemagick --with-modules
 --with-gif=no --with-cairo --with-rsvg --without-compress-install
 --with-tree-sitter --with-native-compilation=aot
 --prefix=/usr/local/home/garnish/raw-emacs/30-20250328_130425'

Configured features:
CAIRO DBUS FREETYPE GLIB GMP GNUTLS GSETTINGS HARFBUZZ JPEG LIBSYSTEMD
LIBXML2 MODULES NATIVE_COMP NOTIFY INOTIFY PDUMPER PNG RSVG SECCOMP
SOUND SQLITE3 THREADS TIFF TOOLKIT_SCROLL_BARS TREE_SITTER X11 XDBE XIM
XINPUT2 XPM LUCID ZLIB

Important settings:
  value of $EMACSLOADPATH: /usr/local/home/sbaugh/workspaces/24833141-bffb-3c99-a9d6-c366d37c4f5e/+share+/app/emacs/elisp:/usr/local/home/sbaugh/workspaces/24833141-bffb-3c99-a9d6-c366d37c4f5e/+share+/app/emacs/site-lisp:/usr/local/home/sbaugh/workspaces/24833141-bffb-3c99-a9d6-c366d37c4f5e/+share+/app/emacs/lib/ecaml_plugin/bin:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix

Major mode: Lisp Interaction

Minor modes in effect:
  tooltip-mode: t
  global-eldoc-mode: t
  eldoc-mode: t
  show-paren-mode: t
  electric-indent-mode: t
  mouse-wheel-mode: t
  tool-bar-mode: t
  menu-bar-mode: t
  file-name-shadow-mode: t
  global-font-lock-mode: t
  font-lock-mode: t
  blink-cursor-mode: t
  minibuffer-regexp-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:
None found.

Features:
(shadow sort mail-extr emacsbug message mailcap yank-media puny dired
dired-loaddefs rfc822 mml mml-sec password-cache epa derived epg rfc6068
epg-config gnus-util text-property-search time-date subr-x mm-decode
mm-bodies mm-encode mail-parse rfc2231 mailabbrev gmm-utils mailheader
cl-loaddefs cl-lib sendmail rfc2047 rfc2045 ietf-drums mm-util
mail-prsvr mail-utils thingatpt rmc iso-transl tooltip cconv eldoc paren
electric uniquify ediff-hook vc-hooks lisp-float-type elisp-mode mwheel
term/x-win x-win term/common-win x-dnd touch-screen tool-bar dnd fontset
image regexp-opt fringe tabulated-list replace newcomment text-mode
lisp-mode prog-mode register page tab-bar menu-bar rfn-eshadow isearch
easymenu timer select scroll-bar 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
dynamic-setting system-font-setting font-render-setting cairo x-toolkit
xinput2 x multi-tty move-toolbar make-network-process native-compile
emacs)

Memory information:
((conses 16 50211 12703) (symbols 48 5422 0) (strings 32 15155 1833)
 (string-bytes 1 505477) (vectors 16 9137)
 (vector-slots 8 126904 8967) (floats 8 24 2) (intervals 56 277 0)
 (buffers 992 10))




Acknowledgement sent to Spencer Baugh <sbaugh@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#77497; 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: Fri, 4 Apr 2025 16:30:03 UTC

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