From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: goncholden via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#54551: show-paren-mode inconsistency Date: Fri, 25 Mar 2022 04:20:39 +0000 Message-ID: <0WZYJ8onIiWI4JsigrmlEGqkMLh1v1m8PYEhIC8hfU3s6tdWSPdE2eWEXWlzwwZ4UEkfEez_mlZTmfCy5akvKZTpu32mttK4b_qxu2VMIxs=@protonmail.com> References: <83ee2rccyk.fsf@gnu.org> <02f5d0e52ab17015df7cffeda5600d17@webmail.orcon.net.nz> Reply-To: goncholden Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11724"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 54551@debbugs.gnu.org To: Phil Sainty Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Mar 25 05:21:11 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 1nXbRn-0002sW-2N for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 05:21:11 +0100 Original-Received: from localhost ([::1]:53974 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nXbRl-0000BV-Li for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 25 Mar 2022 00:21:09 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:58988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nXbRe-0000AG-MK for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 00:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55912) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nXbRe-0002UQ-DK for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 00:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nXbRe-0001nM-8u for bug-gnu-emacs@gnu.org; Fri, 25 Mar 2022 00:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: goncholden Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 25 Mar 2022 04:21: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.16481820496848 (code B ref 54551); Fri, 25 Mar 2022 04:21:02 +0000 Original-Received: (at 54551) by debbugs.gnu.org; 25 Mar 2022 04:20:49 +0000 Original-Received: from localhost ([127.0.0.1]:49804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXbRQ-0001mO-M7 for submit@debbugs.gnu.org; Fri, 25 Mar 2022 00:20:48 -0400 Original-Received: from mail-4325.protonmail.ch ([185.70.43.25]:28567) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nXbRP-0001mB-6l for 54551@debbugs.gnu.org; Fri, 25 Mar 2022 00:20:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=protonmail.com; s=protonmail; t=1648182040; bh=2PnXpOt/u0x6MWiMNOndI80eWfbmNhyo05/SBvMG0+k=; h=Date:To:From:Cc:Reply-To:Subject:Message-ID:In-Reply-To: References:From:To:Cc:Date:Subject:Reply-To:Feedback-ID: Message-ID; b=YkTCnnH3RMVzJdaFyzlgVgNcOGd4NvVrNins7G9+PGnDGY0YViypQpEsX5zoYbdau KTUekJHFPyfFtULKXvINnNWH8CZdFv+PLFPGwyKUusGW+FRlRIEyvxz1F5sgaqQVX6 ReIbMGcl4U2bbmtrmo0jUcwHX/mh8QSIyoXdDUGtYcFKfOQ6LHlwlYbmzgM7o9m5xe HiMA7080gDj4awMtCDSwwrp5w6qeFhoDvXgnHpDhYR1helObfk6YzEAt1KvLp2LoGJ Ie9vqO2SGKFW2ZeoHvXw3AfbPbrMz/xLr/zWK2Zniir1JVPicl+tLfTE81Y8PgXF/h Ks3MeWsEzk4kg== In-Reply-To: <02f5d0e52ab17015df7cffeda5600d17@webmail.orcon.net.nz> 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" X-ACL-Warn: , goncholden Xref: news.gmane.io gmane.emacs.bugs:228904 Archived-At: ------- Original Message ------- On Friday, March 25th, 2022 at 12:12 PM, Phil Sainty = wrote: > On 2022-03-25 11:48, goncholden wrote: > > Consider the following command > > (setq initial-frame-alist '((width . 72) (height . 26)) ). > > Would be instructive that when one puts the cursor in the space > > between (width . 72) and (height . 26), the entire (width . 72) > > (height . 26) would be highlighted. > That wouldn't make any sense for show-paren-mode. > The cursor (point) is either between the ")" and " " characters, or > else between the " " and "(" characters. Those are the only two > possibilities, and in each case you would expect show-paren-mode to > highlight the adjacent expression (to the left or to the right of the > cursor, respectively). I use the block colouring of the cursor, meaning that your valid descriptio= n in not so intuitive. Would it be possible to include a different interpret= ation depending on the type of cursor display one is using? > > But (setq show-paren-when-point-inside-paren t) does not do that. > It's not documented as doing that, so there's not reason to expect > that it might. > > I think you're looking for this library: > https://www.emacswiki.org/emacs/HighlightSexp Will try it out and report back about it.