Subject: Re: bug#64017: Wrong conversion from Emacs to Tree-sitter S-expression syntax

From: Yuan Fu <[email-masked]>
Date: Thu, 15 Jun 2023 15:13:12 -0700

> On Jun 15, 2023, at 3:45 AM, Mattias Engdegård <[email-masked]> wrote:
> 
> I also propose that we change the documentation to describe the (Elisp) sexp-based query syntax only, or at least first and foremost, since that is what all existing code uses and is more convenient. Currently the manual starts by describing the string syntax and only then the Elisp sexp syntax.
> 

The difference between tree-sitter syntax and Elisp sexp syntax is petty small (anchor, predicates), so the text describing the tree-sitter syntax is basically describing Elisp sexp syntax. With that said if someone makes it describe Elisp sexp syntax first, I wouldn’t mind.

Yuan