GNU bug report logs - #6978
show-paren-mode doesn't match when scope "::" operator is used : emacs 32.1.97

Previous Next

Packages: cc-mode, emacs;

Reported by: "Bob" <purchasebyemail1 <at> comcast.net>

Date: Fri, 3 Sep 2010 16:10:02 UTC

Severity: minor

Found in versions 24.0.90, 27.0.50

Done: Alan Mackenzie <acm <at> muc.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: "Bob" <purchasebyemail1 <at> comcast.net>
To: 6978 <at> 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
[Message part 1 (text/plain, inline)]
 

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

  {

  };

}

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

[Message part 2 (text/html, inline)]

This bug report was last modified 5 years and 223 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.