From: Allin Cottrell <cottrell@wfu.edu>
To: 37521@debbugs.gnu.org
Subject: bug#37521: breakage in emacs 26.3 + nxml
Date: Thu, 26 Sep 2019 08:38:20 -0400 (EDT) [thread overview]
Message-ID: <alpine.LNX.2.21.1909260823070.200502@robroy> (raw)
There's a broken interaction between unescaped '>' (ASCII 62) and
apostrophe (ASCII 39) when editing an XML file in nxml mode in emacs
26.3. (Version 26.2 was OK.)
At the first apostrophe following an unescaped '>', the font color
switches to "within delimiters" mode, and, depending on the context,
certain nxml editing commands stop working properly.
Here are two little examples. The first just shows the unwanted change
in face:
<?xml version="1.0"?>
<p>Here's some text, including the inequality 3 > 2. And here's
what happens in following text once an apostrophe comes along.
</p>
The second example shows what happens when the apostrophe is inside a
tag. If you delete the trailing "</p>" below, then try to insert it
again via the shortcut C-c C-f, it's "</tt>" that gets inserted
instead:
<?xml version="1.0"?>
<p>Here's some text, including the inequality 3 > 2. And here is an
apostrophe inside a tag: <tt>'</tt>. Plus some following text and
so on.</p>
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
next reply other threads:[~2019-09-26 12:38 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-09-26 12:38 Allin Cottrell [this message]
2019-09-27 0:03 ` bug#37521: breakage in emacs 26.3 + nxml Rolf Ade
2019-09-27 0:26 ` Rolf Ade
2019-09-27 11:22 ` Rolf Ade
2019-10-02 23:40 ` Noam Postavsky
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=alpine.LNX.2.21.1909260823070.200502@robroy \
--to=cottrell@wfu.edu \
--cc=37521@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.