all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Perry Smith <pedz@easesoftware.com>
Cc: emacs-devel <emacs-devel@gnu.org>
Subject: Re: To the maintainers...
Date: Sun, 11 Dec 2022 15:07:33 -0800	[thread overview]
Message-ID: <C1284AC9-DA51-4523-8BF0-7E2B8374E290@gmail.com> (raw)
In-Reply-To: <AB3A9607-3E9A-492C-9B00-0E7E828D068B@easesoftware.com>



> On Dec 10, 2022, at 10:19 AM, Perry Smith <pedz@easesoftware.com> wrote:
> 
> treesit.el has this comment:
> 
>         ;; TODO: Document if genuinely useful.
>         (cons 'n-p-gp
>             ...
> 
> I found it useful:
> 
>            ((n-p-gp "}" "hash" "assignment") grand-parent 0)
>            ((n-p-gp "pair" "hash" "assignment") grand-parent ruby-ts-mode-indent-offset)
> 
>            ((n-p-gp "]" "array" "assignment") grand-parent 0)
>            ((n-p-gp ".*" "array" "assignment") grand-parent ruby-ts-mode-indent-offset)
> 
> Produces:
> 
> array = [
>   9.9,
>   10,
>   11,
> ]
> 
> new_hash = {
>   frog: 12,
>   daft: 92,
>   egg: 99
> }
> 

Sure, I’ll document it. Thanks :-)

Yuan


      reply	other threads:[~2022-12-11 23:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-10 18:19 To the maintainers Perry Smith
2022-12-11 23:07 ` Yuan Fu [this message]

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=C1284AC9-DA51-4523-8BF0-7E2B8374E290@gmail.com \
    --to=casouri@gmail.com \
    --cc=emacs-devel@gnu.org \
    --cc=pedz@easesoftware.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.