From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#32823: 26.1; nxml-mode: "no matching start-tag" with long entity definition list Date: Mon, 24 Sep 2018 19:25:26 +0300 Message-ID: <83zhw6ammh.fsf@gnu.org> References: NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1537807358 25315 195.159.176.226 (24 Sep 2018 16:42:38 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 24 Sep 2018 16:42:38 +0000 (UTC) Cc: 32823@debbugs.gnu.org To: Moritz@chai-latte.bs.linet-services.de, Bunkus Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 24 18:42:33 2018 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4TwO-0006RV-6y for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 18:42:32 +0200 Original-Received: from localhost ([::1]:46101 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4TyU-0005Qm-UE for geb-bug-gnu-emacs@m.gmane.org; Mon, 24 Sep 2018 12:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:38868) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4Tx4-00037y-R0 for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 12:43:21 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4TgQ-0007HC-4y for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 12:26:02 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:48013) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1g4TgQ-0007H3-0t for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 12:26:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1g4TgP-0001QP-RQ for bug-gnu-emacs@gnu.org; Mon, 24 Sep 2018 12:26:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 24 Sep 2018 16:26:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 32823 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 32823-submit@debbugs.gnu.org id=B32823.15378063455448 (code B ref 32823); Mon, 24 Sep 2018 16:26:01 +0000 Original-Received: (at 32823) by debbugs.gnu.org; 24 Sep 2018 16:25:45 +0000 Original-Received: from localhost ([127.0.0.1]:52271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4Tg9-0001Po-86 for submit@debbugs.gnu.org; Mon, 24 Sep 2018 12:25:45 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:55005) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1g4Tg4-0001PV-BG for 32823@debbugs.gnu.org; Mon, 24 Sep 2018 12:25:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1g4Tfw-0006uW-3f for 32823@debbugs.gnu.org; Mon, 24 Sep 2018 12:25:35 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37645) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1g4Tfv-0006uS-WD; Mon, 24 Sep 2018 12:25:32 -0400 Original-Received: from [176.228.60.248] (port=2766 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1g4Tfv-0006OX-Jj; Mon, 24 Sep 2018 12:25:31 -0400 In-reply-to: (Moritz@chai-latte.bs.linet-services.de) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:150606 Archived-At: > From: Moritz@chai-latte.bs.linet-services.de, > "Bunkus Date: Mon, 24 Sep 2018 14:50:29 +0200 > > Note that nxml-mode always states that the document is valid It says "invalid" here... > 1. Save the XML code below into a file. > 2. Start emacs -Q > 3. Open the test file. > 4. Place the cursor at the end of the line starting with " 5. Try using the "nxml-finish-element" function, e.g. C-c C-f. It will > show the aforementioned error message instead of inserting "". > 6. Now shorten the entity definition list, e.g. by removing the whole > line defining "ent5". Execute "normal-mode" to let nxml-mode parse the > buffer again. Re-run the test from step 5. It will now insert > "" properly. Maybe I'm not reproducing this correctly, but in my case it emits the same error even after removing the ent5 line.