From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Huan Nguyen Newsgroups: gmane.emacs.devel Subject: Re: outline-mode treesitter support? Date: Tue, 19 Dec 2023 19:31:11 +0100 Message-ID: <8C0E4C36-4323-4E1B-A7A5-25A76CE5716C@gmail.com> References: <1D18C79B-A9D5-4ECD-A95C-33159A28E2CD@gmail.com> <86r0jit8rn.fsf@mail.linkov.net> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.300.61.1.2\)) 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="901"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Juri Linkov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Dec 20 04:27:16 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 1rFnEq-000AaR-CW for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Dec 2023 04:27:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rFnE2-0003Uk-0H; Tue, 19 Dec 2023 22:26:26 -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 1rFesI-0004wx-FB for emacs-devel@gnu.org; Tue, 19 Dec 2023 13:31:26 -0500 Original-Received: from mail-wm1-x334.google.com ([2a00:1450:4864:20::334]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rFesG-0002rx-UN for emacs-devel@gnu.org; Tue, 19 Dec 2023 13:31:26 -0500 Original-Received: by mail-wm1-x334.google.com with SMTP id 5b1f17b1804b1-40c39ef63d9so53436485e9.3 for ; Tue, 19 Dec 2023 10:31:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1703010683; x=1703615483; darn=gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=VcUY2rjVRGc3DahbsMgtZc7xzKE/e4TFb67vuDDvdAw=; b=hnM0bdxerTQPHvYl29IE5A/uuPet9s6VxuBAOzOSXCO+6d9C4Pr519nqVTjQ3cRs9j esHUz2ZgXmpyEeztiOq5abpDz/a7i1+skz5pAic1ITROlv7iJY9+X07hiWyyhwZ2L0CE IsWijD2WBotSbYJ3eRcqqrBWE+a97rldHqOmwB6dVOJU7OVe7lYTqn/W0dkS09IfRQ9P LkHJMSacCVqV1EzlnrpCEaaFbxXTz1gm+fo31bep0HIMF11XqjobvVQUinl28YX+YuWt g6hohgZu0ldzECmD/L7+fzW866mlYujSIfeRaYGO77kqOAAWnOcu5sImjGUL1lrXhC7i 9fQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1703010683; x=1703615483; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=VcUY2rjVRGc3DahbsMgtZc7xzKE/e4TFb67vuDDvdAw=; b=VdaZBOql831suJS6XGSPrXjFf4ornP9FUt8OwajzwDI2ihzBcP7ulNybA+1n0Zh+fO POy6fyr/1sV3ElOOOkv3xFxXQo8ZWd7VmCpayO2W7KKKNzxitUSRKBTjemvRgjC6z03W UP10T4GrZe2d9uBKQJ0mjDtYQx6RBvu4HbJTSGY3I+iUUNRcuiD23JPpgIXDZoH3KNEz lroAVR4RWYQECSTykrBxdkzHfJPFbKcqt0OWCng8ND+b7Z/utiIKJwjvWx2b/61hEgae SG8nSjOKcsGI2subnjxC0Dy1Jz88Hv/dUXc5vDnugbeEGi3WsXpVakIucoBA8I3lepr5 On8Q== X-Gm-Message-State: AOJu0YyXaFPE71X+5GJenhcpSNHMYbF2ZLMC6eZrj4lBxIgm+G6ZiWsm zMUrrF/xAjepqWQIR9V+3M0= X-Google-Smtp-Source: AGHT+IEu7wib5kRByWP+3fckJRV+jqEE6QSV3iktqbxpvfuFRNER6xZEDWnwLgjS0mEpl0EOcHGyKw== X-Received: by 2002:a05:600c:1c13:b0:40d:2a2a:c0f3 with SMTP id j19-20020a05600c1c1300b0040d2a2ac0f3mr632222wms.34.1703010682663; Tue, 19 Dec 2023 10:31:22 -0800 (PST) Original-Received: from smtpclient.apple (client366.amh.kn.studentenwohnheim-bw.de. [141.70.105.112]) by smtp.gmail.com with ESMTPSA id a15-20020a5d508f000000b0033330846e76sm11470572wrt.86.2023.12.19.10.31.21 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 19 Dec 2023 10:31:22 -0800 (PST) In-Reply-To: <86r0jit8rn.fsf@mail.linkov.net> X-Mailer: Apple Mail (2.3774.300.61.1.2) Received-SPF: pass client-ip=2a00:1450:4864:20::334; envelope-from=nguyenthieuhuan@gmail.com; helo=mail-wm1-x334.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, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Tue, 19 Dec 2023 22:26:23 -0500 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:314016 Archived-At: > On Dec 19, 2023, at 18:14, Juri Linkov wrote: >=20 >> Are there any plans on making outline-mode take tree sitter nodes = instead of regex? >=20 > The last time this was discussed a year ago, and still no progress: > https://lists.gnu.org/archive/html/emacs-devel/2022-12/msg01010.html >=20 >> Is it possible to add that functionality or would a new mode be = necessary. >=20 > Yes, now this is possible to do after 'outline-search-function' > was added in Emacs 29. So you can use it to find the next outline = heading > that corresponds to the next tree sitter node. =E2=80=98outline-search-function=E2=80=99 should be documented in C-h f = outline-mode help buffer.=