From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: outline-mode treesitter support? Date: Tue, 19 Dec 2023 15:00:08 +0200 Message-ID: <83edfiibzb.fsf@gnu.org> References: <1D18C79B-A9D5-4ECD-A95C-33159A28E2CD@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7388"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Huan Nguyen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Dec 19 14:02:14 2023 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 1rFZjh-0001iK-Dt for ged-emacs-devel@m.gmane-mx.org; Tue, 19 Dec 2023 14:02:13 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFZie-0001V5-3r; Tue, 19 Dec 2023 08:01:08 -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 1rFZib-0001UH-BR for emacs-devel@gnu.org; Tue, 19 Dec 2023 08:01:05 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rFZiO-00008y-Ca; Tue, 19 Dec 2023 08:01:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=l9sda3nWCYIof2feKIfJbQytDGcSJXXdWmBovUXirV0=; b=ZrPHs5UeAbvE W6cCHEhl21O4dPJxEeVoK6gjoMTuWa9RxGUNiMmthLNBdC5mjZ/LCAs8QLJrRWESRl9xWoSJ5XTYM qaYGc8bSHsZektvMV5zCVNC7taWNOo/auTkknid3cMr9iu8IUGBa57cNXbLlgXITzck+Chfw3rh2o L2eHlOTJfPIlJ1OQKw/O0VX5e8Uo5v1MR3565UUXPTHc/TliN08qUmV08VMYKLBrvlfIHb6kcsGuZ e5yAQV3c+lg+hiRwLcxtohModNmAbxJYjV7WAwolrU0IfsCq/gqSydxIOA7XOSVThyvVKYO46XEZe 7gNUQy4WWKbEis/tKTQwQw==; In-Reply-To: <1D18C79B-A9D5-4ECD-A95C-33159A28E2CD@gmail.com> (message from Huan Nguyen on Tue, 19 Dec 2023 12:43:40 +0100) 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:314004 Archived-At: > From: Huan Nguyen > Date: Tue, 19 Dec 2023 12:43:40 +0100 > > Are there any plans on making outline-mode take tree sitter nodes instead of regex? Is there a tree-sitter grammar available somewhere for Outline mode? > Is it possible to add that functionality or would a new mode be necessary. It depends on how well the existing mode's features map into a tree-sitter based one.