From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Rolf Ade Newsgroups: gmane.emacs.bugs Subject: bug#37521: breakage in emacs 26.3 + nxml Date: Fri, 27 Sep 2019 13:22:20 +0200 Message-ID: <878sqam1ar.fsf@pointsman.de> References: <87d0fmmvnf.fsf@pointsman.de> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="171849"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) Cc: 37521@debbugs.gnu.org, Noam Postavsky To: Allin Cottrell Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 16:03:59 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDqql-000iXP-IR for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 16:03:59 +0200 Original-Received: from localhost ([::1]:51216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDqqj-0000YZ-Rg for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 10:03:57 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33142) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDq6u-0006fA-8r for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 09:16:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDq6s-0007aQ-Ln for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 09:16:35 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37167) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDq6s-0007TM-IK for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 09:16:34 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDoL0-0008Dh-5C for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 07:23:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Rolf Ade Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2019 11:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37521 X-GNU-PR-Package: emacs Original-Received: via spool by 37521-submit@debbugs.gnu.org id=B37521.156958334931542 (code B ref 37521); Fri, 27 Sep 2019 11:23:02 +0000 Original-Received: (at 37521) by debbugs.gnu.org; 27 Sep 2019 11:22:29 +0000 Original-Received: from localhost ([127.0.0.1]:45910 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDoKT-0008Cg-1s for submit@debbugs.gnu.org; Fri, 27 Sep 2019 07:22:29 -0400 Original-Received: from mxout5.interscholz.de ([85.236.196.72]:33031) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDoKQ-0008CX-W2 for 37521@debbugs.gnu.org; Fri, 27 Sep 2019 07:22:27 -0400 Original-Received: from localhost (mxout5 [127.0.0.1]) by mxout5.interscholz.de (Postfix) with ESMTP id 898BA26133; Fri, 27 Sep 2019 13:22:11 +0200 (CEST) X-Virus-Scanned: interscholz amavisd-new at mxout5.interscholz.de Original-Received: from server.web01.interscholz.net (server.web01.interscholz.net [85.236.196.138]) by mxout5.interscholz.de (Postfix) with ESMTP id 6C4C520FA8; Fri, 27 Sep 2019 13:22:09 +0200 (CEST) Original-Received: from pointsman2 (p5B317A9C.dip0.t-ipconnect.de [91.49.122.156]) by server.web01.interscholz.net (Postfix) with ESMTPSA id E4106340099; Fri, 27 Sep 2019 13:22:19 +0200 (CEST) In-Reply-To: <87d0fmmvnf.fsf@pointsman.de> (Rolf Ade's message of "Fri, 27 Sep 2019 02:26:44 +0200") 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: 209.51.188.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:167377 Archived-At: [Added Noam to CC because it seems a commit by him introduced this.] Rolf Ade writes: > Allin Cottrell writes: > >> There's a broken interaction between unescaped '>' (ASCII 62) and >> apostrophe (ASCII 39) when editing an XML file in nxml mode in emacs >> 26.3. (Version 26.2 was OK.) >> >> At the first apostrophe following an unescaped '>', the font color >> switches to "within delimiters" mode, and, depending on the context, >> certain nxml editing commands stop working properly. >> >> Here are two little examples. The first just shows the unwanted change >> in face: >> >> >> >>

Here's some text, including the inequality 3 > 2. And here's >> what happens in following text once an apostrophe comes along. >>

>> >> The second example shows what happens when the apostrophe is inside a >> tag. If you delete the trailing "

" below, then try to insert it >> again via the shortcut C-c C-f, it's "" that gets inserted >> instead: >> >> >> >>

Here's some text, including the inequality 3 > 2. And here is an >> apostrophe inside a tag: '. Plus some following text and >> so on.

> > But in fact on current emacs-26 (as of commit > bd0f173199c112b2b146e727f80e973e7fc12143) > > there is the by Allin described (wrong) behaviour. To be more precise, since commit 7dab3ee7ab54b3c2e7bc24170376054786c01d6f Author: Noam Postavsky Date: Sun Apr 21 22:44:50 2019 -0400 the behaviour is as reported in the bug report. With state of the previous commit e4cde42657f8f91f795e6b7041dc50b896dc468d Author: Noam Postavsky Date: Fri Apr 19 13:28:00 2019 -0400 the behaviour is like 26.2 and, as alredy reported, on master (and correct).