Subject: Re: bug#78865: 31.0.50; Inconsistency between show-paren-mode and some cursor-movement commands

From: Eli Zaretskii <[email-masked]>
Date: Mon, 23 Jun 2025 14:41:38 +0300

> Cc: [email-masked]
> From: Dani Moncayo <[email-masked]>
> Date: Mon, 23 Jun 2025 09:19:07 +0200
> 
> > Are there any differences in this regard
> > between c-mode or c-ts-mode?
> 
> I've now tried using c-mode: the highlighting is the same, but
> pressing C-M-n results in an error: 'No next group'.

Exactly.  Which is one more evidence that this is not supposed to do
what you expected, because the brackets are in comments, where they
lose their usual syntactic meaning assigned by the programming
language.