commit 99b4308554b994a557f4cc18120bd1709bb7a8e3
parent 13cd0444bf6211d0ad6c330a864b71d8f307c80d
Author: Kévin Le Gouguec <kevin.legouguec@gmail.com>
Date: Fri, 11 Apr 2025 08:22:13 +0200
Note further refinement in tree-sitter movement commands
Diffstat:
1 file changed, 9 insertions(+), 5 deletions(-)
diff --git a/reviews/emacs/hype.org b/reviews/emacs/hype.org
@@ -35,7 +35,7 @@ that we can always use ~define-key~ and forget about
hazards…
** Programming
*** tree-sitter
-**** Finer sexp movement (bug#73404)
+**** Finer sexp movement (bug#73404, bug#76676)
Sexp commands no longer "overshoot" in tree-sitter modes. For
example, in previous releases, invoking =C-M-f= in c-ts-mode with
point…
@@ -45,10 +45,14 @@ point…
- at the start of a statement: point would jump to the end of the
statement (redundant with =M-e=).
-Now tree-sitter modes can opt into the more familiar "atom"-based
-movement - in c-ts-mode, stopping over each identifier or keyword,
-still leaping over delimiter pairs (=([{}])=), by defining a =list=
-element in =treesit-thing-settings=.
+Now:
+
+- tree-sitter modes can opt into the more familiar "atom"-based
+ movement - in c-ts-mode, stopping over each identifier or keyword,
+ still leaping over delimiter pairs (=([{}])=), by defining a =list=
+ element in =treesit-thing-settings=.
+- users can invoke ~treesit-toggle-sexp-type~ to make =C-M= commands
+ choose between "treesit nodes" vs "syntax symbols".
** UI
*** Completion
**** ~completion-eager-display~