GNU bug report logs - #50894
Disable show-paren-mode in special modes

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Wed, 29 Sep 2021 17:21:02 UTC

Severity: wishlist

Merged with 50895

Found in version 28.0.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 50894 in the body.
You can then email your comments to 50894 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Wed, 29 Sep 2021 17:21:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Juri Linkov <juri <at> linkov.net>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Wed, 29 Sep 2021 17:21:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: bug-gnu-emacs <at> gnu.org
Subject: Disable show-paren-mode in special modes
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.




Forcibly Merged 50894 50895. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Wed, 29 Sep 2021 17:29:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Wed, 29 Sep 2021 17:58:02 GMT) Full text and rfc822 format available.

Message #10 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50894 <at> debbugs.gnu.org
Subject: Re: bug#50894: Disable show-paren-mode in special modes
Date: Wed, 29 Sep 2021 20:57:36 +0300
> From: Juri Linkov <juri <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Wed, 29 Sep 2021 18:21:02 GMT) Full text and rfc822 format available.

Message #13 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, "50894 <at> debbugs.gnu.org"
 <50894 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#50894: Disable show-paren-mode in special modes
Date: Wed, 29 Sep 2021 17:40:48 +0000
> >> 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?




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Wed, 29 Sep 2021 19:56:02 GMT) Full text and rfc822 format available.

Message #16 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 50894 <at> debbugs.gnu.org
Subject: Re: bug#50894: Disable show-paren-mode in special modes
Date: Wed, 29 Sep 2021 22:54:20 +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.

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




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Wed, 29 Sep 2021 20:29:01 GMT) Full text and rfc822 format available.

Message #19 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Juri Linkov <juri <at> linkov.net>, Eli Zaretskii <eliz <at> gnu.org>
Cc: "50894 <at> debbugs.gnu.org" <50894 <at> debbugs.gnu.org>
Subject: RE: [External] : bug#50894: Disable show-paren-mode in special modes
Date: Wed, 29 Sep 2021 20:26:22 +0000
> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Thu, 30 Sep 2021 07:02:02 GMT) Full text and rfc822 format available.

Message #22 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Drew Adams <drew.adams <at> oracle.com>
Cc: "50894 <at> debbugs.gnu.org" <50894 <at> debbugs.gnu.org>,
 Eli Zaretskii <eliz <at> gnu.org>
Subject: Re: [External] : bug#50894: Disable show-paren-mode in special modes
Date: Thu, 30 Sep 2021 09:58:35 +0300
>> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Thu, 30 Sep 2021 08:48:02 GMT) Full text and rfc822 format available.

Message #25 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50894 <at> debbugs.gnu.org
Subject: Re: bug#50894: Disable show-paren-mode in special modes
Date: Thu, 30 Sep 2021 11:47:07 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: 50894 <at> 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.




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Thu, 30 Sep 2021 09:50:02 GMT) Full text and rfc822 format available.

Message #28 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50894 <at> debbugs.gnu.org, drew.adams <at> oracle.com
Subject: Re: [External] : bug#50894: Disable show-paren-mode in special modes
Date: Thu, 30 Sep 2021 12:49:33 +0300
> From: Juri Linkov <juri <at> linkov.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>,  "50894 <at> debbugs.gnu.org"
>  <50894 <at> 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.




Severity set to 'wishlist' from 'normal' Request was from Stefan Kangas <stefan <at> marxist.se> to control <at> debbugs.gnu.org. (Tue, 05 Oct 2021 23:27:01 GMT) Full text and rfc822 format available.

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#50894; Package emacs. (Fri, 02 Sep 2022 12:24:02 GMT) Full text and rfc822 format available.

Message #33 received at 50894 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Juri Linkov <juri <at> linkov.net>
Cc: 50895 <at> debbugs.gnu.org, 50894 <at> debbugs.gnu.org
Subject: Re: bug#50895: 28.0.50; show-paren-mode is distracting in some modes
Date: Fri, 02 Sep 2022 14:23:29 +0200
Juri Linkov <juri <at> 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.




bug marked as fixed in version 29.1, send any further explanations to 50895 <at> debbugs.gnu.org and Lars Ingebrigtsen <larsi <at> gnus.org> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Fri, 02 Sep 2022 12:24:03 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Sat, 01 Oct 2022 11:24:10 GMT) Full text and rfc822 format available.

This bug report was last modified 1 year and 208 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.