bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#33887: 26.1; Emacs hangs for several seconds when going to the end o


From: Noam Postavsky
Subject: bug#33887: 26.1; Emacs hangs for several seconds when going to the end of an XML file in nXML mode
Date: Sun, 26 May 2019 18:17:55 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux)

Stefan Monnier <address@hidden> writes:

> I pushed a patch which should fix the "lone >" problem without
> introducing any undue extra cost.  It should also fix the "very long
> line" case.

Seems to pass my tests.  Not sure if you missed the alternate fix I
proposed in https://debbugs.gnu.org/33887#94 or not.  It does have the
disadvantage of leaving (car (syntax-ppss)) unreliable for any other
code which uses it.

Here's a patch against master that should cover the remaining cases
Vincent raised:

Attachment: 0001-Fix-some-SGML-syntax-edge-cases-Bug-33887.patch
Description: patch

And about the highlighting of quoted text outside tags, we can just
disable fontification, while leaving the syntax code untouched:

Attachment: 0002-Don-t-fontiy-text-outside-of-SGML-XML-tags-Bug-33887.patch
Description: patch


reply via email to

[Prev in Thread] Current Thread [Next in Thread]