Subject: bug#61098: 29.0.60; Confusing behavior of show-paren-mode

From: Eli Zaretskii <[email-masked]>
Date: Sun, 05 Feb 2023 20:29:26 +0200

> Date: Sun, 5 Feb 2023 19:21:29 +0200
> Cc: [email-masked], [email-masked]
> From: Dmitry Gutov <[email-masked]>
> 
> Some testing revealed a certain issue, which until now was not really a 
> problem:
> 
> The first time I 'M-x show-paren-local-mode' with show-paren-mode 
> enabled globally, it _turns off_ the mode locally.

That's exactly what I asked about in

  https://debbugs.gnu.org/cgi/bugreport.cgi?bug=61098#8

> Which kind of makes sense for a lot of cases, but not when the
> user's intention is to forcibly enable it.

In a buffer where the mode is turned off, either effectively by virtue
of the predicate, or explicitly via the local value of the variable,
"M-x show-paren-local-mode" should turn the mode ON, not OFF.