From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Sean Whitton Newsgroups: gmane.emacs.devel Subject: Re: Proposal: add a binding for `imenu' under M-g Date: Thu, 14 Apr 2022 12:37:34 -0700 Message-ID: <87tuavzcap.fsf@melete.silentflame.com> References: <877d7zh9iz.fsf@athena.silentflame.com> <87fsmfpx7h.fsf@athena.silentflame.com> <83sfqf3anr.fsf@gnu.org> <83k0br356f.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29246"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Emacs/29.0.50 (x86_64-pc-linux-gnu) Cc: emacs-devel@gnu.org To: Eli Zaretskii , Filipp Gunbin Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 14 21:39:13 2022 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1nf5JA-0007Mm-CV for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Apr 2022 21:39:13 +0200 Original-Received: from localhost ([::1]:58028 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nf5J8-0001Kq-QZ for ged-emacs-devel@m.gmane-mx.org; Thu, 14 Apr 2022 15:39:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf5Hi-0007vW-3r for emacs-devel@gnu.org; Thu, 14 Apr 2022 15:37:42 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:35557) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nf5He-0003tb-JB; Thu, 14 Apr 2022 15:37:41 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 285C632027F9; Thu, 14 Apr 2022 15:37:36 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 14 Apr 2022 15:37:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=spwhitton.name; h=cc:cc:content-type:date:date:from:from:in-reply-to :in-reply-to:message-id:mime-version:references:reply-to:sender :subject:subject:to:to; s=fm3; t=1649965055; x=1650051455; bh=Pr PMDHEird3A6UNXrlfyfuZpkGMiqEE0QqXXnBqNCU0=; b=H/c6wi+77tTln6G45G OyrTUqd6R+HnBS9J33CygdXnvrNTlzlSo/aau88D+9YTxWmLor68e7GsezfTv3zk xP4eEnyjTLLA4NjPH2ppZxPtX7c+FoPXSGnBEOVIvR9ptPS3rQ+DbM7XxHoiCY3y Sqd3Xlbf7v6vJTAeR/jORoJO6S0vB+1aiVG3ZeKd45cP3MhVFRcLil2BxVj9dK0L JW7rVLOB8vnMIhlYr9N2VD/Ng66gUunLTD5DEbHaSEnOk5jdbCRtBXTkTjUaRJkC +YIN2gkduinmznWhp5irJzlxTnxaWebHWNBYqG2UjM+kzeA1/fA92aNiE6U4Zucl 6u1Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:sender:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1649965055; x= 1650051455; bh=PrPMDHEird3A6UNXrlfyfuZpkGMiqEE0QqXXnBqNCU0=; b=I RLUNndsBJvUwHwcmvtahsaGVbcXztQxIKE960zcHOf5FE31cxeZ+16vwvS9mVzap M3GzuMPFfPhfEpSwgq6tn6jG8oq9Dih+3Cf/tr9EAg+p9oWbdYKvzbJXHFpBmvO7 BOqIb+XLq7sQJUvHKUcLgNbaHrsFO28It2Di0ToomuyEbAl2atpbkwrp7yuUGewu SOWcJ7EtraRTJq0IVhdwME6nwZalmT9qeYuwtAZZOhu6Ov8Ka0B0yrTKLw3tcPPc KJD4MM+V+ZJv+TO2Eb/J0oO5sUlBKi6RhOHQOYIJlEuMqdz7MBj6+tQj01ZuKFIh sSzJJRVf4aBXjBH9kDuMg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvvddrudelfedgudegudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefhvffujghffgffkfggtgesthdttddttdertdenucfhrhhomhepufgvrghn ucghhhhithhtohhnuceoshhpfihhihhtthhonhesshhpfihhihhtthhonhdrnhgrmhgvqe enucggtffrrghtthgvrhhnpeelgeeggfdvieejvdfhudfggeetgfekkeeuieeljeejhedu geegfeetgefhueffkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrih hlfhhrohhmpehsphifhhhithhtohhnsehsphifhhhithhtohhnrdhnrghmvg X-ME-Proxy: Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 14 Apr 2022 15:37:35 -0400 (EDT) Original-Received: by melete.silentflame.com (Postfix, from userid 1000) id 41CFD7E374F; Thu, 14 Apr 2022 12:37:34 -0700 (MST) In-Reply-To: <83k0br356f.fsf@gnu.org> Received-SPF: pass client-ip=64.147.123.21; envelope-from=spwhitton@spwhitton.name; helo=wout5-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H5=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:288413 Archived-At: Hello, On Thu 14 Apr 2022 at 09:12PM +03, Eli Zaretskii wrote: >> From: Filipp Gunbin >> Cc: Sean Whitton , 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 >> >> 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