From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#30660: mention describe-bindings on (info "(emacs) Keymaps") Date: Fri, 23 Aug 2019 09:18:43 +0200 Message-ID: References: <87lgfc3lpo.fsf@jidanni.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="259094"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 30660@debbugs.gnu.org, =?UTF-8?Q?=E7=A9=8D=E4=B8=B9=E5=B0=BC?= Dan Jacobson To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Aug 23 09:20:15 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1i13rr-0015IK-BZ for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 09:20:15 +0200 Original-Received: from localhost ([::1]:52280 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i13rp-0003ct-LA for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 03:20:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33030) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i13rf-0003cW-9A for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 03:20:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i13re-0002kM-4L for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 03:20:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58438) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i13re-0002kE-1Y for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 03:20:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i13rd-0006eu-Q8 for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 03:20:01 -0400 X-Loop: help-debbugs@gnu.org In-Reply-To: <87lgfc3lpo.fsf@jidanni.org> Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 23 Aug 2019 07:20:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 30660 X-GNU-PR-Package: emacs Original-Received: via spool by 30660-submit@debbugs.gnu.org id=B30660.156654474325526 (code B ref 30660); Fri, 23 Aug 2019 07:20:01 +0000 Original-Received: (at 30660) by debbugs.gnu.org; 23 Aug 2019 07:19:03 +0000 Original-Received: from localhost ([127.0.0.1]:39026 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i13qg-0006dd-LL for submit@debbugs.gnu.org; Fri, 23 Aug 2019 03:19:03 -0400 Original-Received: from mail-pf1-f181.google.com ([209.85.210.181]:34218) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i13qd-0006d9-TT for 30660@debbugs.gnu.org; Fri, 23 Aug 2019 03:19:00 -0400 Original-Received: by mail-pf1-f181.google.com with SMTP id b24so5881956pfp.1 for <30660@debbugs.gnu.org>; Fri, 23 Aug 2019 00:18:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc :content-transfer-encoding; bh=e3N2b2+Gm4FpQ7UI7BJBcMhguy/C+ttrkan/2nuyaVs=; b=Is6xB5gnZxKcri/HTKy3CjLjCzhF2tC+RYnDEVbS7RgBv5P5Ob/eWR6u9KGQAZ7fZ5 eXadkzorNjlrHC0OLXHHcTJUlfljl4odWzm3oD8/6G0L8w5CnCCLs2KVV07duyx9viWV 8oVNXsLHXtWp54pTG4ZefRYfQtNFaS1vo/xk7r9or45r3CNDe/bFR/RS00GW57c+2nwZ jsi7AxhFliZ4aHXyLdViVC0aQe2Km1gqJIUqyK+iVeJN3+PepbF1ucuJEmNFdbrmDogr xN0ulTBhrCGvesaId9l8bGnmlLjhGaqky2evMShLSM/0Hr9XhmYwAPb+VnvTXx7zzNvR G0nw== X-Gm-Message-State: APjAAAXmIgoTR3YATvJdklamMQm76/bqRrdyk5Cx5Be/9XQcdgrJYRnW c9VJUiZuvbl1g9c2YwBsLZtnMg4Q+NA8Y+B4ofU= X-Google-Smtp-Source: APXvYqyEBSEcXCVX3EpkLGAP/Dvh+txoXEx6sjGTHDo5MZdSuG/hN0MNKkvIN7EVHurZS86czEAIcTP+VCQ7DEjLDA8= X-Received: by 2002:a63:4c5c:: with SMTP id m28mr2817642pgl.333.1566544734035; Fri, 23 Aug 2019 00:18:54 -0700 (PDT) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.43 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:165659 Archived-At: Drew Adams writes: >> (info "(emacs) Keymaps") should mention the best way to view a keymap. >> If the user just uses describe-variable, he will see >> (67108910 . flyspell-auto-correct-word) >> etc. So mention he should use `describe-bindings'. > > `describe-bindings' does not describe the bindings of a given > keymap. > > S?he should use `describe-keymap' (`C-h M-k'), from `help-fns+.el'. > > It describes the bindings in a keymap in the usual human-readable > way. You are prompted for a keymap variable (e.g., `ctl-x-map`), > with completion. (Non-interactively, the argument can be a keymap > itself or a keymap variable.) > > This or similar code should be in vanilla Emacs. (I've offered > any and all of my code.) > > https://www.emacswiki.org/emacs/download/help-fns%2b.el I copied and evaluated the describe-keymap function, but when I typed M-x describe-keymap I got the following error: save-current-buffer: Symbol=E2=80=99s function definition is void: Info-make-manuals-xref I couldn't find the definition of a function by that name in the file you indicated, so I'm guessing there's some dependencies involved and that I don't have. Could you provide a version of this function which works on current master without requiring these extra packages? Thanks, Stefan Kangas