From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Pedro Andres Aranda Gutierrez Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter doc question Date: Mon, 12 Dec 2022 09:57:05 +0100 Message-ID: References: <83y1rgzsk4.fsf@gnu.org> <83h6y3y7bj.fsf@gnu.org> <1CF30111-BFFE-4928-B40C-347A5EE3FF8B@gmail.com> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000997bb205ef9db192" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24809"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?UTF-8?Q?Jo=C3=A3o_Paulo_Labegalini_de_Carvalho?= , emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 12 09:58:08 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 1p4edU-0006FX-Qh for ged-emacs-devel@m.gmane-mx.org; Mon, 12 Dec 2022 09:58:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4ed0-0003SL-2h; Mon, 12 Dec 2022 03:57:38 -0500 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 1p4ecx-0003QW-54 for emacs-devel@gnu.org; Mon, 12 Dec 2022 03:57:35 -0500 Original-Received: from mail-ot1-x335.google.com ([2607:f8b0:4864:20::335]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4ecv-0004bV-Fp for emacs-devel@gnu.org; Mon, 12 Dec 2022 03:57:34 -0500 Original-Received: by mail-ot1-x335.google.com with SMTP id x44-20020a05683040ac00b006707c74330eso4707718ott.10 for ; Mon, 12 Dec 2022 00:57:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=5ppCgddCqTFNKFfoEKIgjvoNpAYEm/ka4i5V1SGF3RY=; b=n3wjPsuJ12GyF8l3jTw5hQnexiVrkDUmLITliZl8k7mtFIadw6shI3VGO2u4AiuYam 15t2ojEg5iGOQbkJ4Qwa3bir97HPaok2FlhDHiK1dEpyYF1HViP2g/LkvrpfW/IGw9pu ZK8CwwkiaN0tHSO8dIISZahUeZ4EjA0CdAzmjTj+O4Q6/z0oTM7iD2kv7CYBb1r+Tt5T k/dE7Lh8Xhap7THSAL2ttqx+MKAacYa6n6iWyoZ8BvwUawl+MU0Vv794m7218z5drtxp QkeRIDkhD5GdMlS5K1rg1eJ1jMpiitRvRglzfNuPzYDfjcE57i0nLyxW8314fg6xDgQe m0kA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=5ppCgddCqTFNKFfoEKIgjvoNpAYEm/ka4i5V1SGF3RY=; b=Ixb6kGg7SfFpeIXiykGictuWpXF1F6GhwLnek8sE7fuknA0MLy/ff9u17J75KiN2IN 77YiR7neJCAX1QX85cpxxkpYFWw3HaZwpFAebzsJ8T7F3ZWMHXA1rq5JIrWQUhQlK1mb LFwxVsw9elMuETUoTEf/5jg/iYZVLmognvNvmLQv+0zxBAZ9Wo9tkV6bl6qFqFzPeY6n zK68LrSVJaiy09/q11nWfWDCJ5gMEmoFRptKTPt0RENIFUmyUrTtWQcObkQrldE39vwe InVjrHfD2ADCr2CgmF+xejoAAQuITDvr2WE3eqQ+oQhSS6Zttja5PYP5yUjDPgpZMZDD Q6/A== X-Gm-Message-State: ANoB5pnkBdsMhff62KqwHFhKcWIgSvctbvDz2NkqBd5xNflFHM2LdYJB Lqzmt4xi5i+wDxIjiF8xvOsVoVGbSpj27lyDNTw= X-Google-Smtp-Source: AA0mqf6ET7Xk9BttxEfxpTJOW8rcbvdSRUrkoR33hPr2BS5a4CiiwulWwqAj5lq1ozBwtM0lIVeHvh4+A8ZZrGfLTg4= X-Received: by 2002:a9d:6247:0:b0:66c:cfb8:a32e with SMTP id i7-20020a9d6247000000b0066ccfb8a32emr37544950otk.184.1670835452081; Mon, 12 Dec 2022 00:57:32 -0800 (PST) In-Reply-To: <1CF30111-BFFE-4928-B40C-347A5EE3FF8B@gmail.com> Received-SPF: pass client-ip=2607:f8b0:4864:20::335; envelope-from=paaguti@gmail.com; helo=mail-ot1-x335.google.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, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301197 Archived-At: --000000000000997bb205ef9db192 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable THANKSSSS !!! It is a bit hidden, though ;-) A bit of a highlight may not hurt for too-quick readers like me... /PA On Sun, 11 Dec 2022 at 23:04, Yuan Fu wrote: > > > > On Dec 11, 2022, at 12:31 AM, Pedro Andres Aranda Gutierrez < > paaguti@gmail.com> wrote: > > > > Obrigado, Jo=C3=A3o Paulo > > > > That's done :-) I now have an Emacs with tree-sitter and I have gone to > the admin/... directory to compile the language support .so. > > Maybe the final step in that documentation would be to say a word on > where to place those files when testing and how to > > "politely encourage" Emacs to load and use them ;-) > > admin/notes/tree-sitter/starter-guide has this: > > and language definitions will be in the /dist directory. You can > either copy them to standard dynamic library locations of your system, > eg, /usr/local/lib, or leave them in /dist and later tell Emacs where > to find language definitions by setting =E2=80=98treesit-extra-load-path= =E2=80=99. > > So I think we are covered :-) > > Yuan --=20 Fragen sind nicht da um beantwortet zu werden, Fragen sind da um gestellt zu werden Georg Kreisler Headaches with a Juju log: unit-basic-16: 09:17:36 WARNING juju.worker.uniter.operation we should run a leader-deposed hook here, but we can't yet --000000000000997bb205ef9db192 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
THANKSSSS !!!=C2=A0
It is a bit hidden, though ;-) A b= it of a highlight may not hurt for too-quick readers like me...
<= br>
/PA

On Sun, 11 Dec 2022 at 23:04, Yuan Fu <casouri@gmail.com> wrote:


> On Dec 11, 2022, at 12:31 AM, Pedro Andres Aranda Gutierrez <paaguti@gmail.com> = wrote:
>
> Obrigado, Jo=C3=A3o Paulo
>
> That's done :-) I now have an Emacs with tree-sitter and I have go= ne to the admin/... directory to compile the language support .so.
> Maybe the final step in that documentation would be to say a word on w= here to place those files when testing and how to
> "politely encourage" Emacs to load and use them ;-)

admin/notes/tree-sitter/starter-guide has this:

and language definitions will be in the /dist directory. You can
either copy them to standard dynamic library locations of your system,
eg, /usr/local/lib, or leave them in /dist and later tell Emacs where
to find language definitions by setting =E2=80=98treesit-extra-load-path=E2= =80=99.

So I think we are covered :-)

Yuan


--
=
Fragen sind nicht da um beantwortet zu werden,
Fragen sind da= um gestellt zu werden
Georg Kreisler

Hea= daches with a Juju log:
unit-basic-16: 09:17:36 WARNING juju.work= er.uniter.operation we should run a leader-deposed hook here, but we can= 9;t yet

--000000000000997bb205ef9db192--