From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Newsgroups: gmane.emacs.bugs Subject: bug#65470: 29.1.50; js-ts-mode: regex pattern can cause incorrect parenthesis matching Date: Sat, 26 Aug 2023 11:22:39 +0200 Message-ID: References: Mime-Version: 1.0 (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="34274"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 65470@debbugs.gnu.org, Theodor Thornhill , Dmitry Gutov , btuin@mailo.com, Eli Zaretskii , Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= To: Yuan Fu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Aug 26 11:24:26 2023 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 1qZpWq-0008ip-O8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 26 Aug 2023 11:24:26 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qZpWW-0004hm-UU; Sat, 26 Aug 2023 05:24:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qZpWV-0004he-Pb for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 05:24:03 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qZpWV-0001Dt-Hp for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 05:24:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qZpWZ-0000xo-Vw for bug-gnu-emacs@gnu.org; Sat, 26 Aug 2023 05:24:08 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 26 Aug 2023 09:24:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 65470 X-GNU-PR-Package: emacs Original-Received: via spool by 65470-submit@debbugs.gnu.org id=B65470.16930417953096 (code B ref 65470); Sat, 26 Aug 2023 09:24:07 +0000 Original-Received: (at 65470) by debbugs.gnu.org; 26 Aug 2023 09:23:15 +0000 Original-Received: from localhost ([127.0.0.1]:41759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZpVe-0000nB-TA for submit@debbugs.gnu.org; Sat, 26 Aug 2023 05:23:14 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:40261) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qZpVY-0000ke-QU for 65470@debbugs.gnu.org; Sat, 26 Aug 2023 05:23:08 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 1ED635C0371; Sat, 26 Aug 2023 05:22:54 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute2.internal (MEProxy); Sat, 26 Aug 2023 05:22:54 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= secure.kjonigsen.net; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1693041774; x=1693128174; bh=Sh x9VMjP3wwlaBBs1kHg/Fltb0q3Hide52InLrPqCmk=; b=u+X1+i6WA6/67vNBzO BhGjeYfS0pGmPp1FJXGI9ytQoipDl/8bJwdWF75Os3fR3W2zD+XHLVSATvEA6eXI LMBt1mao464VkPSR2UXYrXQKl9ADngPEml4SVgw/Q6LCndrZgvjAAsedBNxrnlY/ 1weLTE5ngOc9UKdcczhMs1rDm6LJuHorjnpFCHuqOlqv00VTCr/8NGlwjNyUzGxh pBKr+HzSKVGtsSnGmfR9IwVQJKlwwfnB23E2bcQLThGVAt8LzAxXYRhrNBHxQlOD rLPcNiIOwNnUGsoBm2eYsxnogvupPomPTIfnilgG16s4Av9WssuTKrSpn4ZC71lc qwzA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:sender:subject:subject:to:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t= 1693041774; x=1693128174; bh=Shx9VMjP3wwlaBBs1kHg/Fltb0q3Hide52I nLrPqCmk=; b=kMJqqQ8w3jpQOEVk/b3qcaAlW3xsZ+aXqMh+CLK0MNRO1mm/fY8 7epnnFv1j//H44S8dr5VDHDfGZ1hDg21vM0vHFtp8tKIWTJRF7JRp7/msxq41O3Q qDlylAh2BZ6uOtRlBP8+53zGBCcVOcIsjYXl4DU1CENCa5bGT383yXmvn4PvjoY2 F4IpjkB3BW39KCbCE913u+WgE2ANatsgfSx5XGGD+nzSI/eyLv7QN5DbfYZmTBdh xGiA8fCuAiBAsoxyuQYHdB0p2lJpL+qZf3NcrvusCzGSugZqEc5CwLhPTc5FPjKM 8Nk8sJJuNw01B/BHhkxMh0E1NnA/d4TXPiA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedviedrudeftddgudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurheptgfghfggufffkfhfvegjvffosehtqhhmtdhhtdejnecuhfhrohhmpeflohhs thgvihhnucfmjhppnhhighhsvghnuceojhhoshhtvghinhesshgvtghurhgvrdhkjhhonh highhsvghnrdhnvghtqeenucggtffrrghtthgvrhhnpedviedtfeduteevgefhgeeffffh ueeltdetveehkeekudfhjeeihfevffefudegtdenucevlhhushhtvghrufhiiigvpedtne curfgrrhgrmhepmhgrihhlfhhrohhmpehjohhsthgvihhnsehsvggtuhhrvgdrkhhjohhn ihhgshgvnhdrnhgvth X-ME-Proxy: Feedback-ID: ib2f84088:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sat, 26 Aug 2023 05:22:53 -0400 (EDT) In-Reply-To: X-Mailer: iPhone Mail (20G75) 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:268495 Archived-At: > On 25 Aug 2023, at 20:28, Yuan Fu wrote: >=20 > =EF=BB=BF >=20 >>> On Aug 24, 2023, at 11:59 PM, Jostein Kj=C3=B8nigsen wrote: >>>=20 >>>=20 >>>=20 >>>> On 24 Aug 2023, at 21:47, Theodor Thornhill wrote: >>>=20 >>> Eli Zaretskii writes: >>>=20 >>>>=20 >>>> Would someone please add syntax-propertize-function in modes that need >>>> it? I think this should be done on the emacs-29 branch. >>>>=20 >>>> TIA >>>=20 >>> I'll add it to my list, but if someone will grab it that's fine, as I'm >>> a little short on time the next couple of weeks :-( >>>=20 >>> Theo >>=20 >> I=E2=80=99ve just been forced over to a Mac at work, and I can=E2=80=99t (= yet) for the life of me figure out how to build Emacs from source on this pl= atform. It seems Emacs is not picking up libraries I=E2=80=99ve installed us= ing homebrew? >>=20 >> If anyone can help me get past this roadblock, I might be able to get a p= atch going. (It=E2=80=99s a ARM-based Mac, if that matters.) >=20 > It=E2=80=99s been quite a while since I needed to setup this, so I don=E2=80= =99t quite remember. But setting LD_LIBRARY_PATH (Homebrew=E2=80=99s path) a= nd PKG_CONFIG_PATH (/usr/local/lib/pkgconfig) should help the build process a= nd Emacs find the libraries. >=20 > Yuan I figured it out in the end. For anyone suffering a similar problem: I had all packages I needed installed, but not pkg-config, leading configure= not being able to locate any of them.=20 Installing pkg-config too and running =E2=80=9Cmake bootstrap=E2=80=9D got m= e a working build.=20 With that out of the way, I=E2=80=99ll see if I can come up with some patche= s for the typescript ts-modes sometime the next week.=20 =E2=80=94 Jostein=