From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#61098: 29.0.60; Confusing behavior of show-paren-mode Date: Sun, 5 Feb 2023 21:06:33 +0200 Message-ID: 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> <83o7q8q83d.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24095"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 Cc: rahguzar@zohomail.eu, monnier@iro.umontreal.ca, 61098@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 05 20:07:09 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 1pOkM1-00067b-3a for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 05 Feb 2023 20:07:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pOkLw-0008Sh-2T; Sun, 05 Feb 2023 14:07:04 -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 1pOkLu-0008SH-H8 for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 14:07:02 -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 1pOkLu-0004zQ-8v for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 14:07:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pOkLu-0005LE-49 for bug-gnu-emacs@gnu.org; Sun, 05 Feb 2023 14:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 05 Feb 2023 19:07: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.167562400420504 (code B ref 61098); Sun, 05 Feb 2023 19:07:02 +0000 Original-Received: (at 61098) by debbugs.gnu.org; 5 Feb 2023 19:06:44 +0000 Original-Received: from localhost ([127.0.0.1]:46466 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOkLb-0005Ke-Tg for submit@debbugs.gnu.org; Sun, 05 Feb 2023 14:06:44 -0500 Original-Received: from mail-wm1-f41.google.com ([209.85.128.41]:39767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pOkLZ-0005KQ-Gt for 61098@debbugs.gnu.org; Sun, 05 Feb 2023 14:06:42 -0500 Original-Received: by mail-wm1-f41.google.com with SMTP id hn2-20020a05600ca38200b003dc5cb96d46so9357291wmb.4 for <61098@debbugs.gnu.org>; Sun, 05 Feb 2023 11:06:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc:subject:date:message-id:reply-to; bh=DhqjdQuuEuyOF+P6i+E94fl3V3XGQnTKux56TJUlsqI=; b=n44hBAafXL/7QtppfclQrBvm/NivDsuQ5v6WlZFpvvcImsORTiIHMLgOWP4SbwOE70 E0jyPru0K9hu+ugeoYtvQN7BYvtNXNc8zeR0BtCSwD8gidZ9r50O2bpERGS9QPHlyWA4 yU3tjhauqDemRjWJ6vZN0d4qms2N3PJWoWpX+5dnM/O7VfWKbpg+tw8mjP05ObVtJKDF 4TaedI9E4itnxlBe+Esv/4B/3v2V56SDSOEHQEvrObAJv/LOwNKq95NPUDH9BSFRlp7H VXdqDteOSpSSV8DHamCsIyUjq5EgVv4yjl525JentDogyzEGkhz8nhU5sxDjllXibvEY ITuQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=DhqjdQuuEuyOF+P6i+E94fl3V3XGQnTKux56TJUlsqI=; b=Z3pKmf/Uldm7X9hSjzNKZUpovXlwsJaT8rsf93U28s+E/eaGR5yEQemCsU3Q1H6gyX eti20quNtDWeT8W8AqFpqM3sdn0+CzSrWrUGc79HRIsbrKCuMipC45uDcTqzeAV/U/s7 BsWzreaL3Hc2oc+L1sJLf1TVVO0pkRAngW3p88Kxkv7zn52XfWH1AH+ABIxc8QfFvy2U BlWK3JIB0C7kjKWh5UlHbPZp4zkUJwuhyp/HC65u8EqMLZzKrWmi7s2CQFOVtK0iT1U5 J/6K284T66kNY2oMgt9B8ATpKUEtsoa0zxNk/5DUqg0K13S+d+uHkNee6BQeC/b5mdJ4 c8Mg== X-Gm-Message-State: AO0yUKXT6eWQgFQ4rOGEbqFm76SU2KtwGUGaEQM0It3X7j5X1pI+2/BB Gin7QgMgDNprAu++XdNH7Mw= X-Google-Smtp-Source: AK7set8DmWLvx6j7dMP6++aEpfoAgBFTiDF3ec5An7uXGi/wHpIAnSBC6qdOdk1iyxc5kQ+7ILHdeQ== X-Received: by 2002:a05:600c:3b89:b0:3dc:19d1:3c13 with SMTP id n9-20020a05600c3b8900b003dc19d13c13mr16108728wms.12.1675623995339; Sun, 05 Feb 2023 11:06:35 -0800 (PST) Original-Received: from [192.168.0.2] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id q6-20020a05600c46c600b003dc54344764sm15016592wmo.48.2023.02.05.11.06.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 05 Feb 2023 11:06:34 -0800 (PST) Content-Language: en-US In-Reply-To: <83o7q8q83d.fsf@gnu.org> 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:254884 Archived-At: On 05/02/2023 20:29, Eli Zaretskii wrote: >> 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. All right.