unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: Phil Sainty <psainty@orcon.net.nz>,
	29381@debbugs.gnu.org, "Paul W. Rankin" <pwr@bydasein.com>,
	Stefan Kangas <stefan@marxist.se>,
	Andreas Schwab <schwab@suse.de>
Subject: bug#29381: show-paren-mode should not be globalized
Date: Fri, 10 Sep 2021 12:52:07 +0200	[thread overview]
Message-ID: <877dfor9d4.fsf@gnus.org> (raw)
In-Reply-To: <619d681e-d286-25ab-4ee3-913c473339da@yandex.ru> (Dmitry Gutov's message of "Fri, 10 Sep 2021 02:57:43 +0300")

Dmitry Gutov <dgutov@yandex.ru> 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).

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2021-09-10 10:52 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-21 10:28 bug#29381: show-paren-mode should not be globalized Paul Rankin
2017-11-21 10:36 ` Andreas Schwab
2017-11-21 10:45   ` Paul Rankin
2020-08-10 16:14     ` Stefan Kangas
2020-08-12 13:14       ` Phil Sainty
2021-09-03  6:58         ` Lars Ingebrigtsen
2021-09-03  7:26           ` Paul W. Rankin via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-09-03  7:50             ` Lars Ingebrigtsen
2021-09-09 23:57               ` Dmitry Gutov
2021-09-10 10:52                 ` Lars Ingebrigtsen [this message]
2021-09-11  2:15                   ` Dmitry Gutov
2021-09-11 12:43                     ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=877dfor9d4.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=29381@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=psainty@orcon.net.nz \
    --cc=pwr@bydasein.com \
    --cc=schwab@suse.de \
    --cc=stefan@marxist.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).