emacs-devel
[Top][All Lists]
Advanced

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

Re: Code navigation for sh-mode with Tree-sitter


From: Stefan Monnier
Subject: Re: Code navigation for sh-mode with Tree-sitter
Date: Tue, 06 Dec 2022 17:57:21 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

>> However, if those functions are bound to `beginning-of-defun-function'
>> and `end-of-defun-function',
>
> Could you clarify?
> `beginning-of-defun-function' is a variable holding a function.
> Keys can be bound neither to that variable nor to the function it holds
> (because it's not a command).
> And functions usually aren't "bound" either.

Ah, I think I get it.  You mean your set the `[EB]OD-function` variables
to your two functions/commands, right?

To figure out whether the problem is inside `end-of-defun` or in the
way `[EB]OD-function` are expected to behave, you'll have to single-step
through `end-of-defun`, I think.


        Stefan




reply via email to

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