all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Huan Nguyen <nguyenthieuhuan@gmail.com>
To: Juri Linkov <juri@linkov.net>
Cc: emacs-devel@gnu.org
Subject: Re: outline-mode treesitter support?
Date: Tue, 19 Dec 2023 19:31:11 +0100	[thread overview]
Message-ID: <8C0E4C36-4323-4E1B-A7A5-25A76CE5716C@gmail.com> (raw)
In-Reply-To: <86r0jit8rn.fsf@mail.linkov.net>



> On Dec 19, 2023, at 18:14, Juri Linkov <juri@linkov.net> wrote:
> 
>> Are there any plans on making outline-mode take tree sitter nodes instead of regex?
> 
> 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
> 
>> Is it possible to add that functionality or would a new mode be necessary.
> 
> 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.

‘outline-search-function’ should be documented in C-h f outline-mode help buffer.


  reply	other threads:[~2023-12-19 18:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-19 11:43 outline-mode treesitter support? Huan Nguyen
2023-12-19 13:00 ` Eli Zaretskii
2023-12-19 13:25   ` Huan Nguyen
2023-12-19 13:42     ` Eli Zaretskii
2023-12-19 17:14 ` Juri Linkov
2023-12-19 18:31   ` Huan Nguyen [this message]
2023-12-20  7:50     ` Juri Linkov
2023-12-20 17:08       ` Juri Linkov
2023-12-21  4:03         ` Huan Nguyen
2024-01-10  7:19           ` Juri Linkov
2024-01-24 17:23             ` Juri Linkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8C0E4C36-4323-4E1B-A7A5-25A76CE5716C@gmail.com \
    --to=nguyenthieuhuan@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=juri@linkov.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.