From: Sean Whitton <spwhitton@spwhitton.name>
To: Howard Melman <hmelman@gmail.com>, emacs-devel@gnu.org
Subject: Re: Proposal: add a binding for `imenu' under M-g
Date: Thu, 21 Apr 2022 20:37:22 -0700 [thread overview]
Message-ID: <875yn1okjx.fsf@athena.silentflame.com> (raw)
In-Reply-To: <ly7d7ixr59.fsf@new-host-2.home>
Hello,
On Thu 21 Apr 2022 at 01:50pm -04, Howard Melman wrote:
> Juri Linkov <juri@linkov.net> writes:
>
>> 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.
>
> I don't think imenu deserves two bindings and 'M-g i' is easy enough.
>
> FWIW I use the consult package and bind, as follows:
>
> (global-set-key (kbd "M-g i") 'consult-imenu)
> (global-set-key (kbd "M-g M-i") 'consult-imenu-multi)
>
> The second allows completion from the imenu of all buffers
> in the same project with the same major mode.
>
> Consult itself doesn't bind these commands but suggests
> 'M-g 'i and 'M-g I' (capital i).
Huh, interesting that 'M-g i' occurred independently to the consult devs.
--
Sean Whitton
next prev parent reply other threads:[~2022-04-22 3:37 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-04-08 15:36 Proposal: add a binding for `imenu' under M-g Sean Whitton
2022-04-14 14:16 ` Sean Whitton
2022-04-14 16:14 ` Eli Zaretskii
2022-04-14 17:21 ` Filipp Gunbin
2022-04-14 18:00 ` Sean Whitton
2022-04-14 18:12 ` Eli Zaretskii
2022-04-14 19:03 ` chad
2022-04-15 5:51 ` Eli Zaretskii
2022-04-15 6:45 ` Sean Whitton
2022-04-15 6:50 ` Eli Zaretskii
2022-04-15 17:16 ` Howard Melman
2022-04-15 17:16 ` Howard Melman
2022-04-20 5:15 ` Sean Whitton
2022-04-20 6:38 ` Eli Zaretskii
2022-04-20 8:02 ` Filipp Gunbin
2022-04-20 8:15 ` Eli Zaretskii
2022-04-20 10:27 ` Filipp Gunbin
2022-04-20 11:55 ` Brian Cully
2022-04-20 12:10 ` Stefan Monnier
2022-04-20 15:53 ` John Yates
2022-04-21 13:14 ` Stefan Monnier
2022-04-20 16:43 ` Sean Whitton
2022-04-20 17:19 ` chad
2022-04-20 20:54 ` Kévin Le Gouguec
2022-04-21 7:20 ` Juri Linkov
2022-04-21 15:36 ` [External] : " Drew Adams
2022-04-21 17:50 ` Howard Melman
2022-04-22 3:37 ` Sean Whitton [this message]
2022-04-21 17:54 ` Kévin Le Gouguec
2022-04-21 19:03 ` Sean Whitton
2022-04-21 19:01 ` Sean Whitton
2022-04-14 19:37 ` Sean Whitton
2022-04-14 19:52 ` [External] : " Drew Adams
2022-04-19 14:21 ` Stephen Leake
2022-04-14 19:47 ` [External] : " Drew Adams
2022-04-14 16:24 ` Filipp Gunbin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=875yn1okjx.fsf@athena.silentflame.com \
--to=spwhitton@spwhitton.name \
--cc=emacs-devel@gnu.org \
--cc=hmelman@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.