all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: "Gerd Möllmann" <gerd.moellmann@gmail.com>
Cc: Emacs Devel <emacs-devel@gnu.org>
Subject: Re: Qeustion about Ftreesit_pattern_expand
Date: Tue, 25 Jun 2024 23:04:03 -0700	[thread overview]
Message-ID: <F3AB357E-9A96-4E76-A405-3DB8EA29B736@gmail.com> (raw)
In-Reply-To: <m2le2sl11k.fsf@pro2.fritz.box>



> On Jun 25, 2024, at 10:34 PM, Gerd Möllmann <gerd.moellmann@gmail.com> wrote:
> 
> Yuan Fu <casouri@gmail.com> writes:
> 
>> which is not what I want. Basically, strings need to be still quoted.
> 
> I see, thanks.
> 
> The problem I had in my Emacs with CL packages was that ':' in symbols
> is special because the colon separates package and symbol name. For
> example X:Y is a symbol Y in packager X. A ':' in a symbol name thus
> requires escaping to be able to be read back. Like 'name:' becomes
> 'name\:' so that the ':' isn't mistaken for a package separator.
> 
> I wonder if something similar can happen in GNU.

GNU? You mean Elisp?

> 
> It's only the strings that need escaping right?

Valid tree-sitter queries only contain lists, vectors, symbols (including keywords) and strings. I don’t know how does CL printer handle vectors. 

Yuan


  reply	other threads:[~2024-06-26  6:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-06-24 21:26 Qeustion about Ftreesit_pattern_expand Gerd Möllmann
2024-06-26  4:54 ` Yuan Fu
2024-06-26  5:05   ` Gerd Möllmann
2024-06-26  5:13     ` Yuan Fu
2024-06-26  5:34       ` Gerd Möllmann
2024-06-26  6:04         ` Yuan Fu [this message]
2024-06-26  6:16           ` Gerd Möllmann

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=F3AB357E-9A96-4E76-A405-3DB8EA29B736@gmail.com \
    --to=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=gerd.moellmann@gmail.com \
    /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.