From: Michael Albinus <michael.albinus@gmx.de>
To: emacs-devel@gnu.org
Cc: Yuan Fu <casouri@gmail.com>
Subject: Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
Date: Mon, 08 Apr 2024 09:28:49 +0200 [thread overview]
Message-ID: <8734rw48jy.fsf@gmx.de> (raw)
In-Reply-To: <20240408062554.D8DBCC12C36@vcs2.savannah.gnu.org> (Yuan Fu's message of "Mon, 8 Apr 2024 02:25:54 -0400 (EDT)")
Yuan Fu <casouri@gmail.com> writes:
Hi,
> diff --git a/etc/NEWS b/etc/NEWS
> index d4bba66e4aa..b2543ae77d9 100644
> --- a/etc/NEWS
> +++ b/etc/NEWS
> @@ -2380,6 +2380,35 @@ objects is still necessary.
> ** The JSON encoder and decoder now accept arbitarily large integers.
> Previously, they were limited to the range of signed 64-bit integers.
>
> +** New tree-sitter functions and variables for defining and using "things"
> +
> ++++
> +*** New variable 'treesit-thing-settings'.
> +
> +New variable that allows users to define "things" like 'defun', 'text',
> +'sexp', for navigation commands and tree-traversal functions.
> +
> ++++
> +*** New navigation functions 'treesit-thing-prev', 'treesit-thing-next', 'treesit-navigate-thing', 'treesit-beginning-of-thing', 'treesit-end-of-thing'.
> +
> ++++
> +*** New functions 'treesit-thing-at', 'treesit-thing-at-point'.
> +
> ++++
> +*** Tree-tarversing functions 'treesit-search-subtree', 'treesit-search-forward', 'treesit-search-forward-goto', 'treesit-induce-sparse-tree' now accepts more kinds of predicates.
> +
> +Now users can use thing symbols (defined in 'treesit-thing-settings'),
> +and any thing definitions for the predicate argument.
> +
> +** Other tree-sitter function and variable changes
> +
> ++++
> +*** 'treesit-parser-list' now takes additional optional arguments, LANGUAGE and TAG.
> +
> +If LANGUAGE is given, only return parsers for that language. If TAG is
> +given, only return parsers with that tag. Note that passing nil as tag
> +doesn't mean return all parsers, but rather "all parsers with no tags".
> +
> \f
> * Changes in Emacs 30.1 on Non-Free Operating Systems
>
Could you please adjust this to the etc/NEWS convention max line length 80?
Best regards, Michael.
next parent reply other threads:[~2024-04-08 7:28 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <171255755397.7956.2465854118422015894@vcs2.savannah.gnu.org>
[not found] ` <20240408062554.D8DBCC12C36@vcs2.savannah.gnu.org>
2024-04-08 7:28 ` Michael Albinus [this message]
2024-04-12 8:46 ` master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824) Basil L. Contovounesios
2024-04-13 9:12 ` Eli Zaretskii
2024-04-14 23:40 ` Yuan Fu
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=8734rw48jy.fsf@gmx.de \
--to=michael.albinus@gmx.de \
--cc=casouri@gmail.com \
--cc=emacs-devel@gnu.org \
/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.