From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: Average-user-facing interface for tree-sitter Date: Thu, 13 Oct 2022 11:18:23 +0200 Message-ID: <87pmewytcw.fsf@gmail.com> References: <3A7E7CD1-74A7-4352-9DFE-FC982EAA398E@gmail.com> <87ilko9r9e.fsf@gnus.org> 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="35191"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , emacs-devel To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 11:24:30 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 1oiuS6-0008yg-0M for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 11:24:30 +0200 Original-Received: from localhost ([::1]:40624 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiuS4-00021u-GH for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 05:24:28 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34038) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiuMK-0007OC-VB for emacs-devel@gnu.org; Thu, 13 Oct 2022 05:18:33 -0400 Original-Received: from mail-wr1-x436.google.com ([2a00:1450:4864:20::436]:46808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiuMH-0003sE-Uo for emacs-devel@gnu.org; Thu, 13 Oct 2022 05:18:32 -0400 Original-Received: by mail-wr1-x436.google.com with SMTP id bk15so1798419wrb.13 for ; Thu, 13 Oct 2022 02:18:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from:from :to:cc:subject:date:message-id:reply-to; bh=C+ScIhPG9E2AZNMy4NIw8JWSxNJomKcCaUzBNJ47+bY=; b=EOTUwOoJPPTfkfrZeWGITgtKNKRMkGwrTw4GneUbG5seXGpu/sibG5JabstzRmFUCe jrRJlGXlOfWi8nTwcrh/rjfuS5dlFTP//OQQtOpu8cpiZfo0H6403E12RZLEBp0jx60I QMjG0CB+KGuPY9hrzUyMWVmvJ4pf6gXvCblyMM8qhPrcDaw1l3Ruw/00w3ojhufTTgDa r4Ficat2w0q0SyI2GM0rHADNa2tVZGGCStSPCgqRujMUZQC7p9tc6dbK11NqAespSpR1 JwzO4N1SHMc7UmBZfU3COmoae9Atjl5BOuYZRh0rjYLdFZXnpjhnXJ/i1+oxH78sC4JG udnA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date :gmane-reply-to-list:references:in-reply-to:subject:cc:to:from :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=C+ScIhPG9E2AZNMy4NIw8JWSxNJomKcCaUzBNJ47+bY=; b=DcgGqbmvm2OVXUFaEOMeIXGDiwz6GLLDw69PZImKoPtnh33T18aGyKF0uXAm08t9Tz FbLUhUCCQFgEWFKwKtwFIrKj5y9wc/de1TUU7KWCfZ9xK0KEI4zu1pZFKhxSK02hOCkF yGh6wBmPfvs57+6O0PkIFUZnlOn2OB+/JhvWSXe82bud9VSq4A+CZ3KbBiXM+v1Dnntg Zf1GEgN2B6OOSqySOZwZkQ6ySicbVzPiKAeWQ+rtl4I/8CN7416hhxwuZbFpTYFmHMER 7CctAQGvI3/SEbIq7onK+z2zyX+WCLMosutfFemRiwo2jN9Ume/tHHd5xS6F7sFr1roG IKSg== X-Gm-Message-State: ACrzQf2IS/zdIISm6+oJPjPh882GxsrGrzpEwDAE6V+hiu/mWfr3pKk6 FKb1yIWG1vMcGgenLLj7P+TFiXDSiTg= X-Google-Smtp-Source: AMsMyM49so4lod4fkAPnxJl2pMUSGczqpuBgpJudIs+vfzYhXlWyc4SdFBiEna1oAda8XA760e3wcA== X-Received: by 2002:a05:6000:15c5:b0:22e:44c5:4973 with SMTP id y5-20020a05600015c500b0022e44c54973mr21392108wry.513.1665652705591; Thu, 13 Oct 2022 02:18:25 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id b8-20020a056000054800b0022ae401e9e0sm1553538wrf.78.2022.10.13.02.18.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 02:18:24 -0700 (PDT) In-Reply-To: <87ilko9r9e.fsf@gnus.org> (Lars Ingebrigtsen's message of "Thu, 13 Oct 2022 08:22:53 +0200") Gmane-Reply-To-List: yes Received-SPF: pass client-ip=2a00:1450:4864:20::436; envelope-from=rpluim@gmail.com; helo=mail-wr1-x436.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" Xref: news.gmane.io gmane.emacs.devel:297661 Archived-At: >>>>> On Thu, 13 Oct 2022 08:22:53 +0200, Lars Ingebrigtsen said: Lars> I think users basically fall into two camps: The ones that want t= o have Lars> tree-sitter in all modes, and ones that want to enable it in spec= ific Lars> modes (and ones that don't want it at all). (Note Computer Lars> Science-mandated off-by-one error.) off-by-two: there=CA=BCs also the "I want syntax highlighting and indentation to work out of the box, don=CA=BCt bother me with implementation details" camp, which kind of implies that we should turn on tree-sitter by default if it=CA=BCs available. Robert --=20