From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Allin Cottrell Newsgroups: gmane.emacs.bugs Subject: bug#37521: breakage in emacs 26.3 + nxml Date: Thu, 26 Sep 2019 08:38:20 -0400 (EDT) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="108492"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: Alpine 2.21 (LNX 202 2017-01-01) To: 37521@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Sep 26 16:31:21 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 1iDUng-000S41-O3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 16:31:21 +0200 Original-Received: from localhost ([::1]:38094 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUne-0000RP-Tz for geb-bug-gnu-emacs@m.gmane.org; Thu, 26 Sep 2019 10:31:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40271) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDUnQ-0000Or-CG for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:31:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDUnP-0002mh-AO for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:31:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:35359) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDUnP-0002mb-3Y for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:31:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDUnO-0000xR-W0 for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 10:31:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Allin Cottrell Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Sep 2019 14:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37521 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.15695082493645 (code B ref -1); Thu, 26 Sep 2019 14:31:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 26 Sep 2019 14:30:49 +0000 Original-Received: from localhost ([127.0.0.1]:44178 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDUn9-0000wh-Ca for submit@debbugs.gnu.org; Thu, 26 Sep 2019 10:30:48 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:34479) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDT3u-0004bz-9l for submit@debbugs.gnu.org; Thu, 26 Sep 2019 08:39:58 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39774) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDT3s-0004fR-FP for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 08:39:58 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDT3r-0004hl-BT for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 08:39:56 -0400 Original-Received: from mail-qk1-f182.google.com ([209.85.222.182]:43729) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDT3q-0004dK-DU for bug-gnu-emacs@gnu.org; Thu, 26 Sep 2019 08:39:55 -0400 Original-Received: by mail-qk1-f182.google.com with SMTP id h126so1574705qke.10 for ; Thu, 26 Sep 2019 05:39:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wfu.edu; s=google; h=date:from:to:subject:message-id:user-agent:mime-version; bh=vpejFdK0+7c0FY1gU9ldcnVUU2/mJEqOWcIQWjiDl3c=; b=LFnHVL6+aFN0OmmTvRIba7rVm3SAn+fuKCjt+Q1oYLtYQbtAZLy467TVD+qw6+iui0 JNPRTug7S2T/S0Y4a0h1dBfmp4UWFrRdAS8aeOped1UNmCGnVM/eD0Qw+nBd8Ele1+9k G4/T6EL4v3Yyzari4dKQEqSJ1iI7l+elho7UE= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:subject:message-id:user-agent :mime-version; bh=vpejFdK0+7c0FY1gU9ldcnVUU2/mJEqOWcIQWjiDl3c=; b=ofaPdYwQSWLIW6kf6dl2PXs3TKKX1LRqjnkggZFFJtGy2JXWF0nqIy5xH3euO2Cw+P CfbtRHa+wjxA25xcL3PW4bw2spf7qaJsFRBtRFiUmWNO5j9rqv/xF325lKrIqNQ7mRqq f4sBn8+cE5/gkTi10dP/P+qCq6Cyiwf9Hsy2ll7HGOR8okW2QhCJAbhbgMbApCZwqcUh gMCORpCU03+3zsUy9ijpDhEXPTd23z1cqCxUa7SujlUt+CbcGcKnyFjW/NvPZmXiwrGt g4Vsy79tQNQcbsVn6Usfphct5XAxmFGWgjFksd1O89tLWPWXXjaMzov/NP7aDC1GTUd6 CWJw== X-Gm-Message-State: APjAAAUAJnbR6ruSfhISIPdTj5RaftoiUbfHazr0de/B9sCT/o88odRA yj52eLB4vnjwco0uXVGLQk+4el7Gn3Y= X-Google-Smtp-Source: APXvYqz8TY9E4Tv3Lwa2VfgB+gW80Mj+ygstlMJIMzn4MarLimugs+4b3b9JJb/9Dv6+/wBdVYOHng== X-Received: by 2002:a05:620a:5b5:: with SMTP id q21mr2728569qkq.160.1569501528690; Thu, 26 Sep 2019 05:38:48 -0700 (PDT) Original-Received: from robroy (host71.dyn57.wfu.edu. [152.17.57.71]) by smtp.gmail.com with ESMTPSA id q49sm1364642qta.60.2019.09.26.05.38.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Sep 2019 05:38:48 -0700 (PDT) X-X-Sender: cottrell@robroy X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Mailman-Approved-At: Thu, 26 Sep 2019 10:30:43 -0400 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:167256 Archived-At: 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.

-- Allin Cottrell Department of Economics Wake Forest University, NC