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: Thu, 24 Mar 2022 22:28:19 +0200 Message-ID: <83ee2rccyk.fsf@gnu.org> References: Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7025"; 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 Thu Mar 24 21:29:15 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 1nXU55-0001ik-CJ for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 21:29:15 +0100 Original-Received: from localhost ([::1]:55058 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXU53-0005wJ-VS for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Mar 2022 16:29:13 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:60380) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXU4s-0005wB-My for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 16:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55609) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXU4s-00033s-EI for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 16:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXU4s-0006fG-BS for bug-gnu-emacs@gnu.org; Thu, 24 Mar 2022 16:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Mar 2022 20:29:02 +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.164815371425577 (code B ref 54551); Thu, 24 Mar 2022 20:29:02 +0000 Original-Received: (at 54551) by debbugs.gnu.org; 24 Mar 2022 20:28:34 +0000 Original-Received: from localhost ([127.0.0.1]:49506 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXU4Q-0006eS-4e for submit@debbugs.gnu.org; Thu, 24 Mar 2022 16:28:34 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:44308) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXU4O-0006eH-SK for 54551@debbugs.gnu.org; Thu, 24 Mar 2022 16:28:33 -0400 Original-Received: from [2001:470:142:3::e] (port=37126 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 1nXU4J-00030l-6t; Thu, 24 Mar 2022 16:28:27 -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=TGno+Qn/U8yuTgx67BEtRurcGDAX+w9PTR1KuxO0iUA=; b=dztlVv+ZEHKm aZyAdwpkvxLKymQjk7E7oI77eDnUZ/0gfdHixEOUoQpeI1y1/NIgzvsakXbFZN5gIDu4e5+z0DmQ/ 3J8CY5RF0FQqMj6thQd//3HKpdDRGugnD3WYAOyyLLTdDM2igRtkngOO8zl46lZRA4Ov1CB6hF4t4 7xCMZwsv3NbLT+rV2Y8JmBdR5fmv1ejTpqg4tYT/ZB9EC0cAyDBwVfu9wA5UURPdVa9LbjrzSZURp 8FuDTVwAm9RBvLPdvyjH0B5WgviPg9Jfr4dKQpqCTs2FXhA1EiDbWxcO3xg9dnf318M4QLBwxJvxt stdNC9ELzMDXPZ3CveGcUA==; Original-Received: from [87.69.77.57] (port=1141 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 1nXU4I-0002ID-MC; Thu, 24 Mar 2022 16:28:27 -0400 In-Reply-To: (bug-gnu-emacs@gnu.org) 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:228893 Archived-At: > Date: Thu, 24 Mar 2022 20:13:55 +0000 > From: goncholden via "Bug reports for GNU Emacs, > the Swiss army knife of text editors" > > I am using show-paren-mode to highlight watching opening or closing parentheses. > > Have seen that putting the cursor on the opening brace highlights the closing brace. But putting the cursor > does not highlight the opening brace. One has to go to the character following the closing brace. Because > elisp customarily has many consecutive closing braces, using the consecutive character to highlight the > matching opening brace is counter productive. This is so typing the closing brace shows the matching opening brace. With your proposal, when I type the closing brace, the opening one will not be highlighted. So this is by design, and for a good reason.