From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter doc question Date: Sun, 11 Dec 2022 14:03:56 -0800 Message-ID: <1CF30111-BFFE-4928-B40C-347A5EE3FF8B@gmail.com> References: <83y1rgzsk4.fsf@gnu.org> <83h6y3y7bj.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) 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="34002"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?utf-8?Q?Jo=C3=A3o_Paulo_Labegalini_de_Carvalho?= , emacs-devel@gnu.org To: Pedro Andres Aranda Gutierrez Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 11 23:04:54 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 1p4URK-0008hW-39 for ged-emacs-devel@m.gmane-mx.org; Sun, 11 Dec 2022 23:04:54 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p4UQb-0000wl-3o; Sun, 11 Dec 2022 17:04:09 -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 1p4UQZ-0000vf-JW for emacs-devel@gnu.org; Sun, 11 Dec 2022 17:04:07 -0500 Original-Received: from mail-pf1-x433.google.com ([2607:f8b0:4864:20::433]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p4UQX-000108-Uo for emacs-devel@gnu.org; Sun, 11 Dec 2022 17:04:07 -0500 Original-Received: by mail-pf1-x433.google.com with SMTP id t18so7271642pfq.13 for ; Sun, 11 Dec 2022 14:04:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=07EGydMmvL6obyLy5QoaJdwj0PlrMFD1O/2A4igI0yA=; b=GtC0svsFWB6p2QzGXwzQQhgCf6p9W6d5qo6JrWJRSvKbzQVhvr446U0ClgeyAVvo/D MHhJeiwPXy3J5Q5ygtRjYFBOzzjicbLEkRRPGa5OiCrJ+Jvp+mQvBfNGlSBbGi2TiIaa ywBON5p6iFRajLQWD9RGh1x3SiZY33H7IpNR4B053yeek+yBi0R39Yj72wJqt2Him0rQ 8EhVq7UEfIDK0TnGYKEkAWGRjdw157QpzhVCLPrBJaJlvHj28cZjEVFvhYER3ljaWlc8 bMI+BO0UNZodkiUvnicUVurEH4v4Wj2MwczNy3f9G/ZOBdGeTo94ggj1TzJukfwo3LBf C/Zw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=07EGydMmvL6obyLy5QoaJdwj0PlrMFD1O/2A4igI0yA=; b=vBOeH0E4HMXWigWUAnV7k6zamsnMf99msqz5pYjkn+XgqafB1hcN202uKaYdg8SeCN HjygIGxXxVPYCvMuL00zFgCuvCgz+j2U/w0B1z7oN6rvmpw3y8XhNc0GLKHxtY5kp2MQ XmnbZSnn+1yrallrC/0KKZSIoGtJBstDJT0ptxJTZwL7NUt+GLrN1XET2EWcVR5B0LpY 1fOGY0lQ8gCGLBwbcr/aiCaDWWQzvNQC5Dw7BC5sMovG/Iuoh2m03aw6leLq64SWhsCj Hr4FCsPoLOMk4eFHQAhq5hfZ6IK1LQRJdP+l3mQQidL/j6R7KIVcQ7VaQwXWiXY/I9kl Kghw== X-Gm-Message-State: ANoB5pmuSUk99kvxfK7OFhkxLFDYoDQm/RJl4Jg4eUD1w4CS1Hc7O2wP T6gW5q6MkUXIWhB35MgOy0KS+jh9jgw= X-Google-Smtp-Source: AA0mqf5bNDHPvRxPFTFFED8S+jmgO5V8SBJullTWXrVq+9rdjWect4P1GUjyD1Szjo+P0/eQQ72XPA== X-Received: by 2002:a62:18c6:0:b0:575:fdb6:8e55 with SMTP id 189-20020a6218c6000000b00575fdb68e55mr13268510pfy.7.1670796244529; Sun, 11 Dec 2022 14:04:04 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id k1-20020aa79721000000b00574f83c5d51sm4373006pfg.198.2022.12.11.14.04.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 11 Dec 2022 14:04:03 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::433; envelope-from=casouri@gmail.com; helo=mail-pf1-x433.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, 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:301171 Archived-At: > On Dec 11, 2022, at 12:31 AM, Pedro Andres Aranda Gutierrez = wrote: >=20 > Obrigado, Jo=C3=A3o Paulo >=20 > 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=20 > "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=