Subject: Re: bug#33887: 26.1; Emacs hangs for several seconds when going to the end of an XML file in nXML mode

From: Stefan Monnier <[email-masked]>
Date: Wed, 22 May 2019 17:44:32 -0400

>> <t>>1</t>
> Oh, damn!  Hmm...

Maybe the best way to detect this is using `parse-partial-sexp` passing
it a `targetdepth` of -1.  The trick will be when/where to call it so
it's cheap enough.

        Stefan