GNU bug report logs - #68664
29.1.50; treesit defun commands broken with nested functions

Previous Next

Package: emacs;

Reported by: Troy Brown <brownts <at> troybrown.dev>

Date: Mon, 22 Jan 2024 23:12:02 UTC

Severity: normal

Found in version 29.1.50

Full log


Message #8 received at 68664 <at> debbugs.gnu.org (full text, mbox):

From: Daniel Martín <mardani29 <at> yahoo.es>
To: Troy Brown <brownts <at> troybrown.dev>
Cc: 68664 <at> debbugs.gnu.org
Subject: Re: bug#68664: 29.1.50; treesit defun commands broken with nested
 functions
Date: Tue, 23 Jan 2024 01:32:11 +0100
Troy Brown <brownts <at> troybrown.dev> writes:

> I've noticed that "defun" related treesit commands do not appear to work
> correctly when nested functions are involved.  I've seen this behavior
> in multiple languages and believe the problem is an issue in the
> treesit.el library.

Customize the treesit-defun-tactic variable to 'top-level to ignore
nested defuns in navigation commands.




This bug report was last modified 1 year and 141 days ago.

Previous Next


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