* Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
[not found] ` <20240408062554.D8DBCC12C36@vcs2.savannah.gnu.org>
@ 2024-04-08 7:28 ` Michael Albinus
2024-04-12 8:46 ` Basil L. Contovounesios
2024-04-13 9:12 ` Eli Zaretskii
0 siblings, 2 replies; 4+ messages in thread
From: Michael Albinus @ 2024-04-08 7:28 UTC (permalink / raw)
To: emacs-devel; +Cc: Yuan Fu
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
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
1 sibling, 0 replies; 4+ messages in thread
From: Basil L. Contovounesios @ 2024-04-12 8:46 UTC (permalink / raw)
To: Michael Albinus; +Cc: emacs-devel, Yuan Fu
Michael Albinus [2024-04-08 09:28 +0200] wrote:
> Yuan Fu <casouri@gmail.com> writes:
>> diff --git a/etc/NEWS b/etc/NEWS
>> +*** Tree-tarversing functions 'treesit-search-subtree',
Please also tarversing -> traversing.
> Could you please adjust this to the etc/NEWS convention max line length 80?
Thanks!
--
Basil
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
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
1 sibling, 1 reply; 4+ messages in thread
From: Eli Zaretskii @ 2024-04-13 9:12 UTC (permalink / raw)
To: Michael Albinus; +Cc: emacs-devel, casouri
> 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".
> > +
> > \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?
I believe I did that today.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: master 4efe3b99a5d 2/2: Document tree-sitter things feature (bug#70016) (bug#68824)
2024-04-13 9:12 ` Eli Zaretskii
@ 2024-04-14 23:40 ` Yuan Fu
0 siblings, 0 replies; 4+ messages in thread
From: Yuan Fu @ 2024-04-14 23:40 UTC (permalink / raw)
To: Eli Zaretskii; +Cc: Michael Albinus, emacs-devel
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2024-04-14 23:40 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[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
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.