[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: add a binding for `imenu' under M-g
From: |
Juri Linkov |
Subject: |
Re: Proposal: add a binding for `imenu' under M-g |
Date: |
Thu, 21 Apr 2022 10:20:10 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (x86_64-pc-linux-gnu) |
> * when I reach for M-s commands (isearch-forward-*, occur,
> highlight-*/hi-lock-*), I feel like I am looking for a command that
> operates on a set of _matches_ (jumping successively through the set,
> collecting & displaying the set, highlighting the set),
>
> * when I reach for M-g commands, I feel like I want to jump to "precise"
> locations, i.e. locations that are not defined by pattern matching,
> but by some other semantics (e.g. line numbers, error reports).
>
> So M-. could very well bound to M-g d and/or M-g M-d, and it wouldn't
> break my (perhaps twisted) grokking of the M-g prefix: I use it to visit
> the "canonical" location for a symbol, defined by TAGS files, LSP
> servers… though it's true that M-. sometimes does "match" more than one
> locations.
>
> Consequently, having imenu on the M-g prefix sounds more natural to me.
Do you think that additionally to 'M-g i' imenu should be bound also to 'M-g
M-i'?
Then it could be typed without releasing the Meta modifier. But the problem is
that 'M-i' is equivalent to 'TAB', so this means taking the keybinding 'M-g TAB'
that might have more sense for another command associated with TABs like
navigating to the next link, then 'M-g S-TAB' to the previous link, etc.
- Re: Proposal: add a binding for `imenu' under M-g, (continued)
- Re: Proposal: add a binding for `imenu' under M-g, Filipp Gunbin, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Eli Zaretskii, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Filipp Gunbin, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Brian Cully, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Stefan Monnier, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, John Yates, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Stefan Monnier, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, chad, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g, Kévin Le Gouguec, 2022/04/20
- Re: Proposal: add a binding for `imenu' under M-g,
Juri Linkov <=
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Howard Melman, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Kévin Le Gouguec, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/21
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/14
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/14
- Re: Proposal: add a binding for `imenu' under M-g, Stephen Leake, 2022/04/19
- RE: [External] : Re: Proposal: add a binding for `imenu' under M-g, Drew Adams, 2022/04/14