From: Lars Ingebrigtsen <larsi@gnus.org>
To: Jay Berkenbilt <ejb@ql.org>
Cc: 38153@debbugs.gnu.org
Subject: bug#38153: 26.3; nxml with ENTITY: single quote misinterpreted as string delimiter
Date: Thu, 14 Nov 2019 07:00:48 +0100 [thread overview]
Message-ID: <87y2wjov3j.fsf@gnus.org> (raw)
In-Reply-To: <CAHpo+v7eDiX3q8Ufm5pUo1wuBCk+-1pyhw10VKFGxYNazJiy2w@mail.gmail.com> (Jay Berkenbilt's message of "Sat, 9 Nov 2019 10:12:02 -0500")
Jay Berkenbilt <ejb@ql.org> writes:
> Create a file with the name "a.xml" and the following contents (between
> the rows of dashes):
>
> -------
> <?xml version="1.0"?>
> <!DOCTYPE anything [
> <!ENTITY any "π">
> ]>
> <anything>
> This is a quote, but it's not starting a string.
> </anything>
> -------
>
> Observe that everything after the "'" is treated syntactically as a
> string. This shows with the fontification of the following text, but it
> also effects the behavior. For example, if you type <x> after the word
> "quote" and then hit C-c C-f, the closing tag </x> is inserted as
> expected. However, if you type <x> after the word "not", C-c C-f
> erroneously attempts to close the <anything> tag.
I'm not able to reproduce this bug in Emacs 27, but I am able to
reproduce it in Emacs 26.3, so I think this has been fixed already.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
prev parent reply other threads:[~2019-11-14 6:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-11-09 15:12 bug#38153: 26.3; nxml with ENTITY: single quote misinterpreted as string delimiter Jay Berkenbilt
2019-11-14 6:00 ` Lars Ingebrigtsen [this message]
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87y2wjov3j.fsf@gnus.org \
--to=larsi@gnus.org \
--cc=38153@debbugs.gnu.org \
--cc=ejb@ql.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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).