bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59988: 29.0.60; treesit-query-validate creates editable buffer


From: Yuan Fu
Subject: bug#59988: 29.0.60; treesit-query-validate creates editable buffer
Date: Mon, 12 Dec 2022 15:00:49 -0800

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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]