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


Message #23 received at 6978 <at> debbugs.gnu.org (full text, mbox):

From: Alan Mackenzie <acm <at> muc.de>
To: Richard Copley <rcopley <at> gmail.com>
Cc: 6978 <at> debbugs.gnu.org
Subject: Re: 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
Hello, Richard.

In article <mailman.1131.1570388227.2651.bug-gnu-emacs <at> gnu.org> you wrote:
> [-- text/plain, encoding 7bit, charset: UTF-8, 15 lines --]

> On Sun, 6 Oct 2019 at 18:39, Alan Mackenzie <acm <at> muc.de> wrote:

>> In article <mailman.1087.1570362019.2651.bug-gnu-emacs <at> gnu.org> you wrote:
>> > "Bob" <purchasebyemail1 <at> comcast.net> 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).





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.