From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.devel Subject: Re: Turing on tree-sitter Date: Mon, 10 Oct 2022 08:59:09 +0200 Message-ID: <87edvgp3k2.fsf@gnus.org> References: <83czb1jrm3.fsf@gnu.org> <87v8ot2nfi.fsf@posteo.net> <837d19jfia.fsf@gnu.org> <83edvgi3mx.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18142"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: philipk@posteo.net, emacs-devel@gnu.org, casouri@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 10 09:05:13 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 1ohmqe-0004So-TX for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 09:05:12 +0200 Original-Received: from localhost ([::1]:56118 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohmqd-0004gF-A3 for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 03:05:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48322) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohmkz-0001a8-SR for emacs-devel@gnu.org; Mon, 10 Oct 2022 02:59:21 -0400 Original-Received: from quimby.gnus.org ([2a01:4f9:2b:f0f::2]:41836) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohmku-0004pK-WD; Mon, 10 Oct 2022 02:59:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=gkM34/Ertt2pfhN9Z590s734C1F/FJOX7T+AxbShwNc=; b=AKSPxH8tYA0i/Ebx2PGWNrLFNi 6t0Cs6LeKr2qpmoBctYM0kosHxJKH61JGXIwe0LdrZtMg8NHBQPQQPIEz0zl7XhCbdF1fGcsy+jgH ju1E7uQixUrVl57MDtHbAVtb5sgs2O69pE1WOSRpJ2pGwAj+p+8wG/MXUGpBUybddQKU=; Original-Received: from [84.212.220.105] (helo=downe) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1ohmko-0005n7-I0; Mon, 10 Oct 2022 08:59:13 +0200 In-Reply-To: <83edvgi3mx.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 10 Oct 2022 09:39:18 +0300") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAGFBMVEX+/f2xp6laUFFs d5zb19IhGhqyJ0D///9l0GWAAAAAAWJLR0QHFmGI6wAAAAd0SU1FB+YKCgY5NAJ5r0cAAAG6SURB VDjLzVPBkqMgEMWN5Tkg5rw2MucF4l0Sy7tYvWdTcfj/T9h2nKiZyV63totTPx6v3wMY+y8qAWV4 s++kXtJiP5CqfwJkyjmXNWJwwBueHpPjckb0kYr2BwDwt248jQsljtR/x74OYNVpjDIuDNZNXZxq XQnUEE4yZvFTJIvZLdHmLDQCDtnUTQ/1KKccw9lqYuDbFMfHXHGSph5yBUjqv3lc3XR36fQgrKax EEVcnWR357CygvYHDHraLN6ts8bashSA6rRKsCSvFTiurqocEN6OK3DJNQHWCJj1jVwBYSyZdmaA oFGpLWJrrsoZYXKHNNiOYY03V8fBCqRUyg1wXOZO11h+OCm3o3gqL5piB9Q9Od2uyqQ49+lCdHB6 J962uPRLCgvL3e22n4SOmDpsjJSJj35fDDm0enPeNsLNwPBeybY5/NoYrQ/KIqho2qY9bIzUGwuU bN1zmSZP4l56pKD61jeF3AGJ9DxiQDx7uScwBpyfokXksjg/AcUg54kDl/D0rtkBYfGoqy+f4BKW VJB9rTkVWuEbwFL97YM8Zp6Bny8AViBWr/osu7HXlYx/AdiR/dv6A30Gbccv7CoYAAAAJXRFWHRk YXRlOmNyZWF0ZQAyMDIyLTEwLTEwVDA2OjU3OjUyKzAwOjAwLBwo3AAAACV0RVh0ZGF0ZTptb2Rp ZnkAMjAyMi0xMC0xMFQwNjo1Nzo1MiswMDowMF1BkGAAAAAASUVORK5CYII= X-Now-Playing: Floorplan's _Victorious_: "Spin" Received-SPF: pass client-ip=2a01:4f9:2b:f0f::2; envelope-from=larsi@gnus.org; helo=quimby.gnus.org X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 5.0 requ) BAYES_00=-1.9, DKIM_INVALID=0.1, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, 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:297322 Archived-At: Eli Zaretskii writes: > But we could also have a global "turn on tree-sitter support in every > mode that has it" option, which will turn this on for those modes > which can be supported by tree-sitter, if the appropriate > language-support library is installed. Yes, a user option that's a (derived-)mode predicate would be nice for this.