From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Newsgroups: gmane.emacs.help Subject: Re: Rainbow-delimiters highlighting { and } for tex and latex Date: Wed, 7 Sep 2022 17:16:07 +0200 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="78XOBSdHzGh5/7Ue" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="8467"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Wed Sep 07 17:17:25 2022 Return-path: Envelope-to: geh-help-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 1oVwnt-0001zH-Dt for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 17:17:25 +0200 Original-Received: from localhost ([::1]:51210 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVwns-0007Vf-E3 for geh-help-gnu-emacs@m.gmane-mx.org; Wed, 07 Sep 2022 11:17:24 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVwmk-0007TM-Sw for help-gnu-emacs@gnu.org; Wed, 07 Sep 2022 11:16:31 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:40384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVwmi-0006fX-Ny for help-gnu-emacs@gnu.org; Wed, 07 Sep 2022 11:16:14 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=From:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:To:Date:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=zGrppcutZQn6JClidJQJEWjNGvA4h3CHJby7d5tMRrQ=; b=iQbZvA1r5UN8CHfmoJzo5vba03 CeLR8NBWFDGtZgzUkkUIJ2sFF5WtakWKv/rK55VLnB1gkOc/S8OehS7AasTUB+Xz44cse8SxktE9F H3UOXXoUbXafQ5mPCbxs7M6+eH3RqSURR6tJ9M6/reSjEliJiJzSM3GxZm2JVenqw0W3H1dMrgCbp avWHNYhtOnLpjvKjKKgX+1F8HdQWzDSg3Kr4pPBp0MroM0G5xa3Irk2TDp4EGWZq5lEN3awHgbk+Z S2er5BgWAIAJ/xAwUMt5k8xzDntd0M4+its8fwe69GRdW+q/cOe/z6pSPNaYc2rf7CJmUaPdpnzsJ 91cBUjew==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.94.2) (envelope-from ) id 1oVwmd-0004fB-0T for help-gnu-emacs@gnu.org; Wed, 07 Sep 2022 17:16:07 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:139304 Archived-At: --78XOBSdHzGh5/7Ue Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Sep 07, 2022 at 05:03:50PM +0200, wilnerthomas--- via Users list fo= r the GNU Emacs text editor wrote: >=20 > Sep 7, 2022, 13:34 by monnier@iro.umontreal.ca: >=20 > > wilnerthomas@tutanota.com [2022-09-07 15:23:57] wrote: > > > >> Sep 7, 2022, 13:14 by help-gnu-emacs@gnu.org: > >> > >>>> Stefan, you are right.=C2=A0 But it handles only lisp commands, colo= uring > >>>> initial=C2=A0 "("=C2=A0 and final=C2=A0 ")".=C2=A0 But > >>>> not for highlighting=C2=A0 "{"=C2=A0 and=C2=A0 "}"=C2=A0 for=C2=A0 "= tex"=C2=A0 and=C2=A0 "latex". > >>>> > >>> > >>> That is not my experience (from a few seconds before sending my > >>> previous message). > >>> > >> What do I have to do exactly? > >> > > > > I don't know. For me it just works (I don't use rainbow-delimiters, > > I simply turned it on to double-check my intuition before replying to > > you, and it worked for (..), {..} and [..] in a `latex-mode` buffer). > > >=20 > What version are you using?=C2=A0 Do you know where in the code the check= ing for "{ }" is performed? >=20 > I see=20 >=20 > rainbow-delimiters--propertize=20 >=20 > which only has=20 >=20 > (while (> end (progn (skip-syntax-forward "^()" end) This is the syntax category. You can look that up in the docs. If your buffer has the correct mode, things will work. In your case, the mode should be latex-mode. Please, read the docs. Cheers --=20 t --78XOBSdHzGh5/7Ue Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABECAB0WIQRp53liolZD6iXhAoIFyCz1etHaRgUCYxi1sAAKCRAFyCz1etHa RsvUAJ9fuBlmy1U/GIZ/8SYkEgHnuEjdQQCdGw1wRuMgkEN3Z1WYD4kliPRZyOc= =bTdn -----END PGP SIGNATURE----- --78XOBSdHzGh5/7Ue--