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

From: Alan Mackenzie <[email-masked]>
Date: 6 Oct 2019 19:16:07 -0000

Hello, Richard.

In article <[email-masked]> you wrote:
> [-- text/plain, encoding 7bit, charset: UTF-8, 15 lines --]

> On Sun, 6 Oct 2019 at 18:39, Alan Mackenzie <[email-masked]> wrote:

>> In article <[email-masked]> you wrote:
>> > "Bob" <[email-masked]> 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).