From: Marcin Borkowski <mbork@mbork.pl>
To: Vincent Lefevre <vincent@vinc17.net>
Cc: 18871@debbugs.gnu.org
Subject: bug#18871: 24.4; nxml-mode: DTD edition breaks the file structure
Date: Tue, 01 Mar 2016 17:15:41 +0100 [thread overview]
Message-ID: <87wppmw4wi.fsf@mbork.pl> (raw)
In-Reply-To: <878uk0qn46.fsf@ypig.lip.ens-lyon.fr> (Vincent Lefevre's message of "Tue, 28 Oct 2014 15:34:33 +0100")
On 2014-10-28, at 15:34, Vincent Lefevre <vincent@vinc17.net> wrote:
> Consider the following XML file:
>
> ------------------------------------------------------------------
> <?xml version="1.0" encoding="utf-8"?>
> <!DOCTYPE root [
> <!ELEMENT root (item)*>
> <!ELEMENT item (#PCDATA)>
> ]>
>
> <root>
> <!-- 1234567890 1234567890 1234567890 1234567890 1234567890 -->
> </root>
> ------------------------------------------------------------------
>
> 1. Open it with "emacs -Q".
> 2. Go to line 2 and type C-SPC.
> 3. Go to line 6 and type C-w to delete the DTD.
>
> The highlighting gets completely wrong. And if I delete the closing
> tag </root> (with C-k) and type C-c C-f, I get the error:
>
> No matching start-tag
>
> In more complex files, slightly editing the DTD gives the same behavior.
Hello and thanks for your report.
However, I have just tried to reproduce this behavior on GNU Emacs
25.1.50.4 (commit f182640), and could not. Could you confirm that this
is no longer a problem? (If you do not want to compile Emacs from the
Git repo, maybe try the latest pretest, see
http://alpha.gnu.org/gnu/emacs/pretest/)
Best,
--
Marcin Borkowski
next prev parent reply other threads:[~2016-03-01 16:15 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-10-28 14:34 bug#18871: 24.4; nxml-mode: DTD edition breaks the file structure Vincent Lefevre
2016-03-01 16:15 ` Marcin Borkowski [this message]
2016-03-01 18:02 ` Vincent Lefevre
2016-03-02 12:28 ` Vincent Lefevre
2016-03-02 12:43 ` Marcin Borkowski
2019-05-18 18:58 ` Noam Postavsky
2019-05-18 23:11 ` Vincent Lefevre
2019-05-18 23:22 ` Noam Postavsky
2019-06-04 12:59 ` 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=87wppmw4wi.fsf@mbork.pl \
--to=mbork@mbork.pl \
--cc=18871@debbugs.gnu.org \
--cc=vincent@vinc17.net \
/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.