all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 50895@debbugs.gnu.org, jporterbugs@gmail.com, larsi@gnus.org
Subject: bug#50895: 28.0.50; show-paren-mode is distracting in some modes
Date: Thu, 30 Sep 2021 12:02:29 +0300	[thread overview]
Message-ID: <83h7e2h1wa.fsf@gnu.org> (raw)
In-Reply-To: <7867800d-f770-0316-6659-7ff6f310cd57@yandex.ru> (message from Dmitry Gutov on Wed, 29 Sep 2021 23:02:03 +0300)

> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Wed, 29 Sep 2021 23:02:03 +0300
> Cc: 50895@debbugs.gnu.org
> 
> >> Then the default value for `show-paren-global-modes' could be
> >> `(prog-mode)' or `(prog-mode text-mode)', or even `(not
> >> special-mode)', depending on one's opinions about whether
> >> `show-paren-mode' makes sense for prose. That would cover both this
> >> bug as well as providing an easy way for users to customize the major
> >> modes where `show-paren-mode' is enabled (this is already possible
> >> with `show-paren-local-mode', but it'd be a bit simpler with
> >> `show-paren-global-modes').
> > 
> > Yes, that makes sense to me.
> 
> The new var, if we add it now, should probably be just t by default.
> 
> To avoid changing the behavior for those who customized show-paren-mode 
> for many years, and yet allow an easy customization point for others who 
> can by annoyed with the change.
> 
> I don't know how to avoid changing the behavior for existing users of 
> this mode, unless we make the variable itself take different values (can 
> we?), and have it used instead of adding show-paren-global-modes.

IMNSHO, it would be wrong for us to do that now.  show-paren-mode in
its traditional global implementation was tested for many years by
many users, and we have a good understanding of what it does.  Turning
it on by default makes that well-understood feature available to
everyone.  The problems with that should be minor, mostly related to
personal preferences, as always with defaults.

By contrast, the suggestion here is to turn on by default something we
never tried before.  While the chances of it to introduce some serious
regressions are probably not high, they are definitely higher than
simply turning on the mode globally, something we already did.  It
makes little sense to me to argue for a long time about a feature,
have a user poll about its turning on, then turn on some different
feature by default.  That's not a healthy way of changing defaults in
Emacs, and it runs a higher risk of causing unintended problems.
There's absolutely no justification for that.  "Perfect is the enemy
of good."

There's nothing particularly wrong with the current global settings,
except that some people don't like the results.  That some don't like
it is expected: that's why this can be customized to turn the feature
off.  But I see no real reasons to complicate the mode or invent new
untested aspects of it, just because a few people dislike it or have
their doubts or ideas about how to turn it on/off selectively.

So I don't think we should change anything in this by default.  If
someone really wants a way of enabling this more selectively, that's
fine, but then this new behavior should not be the default, because
that's not what we decided and not what we asked the users to provide
the feedback about.





  parent reply	other threads:[~2021-09-30  9:02 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-29 17:25 bug#50895: 28.0.50; show-paren-mode is distracting in some modes Lars Ingebrigtsen
2021-09-29 17:54 ` bug#50895: [External] : " Drew Adams
2021-09-29 17:59 ` Jim Porter
2021-09-29 18:01   ` Lars Ingebrigtsen
2021-09-29 20:02     ` Dmitry Gutov
2021-09-30  6:45       ` Lars Ingebrigtsen
2021-09-30 11:19         ` Dmitry Gutov
2021-09-30 13:39           ` Lars Ingebrigtsen
2021-09-30 17:00             ` Dmitry Gutov
2021-10-01  7:30               ` Lars Ingebrigtsen
2021-09-30  9:02       ` Eli Zaretskii [this message]
2021-09-30  9:26         ` Lars Ingebrigtsen
2021-09-30 10:02           ` Eli Zaretskii
2021-09-30 17:03         ` Dmitry Gutov
2021-09-29 18:02 ` Eli Zaretskii
2021-09-29 18:03   ` Lars Ingebrigtsen
2021-09-29 18:11     ` bug#50895: [External] : " Drew Adams
2021-09-29 18:25     ` Eli Zaretskii
2021-09-29 18:31       ` Lars Ingebrigtsen
2021-09-29 18:40         ` Eli Zaretskii
  -- strict thread matches above, loose matches on Subject: below --
2021-09-29 17:10 bug#50894: Disable show-paren-mode in special modes Juri Linkov
2022-09-02 12:23 ` bug#50895: 28.0.50; show-paren-mode is distracting in some modes 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

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

  git send-email \
    --in-reply-to=83h7e2h1wa.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=50895@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    --cc=jporterbugs@gmail.com \
    --cc=larsi@gnus.org \
    /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 external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.