From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.devel Subject: Re: [NonGNU ELPA] New package proposal: highlight-parentheses.el Date: Sun, 15 Aug 2021 10:10:37 +0200 Message-ID: <87lf53ru8f.fsf@gnu.org> References: <87mtpk1mi5.fsf@gnu.org> <8735rcdu36.fsf@alphapapa.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10263"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: mu4e 1.6.3; emacs 28.0.50 Cc: emacs-devel@gnu.org To: Adam Porter Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 15 10:25:37 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mFBSa-0002Sc-D7 for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Aug 2021 10:25:36 +0200 Original-Received: from localhost ([::1]:54416 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFBSY-0002df-WD for ged-emacs-devel@m.gmane-mx.org; Sun, 15 Aug 2021 04:25:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49984) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFBRR-0001ft-Cr for emacs-devel@gnu.org; Sun, 15 Aug 2021 04:24:25 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:43518) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mFBRQ-0006sa-Sy; Sun, 15 Aug 2021 04:24:24 -0400 Original-Received: from auth2-smtp.messagingengine.com ([66.111.4.228]:55687) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mFBRQ-0003MJ-Ea; Sun, 15 Aug 2021 04:24:24 -0400 Original-Received: from compute5.internal (compute5.nyi.internal [10.202.2.45]) by mailauth.nyi.internal (Postfix) with ESMTP id 2F46127C0054; Sun, 15 Aug 2021 04:24:22 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute5.internal (MEProxy); Sun, 15 Aug 2021 04:24:22 -0400 X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrkeelgddtfecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpehffgfhvffuffgjkfggtgesthdtredttdertdenucfhrhhomhepvfgrshhsihhl ohcujfhorhhnuceothhsughhsehgnhhurdhorhhgqeenucggtffrrghtthgvrhhnpeevve eikeetkeeviefgfeffiedvteeguddvffeuueduveegtddthedvhfeuveffhfenucevlhhu shhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhorhhnodhmvg hsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdekieejfeekjeekgedqieefhedvleek qdhtshguhheppehgnhhurdhorhhgsehfrghsthhmrghilhdrfhhm X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 15 Aug 2021 04:24:20 -0400 (EDT) In-reply-to: <8735rcdu36.fsf@alphapapa.net> X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:272404 Archived-At: Adam Porter writes: Hi Adam, >> I'm maintaining highlight-parentheses.el [1] and would like to push >> it to NonGNU ELPA. > > This looks very useful. It is! :-) > I think I've seen the package's name before, but I'm not sure I ever > looked at it. That may be partially due to its somewhat ambiguous > name, that seems to resemble similar packages. For example, I'm > pretty sure I've conflated it with the built-in show-paren-mode. And > I guess users could generally think it does something like > rainbow-delimiters.el or prism.el, even though it serves a different > purpose. Yes, they are all similar but have a different focus. - show-paren-mode flashes "the other" paren, i.e., the opening when you are on the closing one. - rainbow-delimiters colorizes all parens (and brackets, braces) in a different color based on their depth. - highlight-parentheses is basically like rainbow-delimiters, i.e., it also colorizes parentheses (and brackets, braces) based on their depth but only the ones surrounding/containing point. So you could view highlight-parentheses as a cross-breed of rainbow-delimiters and show-paren-mode. Just that it's actually a bit older than rainbow-delimiters. > If I may engage in a little bikeshedding, would you consider giving it > a more descriptive name? Maybe something like highlight-surrounding, > or highlight-enclosing? That would help distinguish it from other > parens-highlighting packages and better describe what it does. Indeed, but one doesn't change names after more than 13 years of existence and establishing a user-base. But I hope that it's description "Highlight surrounding parentheses" describes it pretty clear in the `list-packages' listing. Bye, Tassilo