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

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

bug#60197: 30.0.50; beginning-of-defun broken after new treesit impl


From: Theodor Thornhill
Subject: bug#60197: 30.0.50; beginning-of-defun broken after new treesit impl
Date: Tue, 20 Dec 2022 09:32:23 +0100

Theodor Thornhill <theo@thornhill.no> writes:

> Hi, Yuan!
>
> It seems 'prog-fill-reindent-defun' is broken after the latest changes
> to treesit-beginning-of-defun.  The culprit is that we now use remap
> instead of setting the beginning-of-defun-function.  What is the
> reasoning behind that change?  Can't we just rely on the variable
> beginning-of-defun-function?
>
> I see you mentioned it is inteded to be used as a command, but surely
> both should be possible?
>

This will also affect things like mark-defun and friends.  Should I
prepare a patch to fix this?

Theo





reply via email to

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