From: Yuan Fu <casouri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: Michael Albinus <michael.albinus@gmx.de>, emacs-devel@gnu.org
Subject: Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
Date: Sun, 14 Apr 2024 16:40:03 -0700 [thread overview]
Message-ID: <98FB25FF-0112-4637-B57B-A36D02793E79@gmail.com> (raw)
In-Reply-To: <861q79r5h3.fsf@gnu.org>
> On Apr 13, 2024, at 2:12 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> From: Michael Albinus <michael.albinus@gmx.de>
>> Cc: Yuan Fu <casouri@gmail.com>
>> Date: Mon, 08 Apr 2024 09:28:49 +0200
>>
>> 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".
>>> +
>>>
>>> * Changes in Emacs 30.1 on Non-Free Operating Systems
>>>
>>
>> Could you please adjust this to the etc/NEWS convention max line length 80?
>
> I believe I did that today.
Thanks to you both, Eli and Michael.
Yuan
prev parent reply other threads:[~2024-04-14 23:40 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 ` master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824) Michael Albinus
2024-04-12 8:46 ` Basil L. Contovounesios
2024-04-13 9:12 ` Eli Zaretskii
2024-04-14 23:40 ` Yuan Fu [this message]
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=98FB25FF-0112-4637-B57B-A36D02793E79@gmail.com \
--to=casouri@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=michael.albinus@gmx.de \
/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.