bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Alan Mackenzie
Subject: 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
User-agent: tin/2.4.2-20171224 ("Lochhead") (UNIX) (FreeBSD/11.3-RELEASE-p3 (amd64))

Hello, Richard.

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

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

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]