From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#6978: show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97 Date: Sun, 6 Oct 2019 13:39:24 +0200 Message-ID: References: <000301cb4b81$c9b81560$5d284020$@net> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="81530"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 6978@debbugs.gnu.org To: Bob Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Oct 06 13:40:32 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 1iH4tr-000L3Q-SG for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 13:40:32 +0200 Original-Received: from localhost ([::1]:32972 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iH4tq-0002P0-N1 for geb-bug-gnu-emacs@m.gmane.org; Sun, 06 Oct 2019 07:40:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52448) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iH4td-0002LS-2p for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 07:40:17 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iH4tT-0005qW-GU for bug-gnu-emacs@gnu.org; Sun, 06 Oct 2019 07:40:09 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36849) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iH4tO-0005pN-Ak; Sun, 06 Oct 2019 07:40:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iH4tO-0003EV-6j; Sun, 06 Oct 2019 07:40:02 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <000301cb4b81$c9b81560$5d284020$@net> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org, bug-cc-mode@gnu.org Resent-Date: Sun, 06 Oct 2019 11:40: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.157036198212400 (code B ref 6978); Sun, 06 Oct 2019 11:40:02 +0000 Original-Received: (at 6978) by debbugs.gnu.org; 6 Oct 2019 11:39:42 +0000 Original-Received: from localhost ([127.0.0.1]:45670 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH4t4-0003Do-A0 for submit@debbugs.gnu.org; Sun, 06 Oct 2019 07:39:42 -0400 Original-Received: from mail-pf1-f178.google.com ([209.85.210.178]:37303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iH4t3-0003DV-6s for 6978@debbugs.gnu.org; Sun, 06 Oct 2019 07:39:41 -0400 Original-Received: by mail-pf1-f178.google.com with SMTP id y5so6853334pfo.4 for <6978@debbugs.gnu.org>; Sun, 06 Oct 2019 04:39:41 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=7V3gTbc2KwCpGfFQASHpHdaUdeKq9kfRB5zUcIftYOA=; b=ka23qw4z1t351mQhbxwG1PDCLYFaumsOtdacQ6UXM2hc6Go5hsBSE6ZOfed6/vMHDZ 4hjfzsiY5J9FhuwUdWtRHzNLtCw4TXh4Huhr2DvDTD8VWRu5XE9P4woTMo2q7XN/vcYv 3Ka/H+osr94mS2nyYAS8CFR8XL3zFnSTDwYfEvIdthY7D9PS4rvjSx9rbLMnJZ8L6FUw nTMcAm0NtEhBYIh4XVAu/mxgB4SVsrr10YR7XgWEdk+6dlydlQ38D1Th+RbmVqPU7Xcq gDFKflkE5VGv5wxBZxMFCT1QWtIK/hRo7UUC6FbJPHln3Lpevu/FdF2LOGOP+DAa0zEa B7ww== X-Gm-Message-State: APjAAAUu9gddAoN4q02552StCb0mch+8nUYMD46za+mee4RQaRq20SY6 b+q9XG8NKOjKSIDU1SxVSSkv2XsIQnn2/p6eDyLFE6OE X-Google-Smtp-Source: APXvYqy6urh6NcU5/OcA6hg6eHcYEhZaU9cQSWzZpZpp0LZkgEzqsS0A0hTPPWIlkLZ+hpxnc3vRARjhE7FBkRp0k48= X-Received: by 2002:a63:720f:: with SMTP id n15mr24257521pgc.198.1570361975385; Sun, 06 Oct 2019 04:39:35 -0700 (PDT) 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:168421 Archived-At: severity 6978 minor found 6978 27.0.50 quit "Bob" writes: > > > Emacs 23.1.97: > > > > When using the C++ scope operator "::", show-paren-mode gets confused: > > > > ------ Foo.cpp ------------------------------------ > > struct Foo1 {}; > > > > namespace X > > { > > struct Foo2 {}; > > > > template > > struct Bar; > > > > template<> > > struct Bar<::Foo1> // "(show-paren-mode)" does not match `>` to `<` > > { > > }; > > > > template<> > > struct Bar // "(show-paren-mode)" correctly matches `>` to `<` > > { > > }; > > } > > --------------------------------------------- I can reproduce this on current master. Best regards, Stefan Kangas