~casouri/public-inbox

1

Re: Tree-sitter Changes in Emacs 30

Lester Longley <lester@ieee.org>
Details
Message ID
<CAA30959858MKPmDm6yybSbZjeeJVY4Pqg3EXfz7rUPm++RHFdQ@mail.gmail.com>
DKIM signature
pass
Download raw message
Hi Yuan,

Re: https://archive.casouri.cc/note/2024/emacs-30-tree-sitter/

(1) Should "treesit-navigate-things" be "treesit-navigate-thing"?

ref. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n2688

(2) Also, example "(treesit-thing-at-point 'sexp)" doesn't seem to
match declaration in treesit.el (branch emacs-30), in that "tactic"
isn't marked &optional:

  (defun treesit-thing-at-point (thing tactic) ...)

ref. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n2803

Thanks very much for your work on treesit.el

Regards,
Lester

Re: Tree-sitter Changes in Emacs 30

Details
Message ID
<FE80BA70-C0AD-49C9-AD18-52D59DC2659C@gmail.com>
In-Reply-To
<CAA30959858MKPmDm6yybSbZjeeJVY4Pqg3EXfz7rUPm++RHFdQ@mail.gmail.com> (view parent)
DKIM signature
pass
Download raw message

> On Jan 1, 2025, at 7:26 AM, Lester Longley <lester@ieee.org> wrote:
> 
> Hi Yuan,
> 
> Re: https://archive.casouri.cc/note/2024/emacs-30-tree-sitter/
> 
> (1) Should "treesit-navigate-things" be "treesit-navigate-thing"?
> 
> ref. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n2688
> 
> (2) Also, example "(treesit-thing-at-point 'sexp)" doesn't seem to
> match declaration in treesit.el (branch emacs-30), in that "tactic"
> isn't marked &optional:
> 
>  (defun treesit-thing-at-point (thing tactic) ...)
> 
> ref. https://git.savannah.gnu.org/cgit/emacs.git/tree/lisp/treesit.el?h=emacs-30#n2803
> 
> Thanks very much for your work on treesit.el
> 
> Regards,
> Lester

Hi Lester, thank you so much for the corrections! The article should be fixed now.

Yuan
Reply to thread Export thread (mbox)