tags 18871 + patch merge 18871 23668 quit Vincent Lefevre writes: > Consider the following XML file: > > ------------------------------------------------------------------ > > > > ]> > > > > > ------------------------------------------------------------------ > > 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 (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. Should be fixed by this patch.