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:42:07 +0200 Message-ID: <87lepkys9c.fsf@gmail.com> References: <3A7E7CD1-74A7-4352-9DFE-FC982EAA398E@gmail.com> <87ilko9r9e.fsf@gnus.org> <87pmewytcw.fsf@gmail.com> <87k054cbm6.fsf@yahoo.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="8490"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Lars Ingebrigtsen , Yuan Fu , emacs-devel To: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 13 12:16:06 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 1oivG1-00022y-BW for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 12:16:05 +0200 Original-Received: from localhost ([::1]:54644 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oivG0-0007hR-3w for ged-emacs-devel@m.gmane-mx.org; Thu, 13 Oct 2022 06:16:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiujF-0007bc-1l for emacs-devel@gnu.org; Thu, 13 Oct 2022 05:42:13 -0400 Original-Received: from mail-wr1-x434.google.com ([2a00:1450:4864:20::434]:41498) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oiujD-0007hY-AL for emacs-devel@gnu.org; Thu, 13 Oct 2022 05:42:12 -0400 Original-Received: by mail-wr1-x434.google.com with SMTP id bu30so1917692wrb.8 for ; Thu, 13 Oct 2022 02:42:10 -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:references :in-reply-to:subject:cc:to:from:from:to:cc:subject:date:message-id :reply-to; bh=W+uVCl07WNqxbnnpJIKZKiF1XK8v+FflKp3atp4Ba6M=; b=lSGVDD1L9Qw7J/xy/yuYom4eyAetSsrh3xzclfTiiP0ZnATaP55Ov7RlPynKfrmgd3 op2Eqs/0WPeelN4Jz91JVvdB/15mYRWnPxettaMTa41vhmdz6Kv2qx4HU/7Jwh7qxplS eMUsh/e87CAAFUkSn2v/zzEog+avqlTffojIZRR6TvQXAxxeI7ne2AhopMx4wmdR0ra0 +++WPDz9L1Ib7rbfa3XdiFz2Zl8wNk35qUktdBAqUcvvcnfxo3tbdYcEo5Qw+ZOT1qm7 5f2i80thwV9qK3fh9ediHt9XCFmz/rVLYFfyhP3BYSQX4NW3qWJJV/G6hPCfh4R7XMWx 94tQ== 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:references :in-reply-to:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=W+uVCl07WNqxbnnpJIKZKiF1XK8v+FflKp3atp4Ba6M=; b=KlO2M0W8POR2o7wsH5q/uxxLo4OlzHDuOKu7biAWtCLj1M5cFmvlbltjLoR0613BQk e04iH03QD5l6ZdJBkLRXogT16jkPRQfn5WjxVJxfjvAqMenFvkR5ocBHD/odXDoGgj0k gc1YFo9BU1ZvAW60M81rM1ZqH8UCRPQxPXl+EP72LGbjkr249l2d8S2guiKpZ27hTznM LyOzid7OWaGIF9xZbBgjq9xAm/JXkiokUTNRSaeN8eOTgucSXH1l+4XisavU6wO9uMtn uOx8694M2Epy91O1Ic6gQJesl60BpCjAvmLw0NTTV366daoXIFsh4llP0MmpHmAmfD21 n4vw== X-Gm-Message-State: ACrzQf0VFXmcaRl/qxyOZDvkfb8KeZX+3oNMTnxX46csWRQ7gbMKSiqP I3BgQ6tG5lqHj7j7qnNYLzhQbjdGWPg= X-Google-Smtp-Source: AMsMyM4l7mFCf/l5WNzl+UR4y+XWNvRHLdFcHIj7awfgg63lHNFwl9Z/Eu7UyODK/ZhAymGzy5yUcg== X-Received: by 2002:adf:ee84:0:b0:22c:d1fd:71d4 with SMTP id b4-20020adfee84000000b0022cd1fd71d4mr21034737wro.350.1665654128713; Thu, 13 Oct 2022 02:42:08 -0700 (PDT) Original-Received: from rltb ([82.66.8.55]) by smtp.gmail.com with ESMTPSA id bo19-20020a056000069300b0022cd27bc8c1sm2156518wrb.9.2022.10.13.02.42.07 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 Oct 2022 02:42:07 -0700 (PDT) In-Reply-To: <87k054cbm6.fsf@yahoo.com> (Po Lu's message of "Thu, 13 Oct 2022 17:32:33 +0800") Received-SPF: pass client-ip=2a00:1450:4864:20::434; envelope-from=rpluim@gmail.com; helo=mail-wr1-x434.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:297667 Archived-At: >>>>> On Thu, 13 Oct 2022 17:32:33 +0800, Po Lu said: Po Lu> Robert Pluim writes: >> 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. Po Lu> That's camp 1. How can they know the want tree-sitter everywhere if they don=CA=BCt want to be bothered with how syntax highlighting and indentation are achieved? Anyway, the taxonomy of potential tree-sitter users is not important Po Lu> I fall somewhere in between. My hope is that Emacs and major mo= des will Po Lu> still support being run without tree-sitter. I think that will be true, but suspect the non-tree-sitter experience will not keep up. Robert --=20