Subject: Re: bug#77704: 30.1; xml-mode enters infinite loop when saving with unclosed XML comment

From: Visuwesh <[email-masked]>
Date: Sun, 25 May 2025 11:48:19 +0530

[சனி மே 24, 2025] Eli Zaretskii wrote:

> Ping! Ping! Ping! Anyone?

I cannot reproduce this here in a Motif build in Linux either.

>> Cc: [email-masked]
>> Date: Sat, 10 May 2025 12:29:26 +0300
>> From: Eli Zaretskii <[email-masked]>
>> 
>> Ping! Ping!  Any chance for reproducing this, anyone?
>> 
>> > Cc: [email-masked]
>> > Date: Sat, 26 Apr 2025 14:32:24 +0300
>> > From: Eli Zaretskii <[email-masked]>
>> > 
>> > Ping!  Can someone try reproducing this?
>> > 
>> > > Cc: [email-masked]
>> > > Date: Sat, 12 Apr 2025 13:34:56 +0300
>> > > From: Eli Zaretskii <[email-masked]>
>> > > 
>> > > > Date: Thu, 10 Apr 2025 16:49:25 +0900
>> > > > From:  TANIKAWAKoji via "Bug reports for GNU Emacs,
>> > > >  the Swiss army knife of text editors" <[email-masked]>
>> > > > 
>> > > > 
>> > > > To reproduce:
>> > > > 
>> > > > 1. emacs -Q
>> > > > 2. Open a new buffer and enter: <!--
>> > > > 3. Set mode to xml-mode: M-x xml-mode
>> > > > 4. Save buffer: C-x C-s
>> > > > 
>> > > > Expected: Save succeeds, or a warning about unclosed comment.
>> > > > 
>> > > > Actual: Emacs enters an infinite loop or hangs. Requires external termination.
>> > > 
>> > > I cannot reproduce this, neither with the stock Emacs 29.1 nor with
>> > > later versions.  Are you sure you are using xml-mode from Emacs?  In
>> > > Emacs 29.1, xml-mode is just an alias for nxml-mode.
>> > > 
>> > > Maybe this is macOS specific?
>> > > 
>> > > 
>> > > 
>> > > 
>> > 
>> > 
>> > 
>> > 
>> 
>> 
>> 
>>