[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
- Re: Code navigation for sh-mode with Tree-sitter, (continued)
- Re: Code navigation for sh-mode with Tree-sitter, Stefan Monnier, 2022/12/05
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Stefan Monnier, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Yuan Fu, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Yuan Fu, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Alan Mackenzie, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Stefan Monnier, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter,
Stefan Monnier <=
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, Stefan Monnier, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/06
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/07
- Re: Code navigation for sh-mode with Tree-sitter, Yuan Fu, 2022/12/09
- Re: Code navigation for sh-mode with Tree-sitter, Yuan Fu, 2022/12/12
- Re: Code navigation for sh-mode with Tree-sitter, João Paulo Labegalini de Carvalho, 2022/12/13
- New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter), Yuan Fu, 2022/12/13
- Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter), João Paulo Labegalini de Carvalho, 2022/12/13
- Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter), Eli Zaretskii, 2022/12/13