From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Proposal: add a binding for `imenu' under M-g Date: Fri, 15 Apr 2022 08:51:17 +0300 Message-ID: <83ilra3ne2.fsf@gnu.org> 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; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18170"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org, fgunbin@fastmail.fm, spwhitton@spwhitton.name To: chad Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 15 07:52:47 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 1nfEsw-0004XR-2x for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 07:52:46 +0200 Original-Received: from localhost ([::1]:54296 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nfEsu-0001fc-MH for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Apr 2022 01:52:44 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46686) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfErM-0000tb-3X for emacs-devel@gnu.org; Fri, 15 Apr 2022 01:51:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:51998) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfErL-0002Jq-N7; Fri, 15 Apr 2022 01:51:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=62wNYrwtG8tGk3DDr1/RzLb9/U6MaPeE4dlPOmPddNA=; b=DixrQegTIMBTp8zBytc8 o7NH9TVZ6FhthMDC5T4aSMNyaFMwU+De3yV39sWdeDJPXRiW1j6LQaWLnnZAG8pbGulNJqyVPW9// zWq7izLHtfWv/azapPODACKENnyNVO32dFsQQwTStYPclGyiubRWO5xaItP6p4QXHnRq8Pj8R4LGW Md3+VpDbCjjX5FqwLnEaKMsgYy8KXLLNYsRvyrgpZk8gCCG5tryh0g9LZA/E8Blj1SfwjEyFCrf7i HShp5f2YbV4jsJdjoTZkyes9jY04Nd2/7dbdf344InQppUEGVeI+ocALMe2PVXdGZBSP/jvAAJPB9 Rcc7WD/Wygrv7g==; Original-Received: from [87.69.77.57] (port=1837 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nfErK-0002SB-Ja; Fri, 15 Apr 2022 01:51:07 -0400 In-Reply-To: (message from chad on Thu, 14 Apr 2022 15:03:54 -0400) 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:288420 Archived-At: > From: chad > Date: Thu, 14 Apr 2022 15:03:54 -0400 > Cc: Sean Whitton , > Filipp Gunbin , > EMACS development team > > From the imenu info node: > > If you type ‘M-x imenu’, it reads the name of a definition using the > minibuffer, then moves point to that definition.[...] How is this different from what M-. does? or "C-x `"? or even "C-x b", for that matter? > The parallel seems pretty clear to me. I tried it out in Org and a couple elisp files, and it felt natural. What am > I missing? (Honest question; I haven't used imenu much in practice.) Many Emacs commands eventually "go" someplace. That doesn't yet mean they should all have a binding with the M-g prefix. I'm saying that we should perhaps give imenu a different key binding. Why is that idea being rejected without seriously considering it?