all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#60880: 30.0.50; tree-sitter `treesit-explore-mode' is buggy and does not behave properly
@ 2023-01-17 13:44 Mickey Petersen
  2023-01-19 22:30 ` Yuan Fu
  0 siblings, 1 reply; 6+ messages in thread
From: Mickey Petersen @ 2023-01-17 13:44 UTC (permalink / raw)
  To: 60880


A medley of issues here:

1. Executing `treesit-explore-mode' on a buffer with no valid grammar
support causes the minor mode (and playground buffer) to stick around and "load" anyway.

2. Bailing out of the grammar prompt does not, in actual fact, stop explore mode from proceeding. Instead it creates an empty buffer and it still engages the minor mode.

3. Killing the playground buffer does not remove the explore mode buffer.

4. treesit-explore-mode is stored against a buffer during `desktop-save' (and subsequently read with) `desktop-read'. Thus broken buffers or files inherit the explore mode. This is especially pernicious due to #1, #2, and #3.




In GNU Emacs 30.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version
 3.24.20, cairo version 1.16.0) of 2023-01-17 built on mickey-work
Repository revision: bb383a54910c3094e5d228e0af62bf70e36203ca
Repository branch: master
Windowing system distributor 'The X.Org Foundation', version 11.0.12013000
System Description: Ubuntu 20.04.3 LTS

Configured using:
 'configure --with-native-compilation --with-json --with-mailutils
 --without-compress-install --with-imagemagick CC=gcc-10'






^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-01-20 13:13 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-01-17 13:44 bug#60880: 30.0.50; tree-sitter `treesit-explore-mode' is buggy and does not behave properly Mickey Petersen
2023-01-19 22:30 ` Yuan Fu
2023-01-20  7:02   ` Eli Zaretskii
2023-01-20  7:59     ` Juri Linkov
2023-01-20 13:13       ` Eli Zaretskii
2023-01-20  9:08     ` Mickey Petersen

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.