From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Wed, 20 Apr 2022 22:14:37 +0200 Message-ID: <87y1zzseaa.fsf@thornhill.no> References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> <83wnjmiork.fsf@gnu.org> <6D1CD758-2C6F-4843-9739-F2A5D5591648@gmail.com> <67183EAB-5D98-4211-B71B-4618D6266A15@gmail.com> <83lews90ft.fsf@gnu.org> <8D3019A6-83EE-42AB-ADFA-7DA6EBB179B3@gmail.com> <83r16h5npi.fsf@gnu.org> <83v8vs4rd9.fsf@gnu.org> <983C9314-B31C-4785-B075-892CDD883DA2@gmail.com> <877d858fj5.fsf@gmail.com> <5D490FCF-7727-44EE-A153-A95C5F572FC4@gmail.com> 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="3455"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Emacs developers , Lars Ingebrigtsen To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Apr 20 22:18:52 2022 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 1nhGmo-0000Zc-Ot for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Apr 2022 22:18:51 +0200 Original-Received: from localhost ([::1]:54878 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhGmn-0004Y9-IC for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Apr 2022 16:18:49 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhGir-0005Hx-WC for emacs-devel@gnu.org; Wed, 20 Apr 2022 16:14:46 -0400 Original-Received: from out1.migadu.com ([2001:41d0:2:863f::]:62768) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhGiq-0004Je-5F; Wed, 20 Apr 2022 16:14:45 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1650485679; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rbXnncoG0nBNPkqOZEPK8H8i61COo/N0oMC/im2FBW4=; b=O4n7k2kk/9s7XIwwcNA6Sh/bcIKVXCkNpT/dtsawqeMQ2CpUzQJrrtHf23k0nBG+9PIjo8 zxh4TFyP9dXtB2ANRhrfPpcsKAGvKRiXWxuJwKoXjF1uBYIQJgAskmwdJfA2l+IXdvyFQb sNMraHjB6iDd/GK4q6sCG+yTLdH8dovwz6bbD5Z2QTxPnMmS8O6tDNJtyZPjoADTp4W6NJ t6cA5BSZh7j20rsMpE9j92m955/RWXhC2/CpgpLqdQBL3z6xCH9+DXMccb6wJdaBmIikkg z0Zi/UAMle8ME0YzmCiDCCNJ08OCQZuh+l6IRgW/w6bm7q2fEzG691YCmVCmpg== In-Reply-To: <5D490FCF-7727-44EE-A153-A95C5F572FC4@gmail.com> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: thornhill.no Received-SPF: pass client-ip=2001:41d0:2:863f::; envelope-from=theo@thornhill.no; helo=out1.migadu.com 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: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:288726 Archived-At: >> On Apr 4, 2022, at 12:38 AM, Robert Pluim wrote: >>=20 >>>>>>> On Fri, 1 Apr 2022 23:26:25 -0700, Yuan Fu said: >> Yuan> Ah, I thought you are inviting for suggestions. I=E2=80=99ll use >> Yuan> ~/.emacs.d/tree-sitter and ${prefix}/lib and use >>=20 >> You should use `locate-user-emacs-file' rather than hard-coding >> "~/.emacs.d=E2=80=9D > > Thanks. I=E2=80=99ll make sure to use that. Sorry for losing track of the rather long email correspondence about this package and possibly missing out on some details. Is there anything I can do to help furthering this feature? I'm starting work on tree sitter integration for typescript these days, but I'd rather like to support the emacs proper version. Let me know if there is something I can do to help! All the best, Theodor