GNU bug report logs - #32823
26.1; nxml-mode: "no matching start-tag" with long entity definition list

Previous Next

Package: emacs;

Reported by: Moritz <at> chai-latte.bs.linet-services.de, "Bunkus <moritz"@bunkus.org

Date: Mon, 24 Sep 2018 15:27:02 UTC

Severity: normal

Tags: fixed, patch

Found in versions 24.4, 25.0.94, 26.1

Fixed in version 27.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #20 received at 32823 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Moritz Bunkus <moritz <at> bunkus.org>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 32823 <at> debbugs.gnu.org
Subject: Re: bug#32823: 26.1;
 nxml-mode: "no matching start-tag" with long entity definition list
Date: Tue, 25 Sep 2018 09:56:04 +0300
> From: Moritz Bunkus <moritz <at> bunkus.org>
> Cc: 32823 <at> debbugs.gnu.org
> Date: Mon, 24 Sep 2018 19:51:21 +0200
> 
> > I cannot seem to make it work here whatever I do, sorry.
> 
> Maybe you're doing something slightly different than I am. I've created a
> short screencast showing both nxml-finish-element not working and working
> after the entity definitions have been removed:
> 
> https://www.bunkus.org/misc/nxml-mode-bug-32823-01.webm
> 
> Maybe that'll help.

It did, thanks.  Turns out I was trying "C-c C-f" on the wrong
refentry line (there are too many of them).

Anyway, it sounds like the problem is with using syntax-ppss: its 8th
element is nil in the "good" invocation and non-nil in the "bad" one.
syntax-ppss is invoked on the closing bracket of this line:

  <refentry lang="en">

Maybe the syntax table used by nxml-mode (which it inherits from
sgml-mode) needs some augmentation, I'm not sure.  Hopefully, Stefan
could help.




This bug report was last modified 5 years and 357 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.