unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Vincent Lefevre <vincent@vinc17.net>
To: Marcin Borkowski <mbork@mbork.pl>
Cc: 18871@debbugs.gnu.org
Subject: bug#18871: 24.4; nxml-mode: DTD edition breaks the file structure
Date: Wed, 2 Mar 2016 13:28:30 +0100	[thread overview]
Message-ID: <20160302122830.GM31013@zira.vinc17.org> (raw)
In-Reply-To: <87wppmw4wi.fsf@mbork.pl>

[-- Attachment #1: Type: text/plain, Size: 1437 bytes --]

On 2016-03-01 17:15:41 +0100, Marcin Borkowski wrote:
> 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/)

The bug is still present with GNU Emacs 25.0.91.1 (latest pretest).

zira:~> emacs --version
GNU Emacs 25.0.91.1
Copyright (C) 2016 Free Software Foundation, Inc.
GNU Emacs comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Emacs
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING.
zira:~> cat file.xml
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE root [
<!ELEMENT root (item)*>
<!ELEMENT item (#PCDATA)>
]>

<root>
<!-- 1234567890 1234567890 1234567890 1234567890 1234567890 -->
</root>
zira:~> emacs -Q -nw file.xml

I've attached 2 screenshots:

screenshot1.png: after opening the file, typing C-SPC on line 2
and going to line 6. The highlighting is still OK.

screenshot2.png: after typing C-w. The highlighting is wrong.

And I still have the error with C-c C-f.

-- 
Vincent Lefèvre <vincent@vinc17.net> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)

[-- Attachment #2: screenshot1.png --]
[-- Type: image/png, Size: 21746 bytes --]

[-- Attachment #3: screenshot2.png --]
[-- Type: image/png, Size: 19020 bytes --]

  parent reply	other threads:[~2016-03-02 12:28 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
2016-03-01 18:02   ` Vincent Lefevre
2016-03-02 12:28   ` Vincent Lefevre [this message]
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

  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=20160302122830.GM31013@zira.vinc17.org \
    --to=vincent@vinc17.net \
    --cc=18871@debbugs.gnu.org \
    --cc=mbork@mbork.pl \
    /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).