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

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

bug#62825: 29.0.90; c-ts-mode doesn't recognize DEFUN functions


From: Eli Zaretskii
Subject: bug#62825: 29.0.90; c-ts-mode doesn't recognize DEFUN functions
Date: Sat, 15 Apr 2023 10:48:54 +0300

> From: Yuan Fu <casouri@gmail.com>
> Date: Fri, 14 Apr 2023 13:19:41 -0700
> Cc: Theodor Thornhill <theo@thornhill.no>,
>  62825@debbugs.gnu.org
> 
> Ok, I fixed indent-defund and add-log. Because a DEFUN is made of two nodes 
> in the parse tree rather than one, it’s a bit hard to incorporate it into the 
> normal treesit-defun-at-point, etc, functions. And we probably have to fix 
> DEFUN case-by-case.

Thanks.  But I wonder why do we need the c-ts-mode-emacs-devel knob.
Why not recognize DEFUN by default everywhere?  CC Mode does that,
AFAIK, so why shouldn't c-ts-mode do the same?





reply via email to

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