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#46627: [PATCH] Add new help command 'describe-command' Date: Sat, 20 Feb 2021 13:56:09 +0100 Message-ID: <87o8geq4nq.fsf@gnus.org> References: <835z2o4fes.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="35365"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 46627@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 20 13:58:19 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 1lDRpy-000968-V0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 13:58:18 +0100 Original-Received: from localhost ([::1]:46838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lDRpy-0007OA-19 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 20 Feb 2021 07:58:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lDRol-0006kY-Fk for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 07:57:06 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39672) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lDRoj-00045N-Nl for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 07:57:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lDRoj-0000P4-ND for bug-gnu-emacs@gnu.org; Sat, 20 Feb 2021 07:57:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 20 Feb 2021 12:57:01 +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.16138257901512 (code B ref 46627); Sat, 20 Feb 2021 12:57:01 +0000 Original-Received: (at 46627) by debbugs.gnu.org; 20 Feb 2021 12:56:30 +0000 Original-Received: from localhost ([127.0.0.1]:51218 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDRoE-0000OK-8H for submit@debbugs.gnu.org; Sat, 20 Feb 2021 07:56:30 -0500 Original-Received: from quimby.gnus.org ([95.216.78.240]:42784) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lDRoC-0000O6-7b for 46627@debbugs.gnu.org; Sat, 20 Feb 2021 07:56:29 -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=ItNvu5/yCnzH9QrymnYETVLEQkMhbExSG6iO9iinxMQ=; b=NVToohJzsofTcpcTTgBjqQ4uKw fYjLuRPV5R3S7V+PtkL7jkMHmY1fPlLgE2fiGfpxgZb4vllxkI2FeKvH8Jd3m0AR6HECprkSF7Yov FL39+k0SRk4TEPJAROKCmVpA57TMORahND9PGbDKTpKETv7lvNtGjI61oCFTflAQ3Gyk=; Original-Received: from cm-84.212.220.105.getinternet.no ([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 1lDRnv-0005mB-35; Sat, 20 Feb 2021 13:56:21 +0100 Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEUxFRZQKiNuSz6Z clz///8Ql7uQAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+UCFAwVKsryZZ8AAAGlSURBVDjLdVOJESMx CDNJA8A2EKCBC+6/txN+dryTO5KJM5YRWMitVYgwt98gAyAyj6wDY+ldKtQ/3IhpA+SfwHaTVwef MuunMitBo6dH1yt7RO+Z4ROoSHwBjL/AqYB0bGdevV3xzTrh3lBJs5F+hfhCadvFkRF/2miK3717 R9+j1dk8iRVyOdZ1D1nLjMb0b2Cik+QHaIckqDGilNlaLuVkQC63yrRrFKBozdtvce8uHJvrLu52 ZRirPwcmmhIZclRfgLtAcFW9J7l6cDW1MFVZIq5fdwdwIa9EfGS4RWYxPi5IoorZJvi2KJsq0y/L SNnyTuBlnv6uCXtaexY3jSgvuPMDAHWIRaAFO9VlMnPyF4b+dTtEJO8Gi6p9S+KDCkU032kEJ84i tO8DqaQbfGrDugdAPdFwt+c8qNwucBUZywPgPfOnJOi3pu7DkKe6yz9uP8C0gxWw/bN8N57gGJfr OXWMFLvXAOwE8A6wI3hKqjZoaNmX+YUJzQe0C/N9EZ1NDd/Wi19c+IDJK2+0ez8hnlRMy+l0qLZ1 OG/yMOz/gMHxF/eRPGVO6/hUAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIxLTAyLTIwVDEyOjIxOjQy KzAwOjAw4hQNFQAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMS0wMi0yMFQxMjoyMTo0MiswMDowMJNJ takAAAAASUVORK5CYII= X-Now-Playing: Fairport Convention's _Come All Ye (2)_: "Bonny Bunch Of Roses" In-Reply-To: (Stefan Kangas's message of "Fri, 19 Feb 2021 11:42:50 -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:200424 Archived-At: Stefan Kangas writes: > The exercise of documenting this, and thinking about how this new > command fits in, has made me realize that while having a keybinding for > this is useful, and `C-h x' is the best free one we have, putting it > there and not on `C-h c' is rather unfortunate. (The mnemonic `M-x' > feels forced and artificial.) `C-h c' would be more natural for this command, and the `c' mnemonic for `describe-key-briefly' is pretty weak -- I'm guessing it ended up there because `C-h k' and `C-h K' were already taken? And `c' is kinda like `k'? But I agree 100% with Eli that we can't change `C-h c' -- it's a key binding that I think is deeply ingrained in many people's muscle memory. I do, however, think that `C-h x' isn't that bad of a binding for `describe-command', really. > So, barring that, we could perhaps turn the entire argument around 180 > degrees: precisely because the keybinding is so bad, it should *not* be > recommended in the TUTORIAL above `C-h f', and the right thing is > consequently not to give it a strong spotlight but to simply have it > "tacked on", like the after-thought it is, right after our trusty old > `C-h f'. No, I think it should be given precedence, like you've done in your patch -- it is the command users should be using. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no