From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#61098: 29.0.60; Confusing behavior of show-paren-mode Date: Tue, 31 Jan 2023 17:42:09 -0500 Message-ID: References: <877cx8ose0.fsf@zohomail.eu> <83o7qiam16.fsf@gnu.org> <87y1pjstse.fsf@zohomail.eu> <83r0va3o8f.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13262"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Rah Guzar , 61098@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Jan 31 23:43:36 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 1pMzLh-0003Ia-Cl for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 31 Jan 2023 23:43:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pMzLF-0008RR-DT; Tue, 31 Jan 2023 17:43:05 -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 1pMzLD-0008RC-IF for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 17:43: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 1pMzLC-0007Wl-PF for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 17:43:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pMzLC-0008IE-Ih for bug-gnu-emacs@gnu.org; Tue, 31 Jan 2023 17:43:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 31 Jan 2023 22:43: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.167520494131794 (code B ref 61098); Tue, 31 Jan 2023 22:43:02 +0000 Original-Received: (at 61098) by debbugs.gnu.org; 31 Jan 2023 22:42:21 +0000 Original-Received: from localhost ([127.0.0.1]:55269 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMzKW-0008Gk-Tr for submit@debbugs.gnu.org; Tue, 31 Jan 2023 17:42:21 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:59125) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pMzKU-0008GX-C5 for 61098@debbugs.gnu.org; Tue, 31 Jan 2023 17:42:19 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id F0DF78094B; Tue, 31 Jan 2023 17:42:12 -0500 (EST) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 323EA8089D; Tue, 31 Jan 2023 17:42:11 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1675204931; bh=Jkxm30wRq8X2D4hAL2FYxXd5JJ5ksXCxZDx/V2nFvJ0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=nUP1MxldrGJabYGdLMyIzIBV2M0BQFbZsQ1TyvAtPmQrELtTGn6cFwMcUeU74VGCT i2271I59oktupTz9M+bgqhv9komVIJvY+/HmyoANG48NxxXNjTUHUhX+wbLAoEmCO4 ubcCgTLvTnPeMIiGjE93YpVFPbD0ArQkprDtYV6hUzvvBTMADMwGuta1Gb0QiMNIvp 0P+MXtRU/EOscgaOoh3f/7VZV0W8Gbc1pX6ioINEolBmVdpbkfgs9eVcWWQidMJ+dA kZwi16HOG5I6PGPloO8FK1v/lvOeS/QUrmgQZe/0yNIoziu/retWKnlqn8Myke7iJM jj4pg5sxUkA6w== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 1C3C91212EC; Tue, 31 Jan 2023 17:42:11 -0500 (EST) In-Reply-To: <83r0va3o8f.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 31 Jan 2023 14:03:28 +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:254549 Archived-At: > I'm still waiting for Stefan to help me understand why after that > patch "M-x show-paren-local-mode" _disables_ the mode rather than > enabling it. Stefan, any wisdom? Not sure. I don't quite understand how your patch intends to work. >From where I sit I get the impression that it will result in an inconsistent state in various "corner" cases. Dmitry's patch seems closer to my intuition (I might even suggest removing the `kill-local-variable` altogether). Stefan