[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#64442: 29.0.92; treesit-beginning-of-defun fails in DEFUN functions
From: |
Yuan Fu |
Subject: |
bug#64442: 29.0.92; treesit-beginning-of-defun fails in DEFUN functions in C |
Date: |
Sat, 19 Aug 2023 15:00:52 -0700 |
Eli Zaretskii <eliz@gnu.org> writes:
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Tue, 15 Aug 2023 00:30:53 -0700
>> Cc: 64442@debbugs.gnu.org
>>
>> >>> That would allow "C-x 4 a" to work inside a DEFUN,
>> >>> something that still works less reliably with this patch: you
>> >>> must be
>> >>> in the "first defun" to get it to find the name of the function.
>> >>
>> >> C-x 4 a should’ve been fixed already. And it shouldn’t rely on
>> >> this fix to work. Do you have a recipe for when it doesn’t work?
>> >
>> > Just try it with your patch. If point is inside the body, the
>> > function's name is not captured by "C-x 4 a”.
>>
>> My bad, I must’ve been trying C-x 4 a in a different Emacs session,
>> which worked. Anyway, I updated the patch and C-x 4 a should now
>> work.
>
> Thanks, LGTM. Please install on the emacs-29 branch, and close the
> bug when you do.
Pushed, thanks.
Yuan
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- bug#64442: 29.0.92; treesit-beginning-of-defun fails in DEFUN functions in C,
Yuan Fu <=