From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#54551: show-paren-mode inconsistency Date: Fri, 25 Mar 2022 10:21:22 +0300 Message-ID: <831qyqcxal.fsf@gnu.org> References: <83ee2rccyk.fsf@gnu.org> <837d8icyva.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1933"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54551@debbugs.gnu.org To: goncholden Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 25 08:22:55 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nXeHe-0000Ol-MM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 08:22:54 +0100 Original-Received: from localhost ([::1]:57590 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXeHd-0006KD-JL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 03:22:53 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:52000) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXeGo-0006Gr-7J for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 03:22:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXeGn-0002n7-Vc for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 03:22:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXeGn-0006W5-Rv for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 03:22:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Mar 2022 07:22:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54551 X-GNU-PR-Package: emacs Original-Received: via spool by 54551-submit@debbugs.gnu.org id=B54551.164819289525006 (code B ref 54551); Fri, 25 Mar 2022 07:22:01 +0000 Original-Received: (at 54551) by debbugs.gnu.org; 25 Mar 2022 07:21:35 +0000 Original-Received: from localhost ([127.0.0.1]:49968 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXeGN-0006VF-3D for submit@debbugs.gnu.org; Fri, 25 Mar 2022 03:21:35 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35958) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXeGL-0006V2-Ki for 54551@debbugs.gnu.org; Fri, 25 Mar 2022 03:21:34 -0400 Original-Received: from [2001:470:142:3::e] (port=33916 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXeGG-0002eS-Dk; Fri, 25 Mar 2022 03:21:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=m0aAwfGb8UAm88iPKO00eahJqJB/W/pu4xQPon/0KM4=; b=LXgTyfFnD5rn QGIG31e+Q5vYQn1S2Sb5YFhojxKhdQjvhpDV8VDXFCDO/b2FSTNqRpLbd4t1/f/821MUwKPYHpL1n sVUxNsPog1HvpiEkZrUObn9qwohyF2pzmwEK2uJRQYCHTtHuwaDI4QzKGBPu3kjf6x2qJeyh7q+eb almdO3PM58ypOrvH5kLbKa+zGnvUJf0BUJ+iPbg1sESLRkpAq/cZf+x6+yXUizlp+szLmof/AdL9q HYaVf8SvHTDe48rG2rN7F7xdmLQI/7H31k5jNbvknJXV2pLXFEtKW9trVk7K7f1UGFubmmIimL5qD TYxFWWXCIYMrK89Ns01Q6w==; Original-Received: from [87.69.77.57] (port=1985 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXeGF-00032o-TG; Fri, 25 Mar 2022 03:21:28 -0400 In-Reply-To: (message from goncholden on Fri, 25 Mar 2022 07:10:36 +0000) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:228912 Archived-At: > Date: Fri, 25 Mar 2022 07:10:36 +0000 > From: goncholden > Cc: 54551@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.