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: Stefan Monnier
Subject: bug#33887: 26.1; Emacs hangs for several seconds when going to the end of an XML file in nXML mode
Date: Wed, 22 May 2019 12:01:51 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

> I'm not sure what you mean by that, but the single quotes are not
> the only issue.

No but it introduces problems a lot more often.

> In general, you don't know the quoting rules in a
> text node used by the underlying language (if any), even if you
> have only double quotes. For instance, a text node may contain C
> or shell code, which can be:
>
>   "a string with \"double quotes\"..."

Of course.  But to the extent that it doesn't break the rest of the SGML
support, I think it was a pretty good tradeoff (and has arguably a more
often beneficial than harmful effect).

> And one does not expect this to be interpreted as two pairs of
> double-quoted text ("a string with \" and "..."). In short, you
> should leave text nodes with no specific highlighting, as this
> was the case with Emacs 25.

IIRC in Emacs-24 it was yet different.  Basically, the focus should be
to handle tags correctly and what happens in the regular text between
tags is not nearly as important.


        Stefan






reply via email to

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