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#29381: show-paren-mode should not be globalized Date: Sat, 11 Sep 2021 05:15:52 +0300 Message-ID: <33fafd38-3fe0-2568-71e5-5e5ac38660f3@yandex.ru> References: <1511260134.1854673.1179585816.34ED67B1@webmail.messagingengine.com> <1511261140.1859967.1179600504.3FD241DA@webmail.messagingengine.com> <878s0e402x.fsf@gnus.org> <87fsum2j4j.fsf@gnus.org> <619d681e-d286-25ab-4ee3-913c473339da@yandex.ru> <877dfor9d4.fsf@gnus.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="40536"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 Cc: Phil Sainty , 29381-done@debbugs.gnu.org, "Paul W. Rankin" , Stefan Kangas , Andreas Schwab To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 11 04:17:21 2021 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 1mOsa0-000ALg-2D for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 11 Sep 2021 04:17:20 +0200 Original-Received: from localhost ([::1]:52954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mOsZy-0006rR-WF for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 10 Sep 2021 22:17:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36548) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mOsZi-0006oe-Fz for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 22:17:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56046) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mOsZi-0008Ka-7w for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 22:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mOsZi-0007mC-1c for bug-gnu-emacs@gnu.org; Fri, 10 Sep 2021 22:17:02 -0400 Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sat, 11 Sep 2021 02:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 29381 X-GNU-PR-Package: emacs Mail-Followup-To: 29381@debbugs.gnu.org, dgutov@yandex.ru, hello@paulwrankin.com Original-Received: via spool by 29381-done@debbugs.gnu.org id=D29381.163132656729816 (code D ref 29381); Sat, 11 Sep 2021 02:17:01 +0000 Original-Received: (at 29381-done) by debbugs.gnu.org; 11 Sep 2021 02:16:07 +0000 Original-Received: from localhost ([127.0.0.1]:39357 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOsYo-0007kq-OX for submit@debbugs.gnu.org; Fri, 10 Sep 2021 22:16:06 -0400 Original-Received: from mail-wm1-f42.google.com ([209.85.128.42]:39879) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mOsYk-0007kA-4M for 29381-done@debbugs.gnu.org; Fri, 10 Sep 2021 22:16:05 -0400 Original-Received: by mail-wm1-f42.google.com with SMTP id 196-20020a1c04cd000000b002fa489ffe1fso2703716wme.4 for <29381-done@debbugs.gnu.org>; Fri, 10 Sep 2021 19:16:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=/qBBnFE8N4hhAgWnxbqKXunEFMFGsh583cHOabhs+bc=; b=dR7zpOAtr8A7+Zh10tPCxWTbxGe4R4ZQJGKAgpixvRXRsYq/FzJBN+Q2rIdBd0T0ck Hte0+a85Bc4wC4dJdkgtim7WBzu5apWkZY2BVFgNsC+KuF+nso18GnFwEIbaX9ec4r9p oZoBy+J5vzb0EYOLF2ZTCnB4b0zvZuJu4fTdGw230eDho39rJObTSXVC5vZ1mCT6T54r Z3sB1BDTqq0HbJ0AV5nJSAaxYLzovkxA15Tr8xsSCw0QyLnbVVeP1bvc3Y98J3kbg29I E3wG+hLhINmf4pqmDV4IzGWzv0ssXSF47d4uPaC5TMuHEJnWw7yHxpTIPdqW58lNP1cX mnfQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=/qBBnFE8N4hhAgWnxbqKXunEFMFGsh583cHOabhs+bc=; b=2//AGm+4gs6Z0DKkB4yFRHLj8oySIW9H73jxaAGU5Z2TFsYmKxuOodY7UBgg0f0IsF CJ/ZSzV4McbSHRICh2Jdd7hdrZzjQffFZaFiF8q5SfYz4WCjZhO8143uxkekoHX8AiUR 4JJu4feB1TwPEr09RXMRzd/DriL9DQHMA0t72bXBaeF88he+8PrCLgi6Lr0TnVLIBQWe m6huSJEH306M5Z+eAwf/dZOAC8HbCQAyNiFBM9TPpTVOxRk5MWNGXHr71o/R/Hxh7Wgt pUFxXcLQWERoF25H74DqCIMhkwvWg1muoZa+36mAViTcXkm0g+j7oVvzhOSHJjcK2Uco QyuQ== X-Gm-Message-State: AOAM531AMHeJUYPI5bBZ0pESU3+iA0zA4B6GezJgyuj6HJc37XYwxtLt gZSGv/WqNXxzG9pNCNBYSFA= X-Google-Smtp-Source: ABdhPJyPSZL+auqGhcpUy9uU8aYet2VLikuKN16mbFWx6Trx37NARM97ZdIdtWHC1hEqIEMGjmepmg== X-Received: by 2002:a1c:1cc:: with SMTP id 195mr596118wmb.188.1631326556226; Fri, 10 Sep 2021 19:15:56 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id x13sm295070wrg.62.2021.09.10.19.15.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 10 Sep 2021 19:15:55 -0700 (PDT) In-Reply-To: <877dfor9d4.fsf@gnus.org> Content-Language: en-US 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" Xref: news.gmane.io gmane.emacs.bugs:214042 Archived-At: On 10.09.2021 13:52, Lars Ingebrigtsen wrote: > Dmitry Gutov writes: > >> Here's a patch, modeled after electric-indent-local-mode. > > Haven't tried it, but it looks good to me. It should probably be paired > with a mention from `show-paren-mode' to say the -local-mode should be > used to switch show-paren-mode off in specific buffers (and the same in > the manual). Makes sense. I've pushed the change, and with this, I'm now closing the bug. Please report if anything's still missing, of course.