From: Yuan Fu <casouri@gmail.com>
To: "Jostein Kjønigsen" <jostein@secure.kjonigsen.net>
Cc: jostein@kjonigsen.net, 59988-done@debbugs.gnu.org
Subject: bug#59988: 29.0.60; treesit-query-validate creates editable buffer
Date: Mon, 12 Dec 2022 15:00:49 -0800 [thread overview]
Message-ID: <A8936FF8-28D4-4028-898A-E7D5ADD237B0@gmail.com> (raw)
In-Reply-To: <6f067f0b-dba7-de2d-5275-06798e2b2feb@secure.kjonigsen.net>
Jostein Kjønigsen <jostein@secure.kjonigsen.net> writes:
> When trying to validate a tree-sitter query, one is encouraged to use treesit-validate-query.
>
> This buffer is editable and needs to be manually killed.
>
> When you are iterating on a query and get lots of validation errors, this gets annoying.
>
> It would be much better if the buffer was non-editable and quittable like most other generated buffers in Emacs.
>
> Attached is a patch which fixes this.
Applied, thanks!
Yuan
prev parent reply other threads:[~2022-12-12 23:00 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-12 7:46 bug#59988: 29.0.60; treesit-query-validate creates editable buffer Jostein Kjønigsen
2022-12-12 23:00 ` 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=A8936FF8-28D4-4028-898A-E7D5ADD237B0@gmail.com \
--to=casouri@gmail.com \
--cc=59988-done@debbugs.gnu.org \
--cc=jostein@kjonigsen.net \
--cc=jostein@secure.kjonigsen.net \
/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.