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

From: Juri Linkov <[email-masked]>
Date: Mon, 23 Jun 2025 20:12:24 +0300

tags 78865 + notabug wontfix
close 78865 31.0.50
thanks

>> Try this with brackets in code, and I think you will see the behavior
>> you expect.
>
> If what I'm trying to achieve doesn't make sense to you guys, then
> let's close this ticket.  No problem :).

The problem is that 'prog-mode' contains:

  (setq-local parse-sexp-ignore-comments t)

When you set it back to nil, then your test case works as you want.
So now closing this report.