[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61098: 29.0.60; Confusing behavior of show-paren-mode
From: |
Eli Zaretskii |
Subject: |
bug#61098: 29.0.60; Confusing behavior of show-paren-mode |
Date: |
Sun, 05 Feb 2023 20:29:26 +0200 |
> Date: Sun, 5 Feb 2023 19:21:29 +0200
> Cc: rahguzar@zohomail.eu, 61098@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
>
> 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.