[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mo
From: |
Eli Zaretskii |
Subject: |
Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter) |
Date: |
Tue, 13 Dec 2022 18:38:36 +0200 |
> From: João Paulo Labegalini de Carvalho <jaopaulolc@gmail.com>
> Date: Tue, 13 Dec 2022 09:11:41 -0700
> Cc: Stefan Monnier <monnier@iro.umontreal.ca>, Alan Mackenzie <acm@muc.de>,
> emacs-devel@gnu.org
>
> For instance, if I am within a function I would expect to go to its beginning
> when pressing C-M-a, and not to the
> beginning of the first leaf function when searching backward. Although the
> current behavior might be desirable
> to some users and should be possible as well.
I think the command that goes to the firs leaf backwards should be
bound to C-M-u, not C-M-a. C-M-u takes a numeric argument to specify
how many levels up to move, so the user can control to which leaf top
go. Or maybe we should have an entirely new key binding for these
fine-tuned movements.
- Re: Code navigation for sh-mode with Tree-sitter, (continued)
- 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, 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 <=
- 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), 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), 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), Yuan Fu, 2022/12/15
- Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter), João Paulo Labegalini de Carvalho, 2022/12/16
- Re: New defun navigation for tree-sitter (Was: Code navigation for sh-mode with Tree-sitter), Yuan Fu, 2022/12/17
- Re: Code navigation for sh-mode with Tree-sitter, Yuan Fu, 2022/12/06