From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#61098: 29.0.60; Confusing behavior of show-paren-mode Date: Sun, 05 Feb 2023 20:29:26 +0200 Message-ID: <83o7q8q83d.fsf@gnu.org> References: <877cx8ose0.fsf@zohomail.eu> <83o7qiam16.fsf@gnu.org> <87y1pjstse.fsf@zohomail.eu> <83r0va3o8f.fsf@gnu.org> <83k011z38k.fsf@gnu.org> <83tu00qgmu.fsf@gnu.org> <4731344a-7406-5cf0-43eb-c77520c2a2c1@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7974"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rahguzar@zohomail.eu, monnier@iro.umontreal.ca, 61098@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 05 19:30:22 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pOjmQ-0001wt-1B for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Feb 2023 19:30:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOjmA-0007lp-0y; Sun, 05 Feb 2023 13:30:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOjm7-0007lg-Gs for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 13:30:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pOjm7-0007FQ-2b for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 13:30:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOjm6-00083Q-Ss for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 13:30:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2023 18:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61098 X-GNU-PR-Package: emacs Original-Received: via spool by 61098-submit@debbugs.gnu.org id=B61098.167562177030860 (code B ref 61098); Sun, 05 Feb 2023 18:30:02 +0000 Original-Received: (at 61098) by debbugs.gnu.org; 5 Feb 2023 18:29:30 +0000 Original-Received: from localhost ([127.0.0.1]:46421 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOjlZ-00081g-VY for submit@debbugs.gnu.org; Sun, 05 Feb 2023 13:29:30 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:52094) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOjlY-00081U-1y for 61098@debbugs.gnu.org; Sun, 05 Feb 2023 13:29:28 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOjlO-00075g-N8; Sun, 05 Feb 2023 13:29:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=6dAy/A7eRaulVWsRZoOWyabyy+dHy9cCpRm8CU1cxyA=; b=pNIxOEoIfBK1 XJcLVROFVO6E7E5rmnpz8I7RWsgPePk3TyzW66KvTl1a/4T+z0C8iz1okJPSOg6vSsJgGOCkvJwJ7 pKz7+JOuSNkwVsQkiPh+OBwa7Y9OF+W0lq0MN8Qh4zNCLPlsKnGtJce/jIdFx2SxAmTcpK7DVpoUT Cx8i9blY/1sCRc+k3zmjSWkAplTOPgDO9Qk1ZnDhgLo9AtVJ6a9Mm3Kk8VrtosdMelsSTGQQN04Ld 1OSb8DcKKPbtcXVkNpN7hTow9UsInYOzdeEox4dL0eHC8v+JzPdQpBcBPtj8MKuPmW24wwxn5G4/L gvRrJupCIBCaQrbaTqoh0w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pOjlN-0008Vp-VJ; Sun, 05 Feb 2023 13:29:18 -0500 In-Reply-To: <4731344a-7406-5cf0-43eb-c77520c2a2c1@yandex.ru> (message from Dmitry Gutov on Sun, 5 Feb 2023 19:21:29 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:254878 Archived-At: > Date: Sun, 5 Feb 2023 19:21:29 +0200 > Cc: rahguzar@zohomail.eu, 61098@debbugs.gnu.org > From: Dmitry Gutov > > 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.