GNU bug report logs - #54551
show-paren-mode inconsistency

Previous Next

Package: emacs;

Reported by: goncholden <goncholden <at> protonmail.com>

Date: Thu, 24 Mar 2022 20:15:01 UTC

Severity: wishlist

Tags: notabug

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

Bug is archived. No further changes may be made.

Full log


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

From: goncholden <goncholden <at> protonmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 54551 <at> debbugs.gnu.org
Subject: Re: bug#54551: show-paren-mode inconsistency
Date: Fri, 25 Mar 2022 08:35:09 +0000
Sent with ProtonMail secure email.
------- Original Message -------
On Friday, March 25th, 2022 at 7:21 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:

> > Date: Fri, 25 Mar 2022 07:10:36 +0000
> >
> > From: goncholden goncholden <at> protonmail.com
> >
> > Cc: 54551 <at> debbugs.gnu.org
> >
> > I am debugging a problem where emacs states that there exists an extra
> >
> > closing parenthesis, but having extreme difficulty locating it.
>
> For this, I propose one of the following methods, or their
>
> combination:
>
> . use C-M-f to move forward by sexps in your init file
> . watch for show-paren to show the closing parenthesis in the
> "mismatched" color
>
> > Have split the file in two and using "require" on a child file. Otherwise
> > I have to comment each line of code rather than whole sections. Commenting
> > each line is likely to introduce errors if one is not very careful removing
> > the comment tags.

> You could instead mark a region of the file, and then use
> comment-region.

> I don't think any of this, or the problem you are trying to solve, is
> relevant to what show-paren does, though.

Not to what show-paren does, but about tools to isolate or focus on specific
sections of code.  Could there be a way to ignore sections of code without
requiring commenting?





This bug report was last modified 3 years and 151 days ago.

Previous Next


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