From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#58216: 28.2; New help-for-help hides user key bindings Date: Sun, 2 Oct 2022 06:51:43 -0700 Message-ID: References: <80bkqv29o3.fsf@felesatra.moe> <804jwn140c.fsf@felesatra.moe> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="467"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 58216@debbugs.gnu.org To: Allen Li Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Oct 02 15:52:11 2022 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 1oezO6-000AQY-KO for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 15:52:10 +0200 Original-Received: from localhost ([::1]:48800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oezO5-00075c-9s for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 02 Oct 2022 09:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36198) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oezNy-00075F-G7 for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 09:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:47456) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oezNy-0000bU-8f for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 09:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oezNx-0000f5-Qh for bug-gnu-emacs@gnu.org; Sun, 02 Oct 2022 09:52:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 02 Oct 2022 13:52:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 58216 X-GNU-PR-Package: emacs Original-Received: via spool by 58216-submit@debbugs.gnu.org id=B58216.16647187122527 (code B ref 58216); Sun, 02 Oct 2022 13:52:01 +0000 Original-Received: (at 58216) by debbugs.gnu.org; 2 Oct 2022 13:51:52 +0000 Original-Received: from localhost ([127.0.0.1]:46534 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oezNo-0000eh-3g for submit@debbugs.gnu.org; Sun, 02 Oct 2022 09:51:52 -0400 Original-Received: from mail-oa1-f47.google.com ([209.85.160.47]:44009) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oezNm-0000eU-9u for 58216@debbugs.gnu.org; Sun, 02 Oct 2022 09:51:50 -0400 Original-Received: by mail-oa1-f47.google.com with SMTP id 586e51a60fabf-1324e7a1284so1786793fac.10 for <58216@debbugs.gnu.org>; Sun, 02 Oct 2022 06:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:from:to:cc:subject:date; bh=R5lVNhNbKEwfgX0xfBVO+j90xO4to2HIsi5hsRCOK70=; b=TtcaFUGYNntHXEIKCRHmX/ewcHKPulWbWmnBSRCtyGzCGu97ZrtVLyLr5B0ZmNd1CH pNVfx6H5Sh8TM29FvKwxqzulw6VFq7aLbowUYtytmLxN6cvhAsYnpnD6bXt4y07p7kaT btOeT8P2WspZN92JE5fzp5k3DbH0TYSTxxSl2NNRyz6w6p5gf9ifICU1i4O3uRkikf/D DJKAWqt2FN+tpZOU9Ueacqb0RzK45EEuDIpD8QyrhRpehlr87KR3iPLip4GkxihZEwXW he16Q/iEWu57oECIeXWARl2rdhGdvPejgcZyNJTQT0D0E/i4xce9BoM5RQOGwUMp4Ggx RCxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date :mime-version:references:in-reply-to:from:x-gm-message-state:from:to :cc:subject:date; bh=R5lVNhNbKEwfgX0xfBVO+j90xO4to2HIsi5hsRCOK70=; b=k9iy17kx8K5sR9FlJX3P+aOdfEw8kQbllpfsQj4RPPM9WQ89CSTXT/uCwi5vmJlBNB rHtNFXq2xnjroiD655lT7n6Wyckrc223PkKLX0Jr+IBbzcd9iUbfBDBOkYvwRc2FnyiN 51uLlfQy9nLmUbSvWTJ1WmXtQ6KNUXDSlb7RLOohB6HP+uBv9SBSyuNfuTAt6RQOzkeU XiBWGILtQoNmofwBFKeuyVvG59pmTjuDzGFMwNLJ19OnsrfHa2ME337pu5ff8dSC2pRq b0p00++PpCNPnEM1ekr9+WdE67IuJ6pmv/Ze4mmjyahvBWHRsDUbQBm414ziWZGKffit l1cg== X-Gm-Message-State: ACrzQf03DjCRPUH/gw+JXkanBcBnWBoL7efPS5Gra3J14tRJ0P4kOaNm PNqidjA7Sr5ui2t6X0m+Ie/GqmvrIWy+YHxQIQw= X-Google-Smtp-Source: AMsMyM6MU0ZkbklCBOlllgf3tf6ROf3H5RsGkTWfylqJOrK6ZEN9DmzLYqlskLuvdynWPBMsdEng1nQoNfi1Zqr2d1A= X-Received: by 2002:a05:6870:46a6:b0:12d:130c:2fd5 with SMTP id a38-20020a05687046a600b0012d130c2fd5mr3156415oap.92.1664718704396; Sun, 02 Oct 2022 06:51:44 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sun, 2 Oct 2022 06:51:43 -0700 In-Reply-To: <804jwn140c.fsf@felesatra.moe> X-Hashcash: 1:20:221002:58216@debbugs.gnu.org::taTvJy/4OzqwtwHk:84es 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:244217 Archived-At: Allen Li writes: > 1. emacs -Q > 2. (define-key [?\C-h ?M] #'man) That doesn't work, so I interpreted this as: (global-set-key [?\C-h ?M] #'man) > 3. C-h C-h With the above (adjusted) recipe on Emacs 27.1, my " *Metahelp*" buffer contains the below text. I don't see the `C-h M' binding in there. I also tried replacing step 2 with this instead (define-key help-map [?M] #'man) but I still couldn't see `C-h M' in there. What am I missing? Could you provide the full text of your " *Metahelp*" buffer (or a screenshot) with the above recipe? You have typed C-h, the help character. Type a Help option: (Use SPC or DEL to scroll through this text. Type q to exit the Help command.) a PATTERN Show commands whose name matches the PATTERN (a list of wor= ds or a regexp). See also the =E2=80=98apropos=E2=80=99 com= mand. b Display all key bindings. c KEYS Display the command name run by the given key sequence. C CODING Describe the given coding system, or RET for current ones. d PATTERN Show a list of functions, variables, and other items whose documentation matches the PATTERN (a list of words or a regexp). e Go to the *Messages* buffer which logs echo-area messages. f FUNCTION Display documentation for the given function. F COMMAND Show the Emacs manual=E2=80=99s section that describes the = command. g Display information about the GNU project. h Display the HELLO file which illustrates various scripts. i Start the Info documentation reader: read included manuals. I METHOD Describe a specific input method, or RET for current. k KEYS Display the full documentation for the key sequence. K KEYS Show the Emacs manual=E2=80=99s section for the command bou= nd to KEYS. l Show last 300 input keystrokes (lossage). L LANG-ENV Describes a specific language environment, or RET for curre= nt. m Display documentation of current minor modes and current major mode, including their special commands. n Display news of recent Emacs changes. o SYMBOL Display the given function or variable=E2=80=99s documentat= ion and value. p TOPIC Find packages matching a given topic keyword. P PACKAGE Describe the given Emacs Lisp package. r Display the Emacs manual in Info mode. s Display contents of current syntax table, plus explanations= . S SYMBOL Show the section for the given symbol in the Info manual for the programming language used in this buffer. t Start the Emacs learn-by-doing tutorial. v VARIABLE Display the given variable=E2=80=99s documentation and valu= e. w COMMAND Display which keystrokes invoke the given command (where-is= ). . Display any available local help at point in the echo area. C-a Information about Emacs. C-c Emacs copying permission (GNU General Public License). C-d Instructions for debugging GNU Emacs. C-e External packages and information about Emacs. C-f Emacs FAQ. C-m How to order printed Emacs manuals. C-n News of recent Emacs changes. C-o Emacs ordering and distribution information. C-p Info about known Emacs problems. C-s Search forward "help window". C-t Emacs TODO list. C-w Information on absence of warranty for GNU Emacs.