GNU bug report logs - #33887
26.1; Emacs hangs for several seconds when going to the end of an XML file in nXML mode

Previous Next

Package: emacs;

Reported by: Vincent Lefevre <vincent <at> vinc17.net>

Date: Thu, 27 Dec 2018 10:14:02 UTC

Severity: normal

Tags: fixed

Merged with 25176

Found in versions 26.0.50, 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Vincent Lefevre <vincent <at> vinc17.net>
To: Noam Postavsky <npostavs <at> gmail.com>
Cc: 33887 <at> debbugs.gnu.org
Subject: Re: bug#33887: 26.1; Emacs hangs for several seconds when going to
 the end of an XML file in nXML mode
Date: Fri, 17 May 2019 23:36:02 +0200
[Message part 1 (text/plain, inline)]
On 2019-05-16 08:15:58 -0400, Noam Postavsky wrote:
> The corrected patch would be as follows:
[...]

I've tried the combination of

  ca14dd1d4628094dd33d5d94694dcf5f29e843b8
  7dab3ee7ab54b3c2e7bc24170376054786c01d6f

and this patch against Debian's current source package.

Emacs no longer hangs, but I get incorrect highlighting,
for instance on the following XML file.

<root>
<!-- comment -->
<a>"a'</a>
<!-- comment -->
</root>

Highlighting starts to be wrong at the single-quote character.
I've attached a screenshot obtained with the -Q option.

Did I miss anything?

-- 
Vincent Lefèvre <vincent <at> vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)
[nxml.png (image/png, attachment)]

This bug report was last modified 6 years and 43 days ago.

Previous Next


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