From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#52074: 29.0.50; Add key binding for find-library Date: Wed, 24 Nov 2021 18:16:14 +0100 Message-ID: <87k0gxwk2p.fsf@gnus.org> References: <8cbad051-6fa0-958a-d2a6-4ba1ab1b7361@inventati.org> <87h7c2vx2p.fsf@gnus.org> <86814524-852c-d65b-cb05-86cc0f274d9b@inventati.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="3056"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 52074@debbugs.gnu.org To: Manuel Uberti Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Nov 24 18:17:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1mpvtR-0000Y1-Hc for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 18:17:13 +0100 Original-Received: from localhost ([::1]:54686 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mpvtQ-0007ZH-B2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Nov 2021 12:17:12 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mpvtK-0007Z8-Gc for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 12:17:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43315) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mpvtG-0004Bv-KP for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 12:17:06 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mpvtG-0001QN-E7 for bug-gnu-emacs@gnu.org; Wed, 24 Nov 2021 12:17:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Nov 2021 17:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 52074 X-GNU-PR-Package: emacs Original-Received: via spool by 52074-submit@debbugs.gnu.org id=B52074.16377741895427 (code B ref 52074); Wed, 24 Nov 2021 17:17:02 +0000 Original-Received: (at 52074) by debbugs.gnu.org; 24 Nov 2021 17:16:29 +0000 Original-Received: from localhost ([127.0.0.1]:54861 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpvsj-0001PT-0s for submit@debbugs.gnu.org; Wed, 24 Nov 2021 12:16:29 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:59210) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mpvse-0001PB-Hy for 52074@debbugs.gnu.org; Wed, 24 Nov 2021 12:16:27 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=TR3vr0okTfY+J13Xp2HAC0MNVMno4Cw6rJpnJNwZU7Y=; b=kedHr9Lft8esdEXKYVbNdpwKoN 9i508kkrxWAU1OWDXm13pcEdQ1FcrQoiI3x0WSo920Ugrhec/Z9bj6FL8aDvBV4NYDWvF26LKnZsj 5SvM2U18yZRdZ0/4j8hmoPNYiEBIJ5yTpYbh0ZrZ4eER1jTVCV0l27j+hioe4cevQXAA=; Original-Received: from [84.212.220.105] (helo=xo) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mpvsU-0003sc-HC; Wed, 24 Nov 2021 18:16:17 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXJyMayr7OWlKBX V2P28xr///9HRQ2EAAAAAWJLR0QF+G/pxwAAAAd0SU1FB+ULGA8LEwQ2sdgAAAG0SURBVDjLrZPr deQwCIWFtwHADRipgYzoYE/6r2kvV35McpJ/y5mxZX1CvFu7RMXMVM+vrb2JgJrhKVbrc88oahJc eN1B5H12SuI/C0isS2szYsFOUCqqVhRXrCvdsYsteCMqTeyUEKfReqjIZR+u2dZON8q9S0HpFZey vt6EQCsi+w5g25AOpdqjWBpCh+Xe1cqDNw/4yR9UgmoVz51E7AB5WHgxebIrfuCh1geve0v7HqUX e97ZvVSYLSGAPj/krVp7hsDJpx4MHu/McD+vKtfX22A7P+qUPxYq9CZb5utLH+hKraK0syokzRY5 Tq25ZyrbZx3c4mynHJnHA2yfKvQgIVPuQtmKl2HMnMjyfmugA2ox8gBoMp6Oseoqz/zY42iSdCWu giK8MbeM9ie/1Xpkz8gJmzeIar8OlyrEGASXEQ+HQskFgl1A7gR9zGZ3w+JAh3WCPphitADOR8cb YNSgDLaBEZh3wJzj5QSqZyRRg2P5Gq/uAOw7GudIGXKFeQKgM6UgNWHlVa+ACtTi0uBwcvVMMpLo lcX+qnT66o2ouULgYGNN7d4+f5a/v4HP/wj+AQY+Z1k/V1ZPAAAAJXRFWHRkYXRlOmNyZWF0ZQAy MDIxLTExLTI0VDE1OjExOjE5KzAwOjAwXmLGugAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0xMS0y NFQxNToxMToxOSswMDowMC8/fgYAAAAASUVORK5CYII= X-Now-Playing: DJ Rupture's _Curiosity Slowdown_: "Curiosity Slowdown (part 3)" In-Reply-To: <86814524-852c-d65b-cb05-86cc0f274d9b@inventati.org> (Manuel Uberti's message of "Wed, 24 Nov 2021 08:26:11 +0100") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:220754 Archived-At: Manuel Uberti writes: > You're right. What about using a prefix like C-x 7 and add something like: > > - C-x 7 l for find-library > > Then these can be considered as well: > > - C-x 7 f for find-function > - C-x 7 v for find-variable Hm... We've got a variety of stuff on `C-x ', but mostly things that deal with windows/tabs/frames. But perhaps it might make sense to put a `find-*' keymap there. Phil Sainty writes: > FWIW I use this same binding, and in my mind it makes excellent sense > to use C-h C-l for `find-library' if you also have: > > C-h C-v for `find-variable' > C-h C-f for `find-function' > C-h C-k for `find-function-on-key' > > All of which feel (to me) analogous to C-h v, C-h f, and C-h k: Without > the Ctrl modifier you view the docstrings; with it you view the code. Unfortunately `C-h C-f' is taken, but this makes sense. > (Admittedly C-h l is unconnected, but that hasn't bothered me. > Following > my pattern that would probably be bound to `finder-commentary', but I'm > not suggesting we move `view-lossage' elsewhere.) > > I guess my main point is that I do think of *all* of these things as > help-related, as I consider reading the code as just the next step up > from reading the docstrings. That's a good point. I doubt `C-h C-f' is used that often, so perhaps we could consider moving it and binding these four find-* commands to the `C-h' map. Anybody else with opinions or ideas here? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no