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: [External] : bug#46627: [PATCH] Add new help command 'describe-command' Date: Sat, 20 Feb 2021 10:20:09 +0200 Message-ID: <83blcf177q.fsf@gnu.org> References: <835z2o4fes.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40300"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, stefan@marxist.se, 46627@debbugs.gnu.org To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 09:21:12 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 1lDNVo-000ANV-E8 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 09:21:12 +0100 Original-Received: from localhost ([::1]:45732 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDNVn-0004MZ-5j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 03:21:11 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46894) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDNVf-0004MP-Bi for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 03:21:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39384) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDNVe-0007SJ-65 for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 03:21:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDNVe-0005kg-2H for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 03:21: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: Sat, 20 Feb 2021 08:21: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.161380923322053 (code B ref 46627); Sat, 20 Feb 2021 08:21:02 +0000 Original-Received: (at 46627) by debbugs.gnu.org; 20 Feb 2021 08:20:33 +0000 Original-Received: from localhost ([127.0.0.1]:50930 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDNVB-0005jd-DZ for submit@debbugs.gnu.org; Sat, 20 Feb 2021 03:20:33 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:57168) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDNVA-0005jR-El for 46627@debbugs.gnu.org; Sat, 20 Feb 2021 03:20:32 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:40528) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDNV4-00078m-Vd; Sat, 20 Feb 2021 03:20:26 -0500 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:3339 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1lDNV3-0004fh-Mz; Sat, 20 Feb 2021 03:20:26 -0500 In-Reply-To: (message from Drew Adams on Sat, 20 Feb 2021 04:25:09 +0000) 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:200404 Archived-At: > From: Drew Adams > CC: Lars Ingebrigtsen , > "46627@debbugs.gnu.org" > <46627@debbugs.gnu.org> > Date: Sat, 20 Feb 2021 04:25:09 +0000 > > > I see your point regarding #2, but thinking about it a bit I think it > > is preferable to have an easier keybinding than `C-u C-h f' for commands. > > And if we have `describe-command' on `C-h x', perhaps the prefix > > argument to `describe-function' is just redundant? > > It's not either/or. It costs little to add the > prefix-arg behavior, even if you add the option > and command commands. We are not supposed to add anything that costs little. > That's similar to what we do for some apropos > commands. E.g. `apropos-user-option' compared > with `apropos-variable' with a prefix arg; and > `apropos-command' with and without a prefix arg. As you say, "two wrongs don't make a right".