Package: emacs24-common
Version: 24.4+1-4
Severity: normal
Forwarded: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18871

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.

This is a regression. I've reported this bug upstream:

  http://debbugs.gnu.org/cgi/bugreport.cgi?bug=18871

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.16-3-amd64 (SMP w/8 CPU cores)
Locale: LANG=POSIX, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages emacs24-common depends on:
ii  dpkg            1.17.21
ii  emacsen-common  2.0.8
ii  install-info    5.2.0.dfsg.1-5

emacs24-common recommends no packages.

Versions of packages emacs24-common suggests:
ii  emacs24-common-non-dfsg  24.4+1-2
ii  emacs24-el               24.4+1-4

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to