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.bugs Subject: bug#46627: [PATCH] Add new help command 'describe-command' Date: Sun, 21 Feb 2021 19:36:17 +0200 Message-ID: <83blcdxqzy.fsf@gnu.org> References: <835z2o4fes.fsf@gnu.org> <83k0r1xwyy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, rms@gnu.org, 46627@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Feb 21 18:37: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 1lDsfQ-000AMQ-Ql for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 18:37:12 +0100 Original-Received: from localhost ([::1]:51424 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDsfP-0003I5-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 21 Feb 2021 12:37:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36346) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDsfG-0003Hg-Dc for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 12:37:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDsfG-0000uw-6N for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 12:37:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDsfG-0001Xd-3q for bug-gnu-emacs@gnu.org; Sun, 21 Feb 2021 12:37:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 21 Feb 2021 17:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 46627 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 46627-submit@debbugs.gnu.org id=B46627.16139290135911 (code B ref 46627); Sun, 21 Feb 2021 17:37:02 +0000 Original-Received: (at 46627) by debbugs.gnu.org; 21 Feb 2021 17:36:53 +0000 Original-Received: from localhost ([127.0.0.1]:54741 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDsf7-0001XH-2p for submit@debbugs.gnu.org; Sun, 21 Feb 2021 12:36:53 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:46668) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDsf4-0001X4-Qb for 46627@debbugs.gnu.org; Sun, 21 Feb 2021 12:36:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38464) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDsez-0000mt-8i; Sun, 21 Feb 2021 12:36:45 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:4178 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDsel-0007E4-2B; Sun, 21 Feb 2021 12:36:31 -0500 In-Reply-To: (message from Stefan Kangas on Sun, 21 Feb 2021 11:01:11 -0600) 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:200510 Archived-At: > From: Stefan Kangas > Date: Sun, 21 Feb 2021 11:01:11 -0600 > Cc: rms@gnu.org, larsi@gnus.org, 46627@debbugs.gnu.org > > So I type `C-h a foobar RET'. > > Now I realize I want to look for "foobaz", so `C-h a foobaz RET'. > > Now I realize that oops, I meant "barsnaz", etc. > > Typing this at a prompt is often faster for me. In particular, I don't > need to rewrite everything for minor changes. > > Yes, I can be smarter and say `C-h a M-p DEL z RET', but I think we can > agree that `DEL z TAB' is less typing. No, I think you are splitting hair. Typing one more key justifies a whole new command? Really? And I'm not even talking about the display you get with "C-h a", which is much more informative than what completion shows. > (BTW, with many completion frameworks you don't even need the TAB.) We are talking about features that are built-in. Otherwise, why did we add a new command for getting help on commands, when it's so easy to get it from other completion frameworks? > Plus I often look only for names, and don't need to waste screen real > estate on documentation (which I would using apropos). Displaying completion candidates doesn't use any screen estate? > I don't see that we need to agree about the relative efficiency of these > workflows. We can and do support both workflows well. See my other message: building a discovery subsystem starting from completion reinvents the wheel, and begins from an inferior starting point. If that's not an argument worth considering, from the project management POV, then I don't know what is.