<CAA30959858MKPmDm6yybSbZjeeJVY4Pqg3EXfz7rUPm++RHFdQ@mail.gmail.com>
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
<FE80BA70-C0AD-49C9-AD18-52D59DC2659C@gmail.com>
<CAA30959858MKPmDm6yybSbZjeeJVY4Pqg3EXfz7rUPm++RHFdQ@mail.gmail.com>
(view parent)
> 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