GNU bug report logs - #59988
29.0.60; treesit-query-validate creates editable buffer

Previous Next

Package: emacs;

Reported by: jostein <at> kjonigsen.net

Date: Mon, 12 Dec 2022 07:48:01 UTC

Severity: normal

Tags: patch

Found in version 29.0.60

Done: Yuan Fu <casouri <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #12 received at 59988-done <at> debbugs.gnu.org (full text, mbox):

From: Yuan Fu <casouri <at> gmail.com>
To: Jostein Kjønigsen <jostein <at> secure.kjonigsen.net>
Cc: jostein <at> kjonigsen.net, 59988-done <at> debbugs.gnu.org
Subject: Re: bug#59988: 29.0.60; treesit-query-validate creates editable buffer
Date: Mon, 12 Dec 2022 15:00:49 -0800
Jostein Kjønigsen <jostein <at> 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




This bug report was last modified 2 years and 219 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.