unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#50894: Disable show-paren-mode in special modes
@ 2021-09-29 17:10 Juri Linkov
  2021-09-29 17:40 ` bug#50894: [External] : " Drew Adams
                   ` (2 more replies)
  0 siblings, 3 replies; 9+ messages in thread
From: Juri Linkov @ 2021-09-29 17:10 UTC (permalink / raw)
  To: 50894

>> Sounds good to me, but are there any special-modes where it is useful?
>>
>> Perhaps we can just disable it in `special-mode', and if we think of
>> some modes where it seems really useful, we re-enable it for them?
>
> I can't think of any special modes where it's useful, so I think that
> sounds like a plan.

So here is a new request created from bug#50881.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: [External] : bug#50894: Disable show-paren-mode in special modes
  2021-09-29 17:10 bug#50894: Disable show-paren-mode in special modes Juri Linkov
@ 2021-09-29 17:40 ` Drew Adams
  2021-09-29 17:57 ` Eli Zaretskii
  2022-09-02 12:23 ` bug#50895: 28.0.50; show-paren-mode is distracting in some modes Lars Ingebrigtsen
  2 siblings, 0 replies; 9+ messages in thread
From: Drew Adams @ 2021-09-29 17:40 UTC (permalink / raw)
  To: Juri Linkov, 50894@debbugs.gnu.org

> >> Sounds good to me, but are there any special-modes where it is
> useful?
> >>
> >> Perhaps we can just disable it in `special-mode', and if we think of
> >> some modes where it seems really useful, we re-enable it for them?
> >
> > I can't think of any special modes where it's useful, so I think that
> > sounds like a plan.
> 
> So here is a new request created from bug#50881.

So does this mean that if someone has previously
turned on `show-paren-mode' (globally) s?he now has
to explicitly turn it on in `special-mode'?

If so, why impose that backward-incompatible change?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: Disable show-paren-mode in special modes
  2021-09-29 17:10 bug#50894: Disable show-paren-mode in special modes Juri Linkov
  2021-09-29 17:40 ` bug#50894: [External] : " Drew Adams
@ 2021-09-29 17:57 ` Eli Zaretskii
  2021-09-29 19:54   ` Juri Linkov
  2022-09-02 12:23 ` bug#50895: 28.0.50; show-paren-mode is distracting in some modes Lars Ingebrigtsen
  2 siblings, 1 reply; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-29 17:57 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50894

> From: Juri Linkov <juri@linkov.net>
> Date: Wed, 29 Sep 2021 20:10:57 +0300
> 
> >> Sounds good to me, but are there any special-modes where it is useful?
> >>
> >> Perhaps we can just disable it in `special-mode', and if we think of
> >> some modes where it seems really useful, we re-enable it for them?
> >
> > I can't think of any special modes where it's useful, so I think that
> > sounds like a plan.
> 
> So here is a new request created from bug#50881.

Sorry, but I object to turning show-paren-mode off just 5 min after we
turned it on.  Please wait for a month at least before reporting
problems with that setting that are not clear bugs.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: Disable show-paren-mode in special modes
  2021-09-29 17:57 ` Eli Zaretskii
@ 2021-09-29 19:54   ` Juri Linkov
  2021-09-29 20:26     ` bug#50894: [External] : " Drew Adams
  2021-09-30  8:47     ` Eli Zaretskii
  0 siblings, 2 replies; 9+ messages in thread
From: Juri Linkov @ 2021-09-29 19:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: 50894

>> >> Sounds good to me, but are there any special-modes where it is useful?
>> >>
>> >> Perhaps we can just disable it in `special-mode', and if we think of
>> >> some modes where it seems really useful, we re-enable it for them?
>> >
>> > I can't think of any special modes where it's useful, so I think that
>> > sounds like a plan.
>>
>> So here is a new request created from bug#50881.
>
> Sorry, but I object to turning show-paren-mode off just 5 min after we
> turned it on.  Please wait for a month at least before reporting
> problems with that setting that are not clear bugs.

If you read a book where every paren is emphasized,
what would you think about the author?





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: [External] : bug#50894: Disable show-paren-mode in special modes
  2021-09-29 19:54   ` Juri Linkov
