From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#6978: show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97 Date: 6 Oct 2019 19:16:07 -0000 Organization: muc.de e.V. Message-ID: <20191006191607.95120.qmail@mail.muc.de> References: <000301cb4b81$c9b81560$5d284020$@net> Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="138827"; mail-complaints-to="usenet@blaine.gmane.org" User-Agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.3-RELEASE-p3 (amd64)) Cc: 6978@debbugs.gnu.org To: Richard Copley Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 06 21:17:19 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 1iHC1v-000a0b-DD for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 21:17:19 +0200 Original-Received: from localhost ([::1]:36494 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHC1t-00057h-E3 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 15:17:17 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52980) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iHC1f-00056o-Sq for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 15:17:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iHC1e-00087L-RC for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 15:17:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38071) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iHC1e-00087G-NT; Sun, 06 Oct 2019 15:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iHC1e-0002Zp-Du; Sun, 06 Oct 2019 15:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 06 Oct 2019 19:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6978 X-GNU-PR-Package: emacs,cc-mode Original-Received: via spool by 6978-submit@debbugs.gnu.org id=B6978.15703893739806 (code B ref 6978); Sun, 06 Oct 2019 19:17:02 +0000 Original-Received: (at 6978) by debbugs.gnu.org; 6 Oct 2019 19:16:13 +0000 Original-Received: from localhost ([127.0.0.1]:46885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iHC0p-0002Y5-T4 for submit@debbugs.gnu.org; Sun, 06 Oct 2019 15:16:12 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:20419 helo=mail.muc.de) by debbugs.gnu.org with smtp (Exim 4.84_2) (envelope-from ) id 1iHC0n-0002Xt-0w for 6978@debbugs.gnu.org; Sun, 06 Oct 2019 15:16:10 -0400 Original-Received: (qmail 95121 invoked by uid 3782); 6 Oct 2019 19:16:07 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug 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:168453 Archived-At: Hello, Richard. In article you wrote: > [-- text/plain, encoding 7bit, charset: UTF-8, 15 lines --] > On Sun, 6 Oct 2019 at 18:39, Alan Mackenzie wrote: >> In article you wrote: >> > "Bob" writes: >> >> struct Bar<::Foo1> // "(show-paren-mode)" does not match `>` >> >> to `<` >> The pertinent < and > are not being marked with >> syntax-table text properties, hence can't be recognised as parens. >> > Digraphs? (Just a thought.) Spot on! I just need to find a way of removing <: from the regexp used to check the opening <. Shouldn't be too difficult. Why on earth are digraphs still an issue? Why are they still in the C and C++ standards? It's been several decades since "complete" character sets (here, meaning ASCII) superseded incomplete ones. > Best, > Richard. -- Alan Mackenzie (Nuremberg, Germany).