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: Sean Whitton
Subject: Re: Proposal: add a binding for `imenu' under M-g
Date: Thu, 14 Apr 2022 12:37:34 -0700
User-agent: Emacs/29.0.50 (x86_64-pc-linux-gnu)

Hello,

On Thu 14 Apr 2022 at 09:12PM +03, Eli Zaretskii wrote:

>> From: Filipp Gunbin <fgunbin@fastmail.fm>
>> Cc: Sean Whitton <spwhitton@spwhitton.name>,  emacs-devel@gnu.org
>> Date: Thu, 14 Apr 2022 20:21:21 +0300
>>
>> On 14/04/2022 19:14 +0300, Eli Zaretskii wrote:
>>
>> >> From: Sean Whitton <spwhitton@spwhitton.name>
>> >> Date: Thu, 14 Apr 2022 07:16:02 -0700
>> >>
>> >> > `imenu' doesn't have a binding.  How about binding it to 'M-g i'?
>> >>
>> >> Here is a patch.  I'll wait at least another week before installing it.
>> >
>> > I wonder why M-g.  That prefix is for commands the "go" somewhere, and
>> > this one doesn't.
>>
>> But the purpose of imenu is "go to the index entry", it just offers
>> completion before that.
>
> We have a lot of commands that display a menu of possibilities, and
> I'm not sure it is valid to consider them all as "go to somewhere".

As Chad mentioned, it seems particularly salient to me that just like
M-g g and M-g c, imenu is about getting to somewhere else in the buffer
given a small amount of user input.

-- 
Sean Whitton



reply via email to

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