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

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

Re: nXML highlighting problem


From: Allin Cottrell
Subject: Re: nXML highlighting problem
Date: Wed, 25 Sep 2019 14:31:43 -0400 (EDT)
User-agent: Alpine 2.21 (LNX 202 2017-01-01)

Ah, when I went to construct a minimal test case I realized things are
not quite as I stated in
https://lists.gnu.org/archive/html/help-gnu-emacs/2019-09/msg00157.html

The XML text is shown in "within delimiters" mode not after the very
first apostrophe but after the first apostrophe following an error in
my XML, namely forgetting to escape the "greater than" sign in an
embedded TeX fragment, $k>0$.

Somehow emacs 26.2 took that error in stride, while it chokes emacs
26.3. But not a bug, I guess. The only reason it took me a while to
spot my error is that the signs of malaise from emacs 26.3 didn't
appear until the next apostrophe came along.

Anyway, in case it's of any interest here's a minimal example:

<?xml version="1.0"?>

<p>Here's some TeX: $k>0$ (oops!). And here's what the text that
comes afterward looks like.</p>

-- 
Allin Cottrell
Department of Economics
Wake Forest University, NC




reply via email to

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