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 api Date: Thu, 31 Mar 2022 16:53:58 -0700 Message-ID: <25927BDE-AE2F-4961-BAD1-58FEB2E1B858@gmail.com> 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> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.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="29563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Yoav Marco , ubolonton@gmail.com, Emacs developers To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 01 01:54:49 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 1na4cq-0007YB-9P for ged-emacs-devel@m.gmane-mx.org; Fri, 01 Apr 2022 01:54:48 +0200 Original-Received: from localhost ([::1]:34526 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1na4cp-0003r0-Bg for ged-emacs-devel@m.gmane-mx.org; Thu, 31 Mar 2022 19:54:47 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:53440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1na4c7-000318-Hz for emacs-devel@gnu.org; Thu, 31 Mar 2022 19:54:03 -0400 Original-Received: from [2607:f8b0:4864:20::1029] (port=37406 helo=mail-pj1-x1029.google.com) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1na4c6-0002LV-8w; Thu, 31 Mar 2022 19:54:03 -0400 Original-Received: by mail-pj1-x1029.google.com with SMTP id g9-20020a17090ace8900b001c7cce3c0aeso3790081pju.2; Thu, 31 Mar 2022 16:54:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=t1QcHCHDIUTNsAPaHaLuRy+lCS4wSh0m0Y19OEI+KYA=; b=j6gBzhdrfUwM97DJWDMJ28ah/JRjV4h08kI6LINvqqemngEsuJ7n2SutXrwpc3B6ld PqEz6K4MN2iN+xQEa5Qh2hH1AQFFteMq1aYsVGA7qr0kk0S8wjET1qwWHqXVEAX4H1fq 7IuEzJzXjU3HvqR+0UER4qt8v09asgQaXCnnQDMTVWpZZIHbve+B/SWwYVok7Hk5Z/oD /PZ7J1MXNxJytOf8kkhyiPq8MthtqoNSw6X2xZ+ekWAjMevuKKI70IfOrQUo53Xc9Pia Tmposvj8j8xIFKGdUC1/N2e1xcKM24Qa9KO0UG/uLmnT9VqzMHFCFZqioBe+B3oTT8gJ Sg1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=t1QcHCHDIUTNsAPaHaLuRy+lCS4wSh0m0Y19OEI+KYA=; b=K5ouAXXLV9suKUaecanP3c/IY0s8tAwRk/RuBMqDLahXeETklKrJesdGU7vup99+4J lQanhTWN634eKYccOi0dg1ulrzzHLr+OC43fqfZlU7h/UQr4pUuq0BrQjOrLIgjOJZqe hqoddFeRlJXTSBfg4O/d0nYD+brZ8ufxAfzZuWJbdLf2XHkOTzGj35RHP4RB8GiGcc8y VLNpx78380XtJ2oSZ5SIEm5K90nRbRpwvNNFfm9NjhWTisHuFHB4hWfnQxydojWOz1UR qhGYrGY119U9JPjERbQoN8YobrY3hhthdKFopRwotbAQOmJtgbu9KOdiA9eCLWu2TC9u nQIQ== X-Gm-Message-State: AOAM531K43OAFYxG2N2RbBqODj1B08LpJhFW1ywkFk0TSwqQuMwTFyBI ZKD3OoTr6sqfJxZ/Ap2KdYAm2/BYj8g= X-Google-Smtp-Source: ABdhPJys+5Jre0xLya+2KVRq0ZHAxPfKrCu75y6ryikeiT9/ytkOyHOr5Sitv0mt30E38E0E/JO6rg== X-Received: by 2002:a17:90b:17c4:b0:1c6:e74b:31d9 with SMTP id me4-20020a17090b17c400b001c6e74b31d9mr8678277pjb.242.1648770840102; Thu, 31 Mar 2022 16:54:00 -0700 (PDT) Original-Received: from smtpclient.apple ([128.54.13.23]) by smtp.gmail.com with ESMTPSA id ds15-20020a17090b08cf00b001c6a4974b45sm10740129pjb.40.2022.03.31.16.53.59 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 Mar 2022 16:53:59 -0700 (PDT) In-Reply-To: <8D3019A6-83EE-42AB-ADFA-7DA6EBB179B3@gmail.com> X-Mailer: Apple Mail (2.3696.80.82.1.1) X-Host-Lookup-Failed: Reverse DNS lookup failed for 2607:f8b0:4864:20::1029 (failed) Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=casouri@gmail.com; helo=mail-pj1-x1029.google.com X-Spam_score_int: -6 X-Spam_score: -0.7 X-Spam_bar: / X-Spam_report: (-0.7 / 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, PDS_HP_HELO_NORDNS=0.659, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_NONE=0.793, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=no 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:287650 Archived-At: > On Mar 31, 2022, at 4:00 PM, Yuan Fu wrote: >=20 >>=20 >> If so, I think we should have our own load-path for these >> libraries; relying on the standard LD_LIBRARY_PATH etc. is not good >> enough (although we should support that as well). I envision that at >> least in some cases users will not want to have these libraries in = the >> public places, or maybe even won't have the requisite access rights = to >> do so. We should provide Emacs-style alternatives, like some >> subdirectory of ~/.emacs.d/ and/or under ${prefix}/lib/ (similar to >> *.eln files). >=20 > Anyone have thoughts on this? >=20 > Yuan Sorry for the duplicate, didn=E2=80=99t mean to repeat myself. Yuan=