@ 2021-09-29 20:26     ` Drew Adams
  2021-09-30  6:58       ` Juri Linkov
  2021-09-30  8:47     ` Eli Zaretskii
  1 sibling, 1 reply; 9+ messages in thread
From: Drew Adams @ 2021-09-29 20:26 UTC (permalink / raw)
  To: Juri Linkov, Eli Zaretskii; +Cc: 50894@debbugs.gnu.org

> If you read a book where every paren is emphasized,
> what would you think about the author?

If I read that book in a reader app, I'd look to
see if that was a visualization option - but only
if I didn't find it useful.

We cater to users.  We give them optional behaviors.
Some such we turn on by default.  Some users don't
like the default behaviors, so they customize.

Nothing new.

We saw similar arguments back when the choice was
made to turn on `font-lock-mode' globally by default.
Until that momentous decision it was off.  Imagine
the consternation of the multitudes who suddenly
found it on.  They survived, and so did Emacs.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: [External] : bug#50894: Disable show-paren-mode in special modes
  2021-09-29 20:26     ` bug#50894: [External] : " Drew Adams
@ 2021-09-30  6:58       ` Juri Linkov
  2021-09-30  9:49         ` Eli Zaretskii
  0 siblings, 1 reply; 9+ messages in thread
From: Juri Linkov @ 2021-09-30  6:58 UTC (permalink / raw)
  To: Drew Adams; +Cc: 50894@debbugs.gnu.org

>> If you read a book where every paren is emphasized,
>> what would you think about the author?
>
> If I read that book in a reader app, I'd look to
> see if that was a visualization option - but only
> if I didn't find it useful.
>
> We cater to users.  We give them optional behaviors.
> Some such we turn on by default.  Some users don't
> like the default behaviors, so they customize.
>
> Nothing new.

The question is whether emphasizing the parens at the
first line of 'C-h C-h' was an intentional change or not.
If not, then it's a bug.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: Disable show-paren-mode in special modes
  2021-09-29 19:54   ` Juri Linkov
  2021-09-29 20:26     ` bug#50894: [External] : " Drew Adams
@ 2021-09-30  8:47     ` Eli Zaretskii
  1 sibling, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-30  8:47 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50894

> From: Juri Linkov <juri@linkov.net>
> Cc: 50894@debbugs.gnu.org
> Date: Wed, 29 Sep 2021 22:54:20 +0300
> 
> >> So here is a new request created from bug#50881.
> >
> > Sorry, but I object to turning show-paren-mode off just 5 min after we
> > turned it on.  Please wait for a month at least before reporting
> > problems with that setting that are not clear bugs.
> 
> If you read a book where every paren is emphasized,
> what would you think about the author?

It doesn't matter what I think.  If I don't like that, I can turn it
off.

Moreover, some special modes display code fragments, where
show-paren-mode is definitely useful, especially to newbies who don't
yet have parenthesis peeling off burnt into their brains.  Even *Help*
buffers show code fragments.

Please, just let this feature alone for a while.  Disable it in your
customizations if you cannot stand it.  We can come back to it later,
when we have enough experience collected from those who will see this
default for the first time when Emacs 28.1 is released.  They are
those for whom we made this change, so let's hear their opinions
before changing anything.  My personal experience suggests that at
least some of them will have no problems where you see them.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50894: [External] : bug#50894: Disable show-paren-mode in special modes
  2021-09-30  6:58       ` Juri Linkov
@ 2021-09-30  9:49         ` Eli Zaretskii
  0 siblings, 0 replies; 9+ messages in thread
From: Eli Zaretskii @ 2021-09-30  9:49 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50894

> From: Juri Linkov <juri@linkov.net>
> Cc: Eli Zaretskii <eliz@gnu.org>,  "50894@debbugs.gnu.org"
>  <50894@debbugs.gnu.org>
> Date: Thu, 30 Sep 2021 09:58:35 +0300
> 
> > We cater to users.  We give them optional behaviors.
> > Some such we turn on by default.  Some users don't
> > like the default behaviors, so they customize.
> >
> > Nothing new.
> 
> The question is whether emphasizing the parens at the
> first line of 'C-h C-h' was an intentional change or not.
> If not, then it's a bug.

The intent is to emphasize parens _everywhere_.  That's what the
feature does, and that's what we intended to turn on by default, and
asked users to provide feedback about.





^ permalink raw reply	[flat|nested] 9+ messages in thread

* bug#50895: 28.0.50; show-paren-mode is distracting in some modes
  2021-09-29 17:10 bug#50894: Disable show-paren-mode in special modes Juri Linkov
  2021-09-29 17:40 ` bug#50894: [External] : " Drew Adams
  2021-09-29 17:57 ` Eli Zaretskii
@ 2022-09-02 12:23 ` Lars Ingebrigtsen
  2 siblings, 0 replies; 9+ messages in thread
From: Lars Ingebrigtsen @ 2022-09-02 12:23 UTC (permalink / raw)
  To: Juri Linkov; +Cc: 50895, 50894

Juri Linkov <juri@linkov.net> writes:

>>> Sounds good to me, but are there any special-modes where it is useful?
>>>
>>> Perhaps we can just disable it in `special-mode', and if we think of
>>> some modes where it seems really useful, we re-enable it for them?
>>
>> I can't think of any special modes where it's useful, so I think that
>> sounds like a plan.
>
> So here is a new request created from bug#50881.

So I've now done this in Emacs 29.





^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2022-09-02 12:23 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-09-29 17:10 bug#50894: Disable show-paren-mode in special modes Juri Linkov
2021-09-29 17:40 ` bug#50894: [External] : " Drew Adams
2021-09-29 17:57 ` Eli Zaretskii
2021-09-29 19:54   ` Juri Linkov
2021-09-29 20:26     ` bug#50894: [External] : " Drew Adams
2021-09-30  6:58       ` Juri Linkov
2021-09-30  9:49         ` Eli Zaretskii
2021-09-30  8:47     ` Eli Zaretskii
2022-09-02 12:23 ` bug#50895: 28.0.50; show-paren-mode is distracting in some modes Lars Ingebrigtsen

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).