[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Proposal: add a binding for `imenu' under M-g
From: |
Filipp Gunbin |
Subject: |
Re: Proposal: add a binding for `imenu' under M-g |
Date: |
Wed, 20 Apr 2022 13:27:55 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (darwin) |
On 20/04/2022 11:15 +0300, Eli Zaretskii wrote:
>> From: Filipp Gunbin <fgunbin@fastmail.fm>
>> Date: Wed, 20 Apr 2022 11:02:55 +0300
>> Cc: yandros@gmail.com, emacs-devel@gnu.org,
>> Sean Whitton <spwhitton@spwhitton.name>
>>
>> M-s feels good as mnemonic for search/show, and indeed, we have "M-s o"
>> (occur - searches and shows), "M-s h" (highlight - also searches and
>> shows) and maybe others. Yes you can go to occur results, but that's
>> another action.
>>
>> While M-g would mean "go". And stuff like "M-g g", "M-g c", they
>> request input only to go somewhere. imenu falls in this category -
>> request input (select from completions) and go there.
>
> To me, imenu is a facility to find definitions of functions,
I think this is where our perception differs: I find it very much like
"go", partly because we move to the position in the current buffer, and
not some other.
> so it is conceptually very similar to M-. and other such features. We
> don't perceive M-. as a "go" command, do we?
>
> M-s is not just for searching. It has, for example, a set of bindings
> that invoke hi-lock commands, which are not about searching at all.
> We could have a similar "M-s i" prefix for imenu commands.
I don't use hi-lock regularly, but if I would, that would be exactly for
searching for some pattern. Even if not in the sense of search-forward
/ isearch-forward. And again, "s" in M-s can also mean "show"...
Oh, another key binding discussion :-)
Filipp
- Re: Proposal: add a binding for `imenu' under M-g, (continued)
- Re: Proposal: add a binding for `imenu' under M-g, chad, 2022/04/14
- 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 <=
- 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, 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