From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#71562: treesit-install-language-grammar fails to install typescript Date: Thu, 20 Jun 2024 13:28:23 +0300 Message-ID: <954cf804-bdf1-4817-9eae-4591aa5f6b53@gutov.dev> References: <87v82bcrrm.fsf@dod.no> <47399af2-6982-4ce1-ad50-db426624edae@gutov.dev> <86msnmwwbk.fsf@gnu.org> <93d76485-2563-45e3-890d-d5bfc56ff4b7@gutov.dev> <86v829sc18.fsf@gnu.org> <6ac57d91-0aed-4e7d-9022-9697a5a036dd@gutov.dev> <86plscnrhf.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13772"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: casouri@gmail.com, sb@dod.no, 71562@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 12:29:26 2024 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 1sKF2j-0003Ma-GY for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 12:29:25 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKF2K-0007M5-26; Thu, 20 Jun 2024 06:29:00 -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 1sKF2I-0007KJ-QG for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 06:28:58 -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 1sKF2I-0003Oi-Hz for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 06:28:58 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKF2M-0008J4-0d for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 06:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2024 10:29:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71562 X-GNU-PR-Package: emacs Original-Received: via spool by 71562-submit@debbugs.gnu.org id=B71562.171887932031891 (code B ref 71562); Thu, 20 Jun 2024 10:29:01 +0000 Original-Received: (at 71562) by debbugs.gnu.org; 20 Jun 2024 10:28:40 +0000 Original-Received: from localhost ([127.0.0.1]:51684 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKF20-0008II-8s for submit@debbugs.gnu.org; Thu, 20 Jun 2024 06:28:40 -0400 Original-Received: from wfout2-smtp.messagingengine.com ([64.147.123.145]:43349) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKF1x-0008I1-Rb for 71562@debbugs.gnu.org; Thu, 20 Jun 2024 06:28:39 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailfout.west.internal (Postfix) with ESMTP id 2D1FC1C000F2; Thu, 20 Jun 2024 06:28:27 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute2.internal (MEProxy); Thu, 20 Jun 2024 06:28:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; 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:subject:subject:to:to; s=fm3; t=1718879306; x=1718965706; bh=UvJna7u7AXe+v290k5x+CD6F/aM8Jyal6f1MjTUXx3Y=; b= QQuJCD1f5T+WSv1NVpUrRoogY8oiV3hNaqsrKkyYxilGxKk+BSqn+/jJwbJpVQmj Uod8AQTLmUGZeaxQP9Oot9ZSwVKZfWBivsgQK1oysxnLHtaEpzrfr3V+WSW3Mnw/ JznCSwCbHqSGXgXz1hpI/6Dr0JgLPd8HEVpRDaEg0FiNBMCvoc0QXoAKu+heTnNe s3Hf7eTvw9+4OeVRt6tKsLmcefazQJ78DEPETEdGnd6OZrIZZStDuv2pPbx96XwI cs9/lDM7wdmQrQgop2mwEhuGkLYclENekjbZLKTtM7ZrhQWtxjb4sKtTzCW17xi4 8HfvQpvKszpUBt1pjNth9g== 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:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1718879306; x= 1718965706; bh=UvJna7u7AXe+v290k5x+CD6F/aM8Jyal6f1MjTUXx3Y=; b=J TP0CkCv/7047viS6Ao4/VOXi6TeDfhPTOuPLUhK4nJH0LgRYqWYZQholpbfJJjI8 UInVhFN2SWEe2KpIgY33Yuqzzm42UCatCIhV6hko7gYbXvkmR94hlfO7tfi+fApC 87lLlDOGlzRIr1gITZBQEJUtXfVg9Gg1Bx9eRvcrFwXlIT3q7Gu49Zvvx338aTvE DgTI2R1gG58oV9QuA5m12BV3NdmY3C6FOgw69afD8mJVYkRIb9hKOVGgQf8job23 drQUbfJZ3Qgda6vgFo2iAWnNzKF2GAN3mD1k0WLTsx9JzsaM8NWZBCL4U+OUZ5pp bRJpm1Utm8o0e4EE2UMOQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrfeefvddgvdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdejnecuhfhrohhmpeffmhhi thhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdruggvvheqnecuggftrfgrth htvghrnhepteduleejgeehtefgheegjeekueehvdevieekueeftddvtdevfefhvdevgedu jeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomhepug hmihhtrhihsehguhhtohhvrdguvghv X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 20 Jun 2024 06:28:25 -0400 (EDT) Content-Language: en-US In-Reply-To: <86plscnrhf.fsf@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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:287546 Archived-At: On 20/06/2024 07:54, Eli Zaretskii wrote: >> Date: Wed, 19 Jun 2024 22:51:28 +0300 >> Cc:casouri@gmail.com,sb@dod.no,71562@debbugs.gnu.org >> From: Dmitry Gutov >> >> On 16/06/2024 08:16, Eli Zaretskii wrote: >>> I'm saying that we should run the build commands in every subdirectory >>> called 'src' that has parser.c or parser.cc in it. Each shared >>> library thus created should be installed. The name of the library is >>> derived from the parent of the 'src' subdirectory. >> I suppose the downside is when you pass 'tsx' as the language you still >> get nothing. > I don't understand: pass 'tsx' as language to what interface and in > which situation? 1. Bob is a user who wants to edit a tsx file. 2. He tries the tsx-ts-mode and sees the error "TSX grammar not found". 3. He calls 'M-x treesit-install-language-grammar' and inputs 'tsx' as the language.