[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: add a binding for `imenu' under M-g
From: |
Brian Cully |
Subject: |
Re: Proposal: add a binding for `imenu' under M-g |
Date: |
Wed, 20 Apr 2022 07:55:18 -0400 |
User-agent: |
mu4e 1.6.10; emacs 29.0.50 |
Eli Zaretskii <eliz@gnu.org> writes:
> To me, imenu is a facility to find definitions of functions, so it is
> conceptually very similar to M-. and other such features. We don't
> perceive M-. as a "go" command, do we?
If I were not already very used to M-. to jump to a definition,
finding it under “M-g” would feel natural to me. Likewise, M-? being
bound under “M-s” also makes sense intuitively. The former, I do think
of as a “go” in spite of the name of the command, and the latter I think
of as a search.
Funnily enough, while imenu is probably more closely related to
M-? -- being presented with a list of options to choose -- I think of it
more as a “go to”. I think the difference is context. Most of the time
when I invoke imenu, I *know* where I want to go, and imenu is what I
consider the fastest way to get there. When I invoke the other commands
I’m searching for something, but I don’t know precisely what yet.
imenu obviously works in both contexts, so I’m just throwing in
my two cents. It feels more natural to me under M-g than M-s. I also use
M-g bindings way, way more often than M-s, which is probably skewing my
intuition. Heck, I have a custom imenu binding (“C-c j” for ’jump’) that
I probably use more often than all the commands under the M-s prefix
combined.
-bjc
- Re: Proposal: add a binding for `imenu' under M-g, (continued)
- Re: Proposal: add a binding for `imenu' under M-g, Eli Zaretskii, 2022/04/15
- Re: Proposal: add a binding for `imenu' under M-g, Sean Whitton, 2022/04/15
- Re: Proposal: add a binding for `imenu' under M-g, Eli Zaretskii, 2022/04/15
- Re: Proposal: add a binding for `imenu' under M-g, Howard Melman, 2022/04/15
- Re: Proposal: add a binding for `imenu' under M-g, Howard Melman, 2022/04/15
- 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, 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, 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 <=
- 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, 2022/04/21
- 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