unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Bob" <purchasebyemail1@comcast.net>
To: 6978@debbugs.gnu.org
Subject: bug#6978: show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97
Date: Fri, 3 Sep 2010 09:05:11 -0700	[thread overview]
Message-ID: <000301cb4b81$c9b81560$5d284020$@net> (raw)

[-- Attachment #1: Type: text/plain, Size: 514 bytes --]

 

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
`<` 

  {

  };

}

---------------------------------------------


[-- Attachment #2: Type: text/html, Size: 3299 bytes --]

             reply	other threads:[~2010-09-03 16:05 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-03 16:05 Bob [this message]
2019-10-06 11:39 ` bug#6978: show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97 Stefan Kangas
     [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='000301cb4b81$c9b81560$5d284020$@net' \
    --to=purchasebyemail1@comcast.net \
    --cc=6978@debbugs.gnu.org \
    /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).