emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Proposal: add a binding for `imenu' under M-g


From: Eli Zaretskii
Subject: Re: Proposal: add a binding for `imenu' under M-g
Date: Wed, 20 Apr 2022 11:15:27 +0300

> 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, 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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]