From: Stefan Kangas <stefan@marxist.se>
To: Bob <purchasebyemail1@comcast.net>
Cc: 6978@debbugs.gnu.org
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 [thread overview]
Message-ID: <CADwFkmk8KhKqXsv1xD2U2eXmzvDeH6up=Uy6_i05SPnALP51LA@mail.gmail.com> (raw)
In-Reply-To: <000301cb4b81$c9b81560$5d284020$@net>
severity 6978 minor
found 6978 27.0.50
quit
"Bob" <purchasebyemail1@comcast.net> 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<class _Y>
>
> struct Bar;
>
>
>
> template<>
>
> struct Bar<::Foo1> // "(show-paren-mode)" does not match `>` to `<`
>
> {
>
> };
>
>
>
> template<>
>
> struct Bar<Foo2> // "(show-paren-mode)" correctly matches `>` to `<`
>
> {
>
> };
>
> }
>
> ---------------------------------------------
I can reproduce this on current master.
Best regards,
Stefan Kangas
next prev parent reply other threads:[~2019-10-06 11:39 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-09-03 16:05 bug#6978: show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97 Bob
2019-10-06 11:39 ` Stefan Kangas [this message]
[not found] ` <mailman.1087.1570362019.2651.bug-gnu-emacs@gnu.org>
2019-10-06 17:38 ` Alan Mackenzie
2019-10-06 18:56 ` Richard Copley
[not found] ` <mailman.1131.1570388227.2651.bug-gnu-emacs@gnu.org>
2019-10-06 19:16 ` Alan Mackenzie
2019-10-06 20:11 ` Alan Mackenzie
2019-10-06 20:21 ` Stefan Kangas
2019-10-11 19:32 ` Alan Mackenzie
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CADwFkmk8KhKqXsv1xD2U2eXmzvDeH6up=Uy6_i05SPnALP51LA@mail.gmail.com' \
--to=stefan@marxist.se \
--cc=6978@debbugs.gnu.org \
--cc=purchasebyemail1@comcast.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).