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: Sat, 24 Aug 2019 05:01:28 +0200 Message-ID: References: <831b5f34-28c7-4753-bed9-0a28de484aa8@default> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000004bb8a00590d424a6" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="259685"; 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 Sat Aug 24 05:02:12 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 1i1MJf-0015Nx-Kb for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Aug 2019 05:02:11 +0200 Original-Received: from localhost ([::1]:35772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1MJd-0004h7-UI for geb-bug-gnu-emacs@m.gmane.org; Fri, 23 Aug 2019 23:02:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41064) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1MJX-0004gp-Ad for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 23:02:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1MJW-0004wf-CL for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 23:02:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60870) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1MJW-0004wZ-8Y for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 23:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1MJW-0006GJ-3M for bug-gnu-emacs@gnu.org; Fri, 23 Aug 2019 23:02:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Aug 2019 03:02:02 +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.156661570824052 (code B ref 30660); Sat, 24 Aug 2019 03:02:02 +0000 Original-Received: (at 30660) by debbugs.gnu.org; 24 Aug 2019 03:01:48 +0000 Original-Received: from localhost ([127.0.0.1]:41458 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1MJI-0006Fr-5v for submit@debbugs.gnu.org; Fri, 23 Aug 2019 23:01:48 -0400 Original-Received: from mail-pf1-f173.google.com ([209.85.210.173]:41809) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1i1MJF-0006Fc-Rm for 30660@debbugs.gnu.org; Fri, 23 Aug 2019 23:01:47 -0400 Original-Received: by mail-pf1-f173.google.com with SMTP id 196so7794297pfz.8 for <30660@debbugs.gnu.org>; Fri, 23 Aug 2019 20:01:45 -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:references:in-reply-to:from:date :message-id:subject:to:cc; bh=B8q/41aAzhTeO3wsNZgESYjn/pQMQfaDtqzFckBmFIU=; b=HkPjeI3sSkITRcGXjQ/lJS4tp4ptG7Dg2rfC0fPJg/9RqRCCnKoY57jKLsNQfmcdfk SfA8AykDNzkRGQFQytMJq2ngsjxD1k1+mdhvednD2nrwhist6jzuaFBCtmaxndGxD/a3 weI4yccpAYEotaYKvQwqc/YF4mp13Aqo9w/ZNOpjEcw/dHduOlAPBp9+yaU+k1OdnDaC z8UNt3vq4qVQX9RhONnai5bZ4n+v1hE3X11G9u4XrMQ2iQdJhqwOuwJwxGhBIt0vNvCY ohFM/5RcCQoZyKKHb14AttHPHGUiklLVBMbwZStrmNyEKiX9iY2zHQLvRizJcRdP4V5g 7VWA== X-Gm-Message-State: APjAAAXnATbps7XInYOoNw0Rh2aZ6ok/xIQ/BbnS2sr2EZZaHij6ENN4 IQ+3cjQlhoPUR9ZQ/YEwuiewekFKP9ElLrwn+LY= X-Google-Smtp-Source: APXvYqxHMr8HUWzEEY80jSfH//2+t7Ree4jwzMKD2a6zmQ/sVYhXvynRw2gTyeWX8RKJHe1r5/yS+dCtwk8wFdEi1Q4= X-Received: by 2002:a63:69c1:: with SMTP id e184mr6336635pgc.198.1566615699948; Fri, 23 Aug 2019 20:01:39 -0700 (PDT) In-Reply-To: <831b5f34-28c7-4753-bed9-0a28de484aa8@default> 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:165739 Archived-At: --0000000000004bb8a00590d424a6 Content-Type: text/plain; charset="UTF-8" Drew Adams writes: > KEYMAP can be a keymap, instead of a symbol. Thanks for the clarifications. I've now packaged up a proposed patch with some cleanups and adaptions. It would be great if someone could review this. Best regards, Stefan Kangas --0000000000004bb8a00590d424a6 Content-Type: application/octet-stream; name="0001-Add-new-help-function-describe-keymap.patch" Content-Disposition: attachment; filename="0001-Add-new-help-function-describe-keymap.patch" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_jzoyizw50 RnJvbSA5MWY0YThmMTBlMmFhMGRmOWNlZWUxYzhjODIzZWY4MmI4NTZjMTIyIE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBTdGVmYW4gS2FuZ2FzIDxzdGVmYW5rYW5nYXNAZ21haWwuY29t PgpEYXRlOiBTYXQsIDI0IEF1ZyAyMDE5IDAxOjAyOjA0ICswMjAwClN1YmplY3Q6IFtQQVRDSF0g QWRkIG5ldyBoZWxwIGZ1bmN0aW9uIGRlc2NyaWJlLWtleW1hcAoKVGhpcyBjb2RlIHdhcyB3cml0 dGVuIGJ5IERyZXcgQWRhbXMgd2l0aCBtaW5vciBjbGVhbnVwcyBhbmQgc3R5bGlzdGljCmNoYW5n ZXMgYnkgU3RlZmFuIEthbmdhcy4KUmVmOiBodHRwczovL2RlYmJ1Z3MuZ251Lm9yZy9jZ2kvYnVn cmVwb3J0LmNnaT9idWc9MzA2NjAKCiogbGlzcC9oZWxwLWZucy5lbCAoZGVzY3JpYmUta2V5bWFw KTogTmV3IGZ1bmN0aW9uIHRvIHNob3cga2V5CmJpbmRpbmdzIGZvciBhIGdpdmVuIGtleW1hcC4g IChCdWcjMzA2NjApCiogbGlzcC9oZWxwLmVsIChoZWxwLW1hcCk6IEJpbmQgdGhlIG5ldyBmdW5j dGlvbiB0byAiQy1oIE0iLgoqIGxpc3AvaGVscC5lbCAoaGVscC1mb3ItaGVscC1pbnRlcm5hbCk6 IERvY3VtZW50IHdoYXQgIkMtaCBNIiBkb2VzCndoZW4gdXNlciB0eXBlcyAiQy1oIEMtaCIuCi0t LQogbGlzcC9oZWxwLWZucy5lbCB8IDY2ICsrKysrKysrKysrKysrKysrKysrKysrKysrKysr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RvIG5vdCBvbmx5IHNlZSB0aGUgYmluZGluZ3MgYnV0IGFsc28gdG8gaWRlbnRpZnkgdGhl CituYW1lIG9mIHRoZSBrZXltYXAgaW4gcXVlc3Rpb24uIgorICAoaW50ZXJhY3RpdmUgKGxpc3QK KyAgICAgICAgICAgICAgICAoaW50ZXJuIChjb21wbGV0aW5nLXJlYWQgIktleW1hcDogIiBvYmFy cmF5CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChsYW1iZGEgKG0p CisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgKGFuZCAoYm91bmRw IG0pCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAoa2V5 bWFwcCAoc3ltYm9sLXZhbHVlIG0pKSkpCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgIHQgbmlsICd2YXJpYWJsZS1uYW1lLWhpc3RvcnkpKSkpCisgICh1bmxlc3MgKGFu ZCAoc3ltYm9scCBrZXltYXApCisgICAgICAgICAgICAgICAoYm91bmRwIGtleW1hcCkKKyAgICAg ICAgICAgICAgIChrZXltYXBwIChzeW1ib2wtdmFsdWUga2V5bWFwKSkpCisgICAgKGlmIChub3Qg KGtleW1hcHAga2V5bWFwKSkKKyAgICAgICAgKGlmIChzeW1ib2xwIGtleW1hcCkKKyAgICAgICAg ICAgIChlcnJvciAiTm90IGEga2V5bWFwIHZhcmlhYmxlOiAlUyIga2V5bWFwKQorICAgICAgICAg IChlcnJvciAiTm90IGEga2V5bWFwIikpCisgICAgICAobGV0ICgoc3ltIG5pbCkpCisgICAgICAg ICh3aGVuIHNlYXJjaC1zeW1ib2xzLXAKKyAgICAgICAgICAoc2V0cSBzeW0gKGNhdGNoICdkZXNj cmliZS1rZXltYXAKKyAgICAgICAgICAgICAgICAgICAgICAobWFwYXRvbXMgKGxhbWJkYSAoc3lt YikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAod2hlbiAoYW5kIChib3VuZHAg c3ltYikKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgIChlcSAo c3ltYm9sLXZhbHVlIHN5bWIpIGtleW1hcCkKKyAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgIChub3QgKGVxIHN5bWIgJ2tleW1hcCkpCisgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgICAgICAodGhyb3cgJ2Rlc2NyaWJlLWtleW1hcCBzeW1i KSkpKSkKKyAgICAgICAgICAgICAgICAgICAgICBuaWwpKSkKKyAgICAgICAgKHVubGVzcyBzeW0K KyAgICAgICAgICAoc2V0cSBzeW0gKGNsLWdlbnRlbXAgIktFWU1BUCBPQkpFQ1QgKG5vIHZhcmlh YmxlKSAiKSkKKyAgICAgICAgICAoc2V0IHN5bSBrZXltYXApKQorICAgICAgICAoc2V0cSBrZXlt YXAgc3ltKSkpKQorICA7OyBGb2xsb3cgYWxpYXNpbmcuCisgIChzZXRxIGtleW1hcCAob3IgKGln bm9yZS1lcnJvcnMgKGluZGlyZWN0LXZhcmlhYmxlIGtleW1hcCkpIGtleW1hcCkpCisgIChsZXQq ICgobmFtZSAoc3ltYm9sLW5hbWUga2V5bWFwKSkKKyAgICAgICAgIChkb2MgKGRvY3VtZW50YXRp b24tcHJvcGVydHkga2V5bWFwICd2YXJpYWJsZS1kb2N1bWVudGF0aW9uKSkKKyAgICAgICAgIChm aWxlLW5hbWUgKGZpbmQtbGlzcC1vYmplY3QtZmlsZS1uYW1lIGtleW1hcCAnZGVmdmFyKSkpCisg ICAgKGhlbHAtc2V0dXAteHJlZiAobGlzdCAjJ2Rlc2NyaWJlLWtleW1hcCBrZXltYXApCisgICAg ICAgICAgICAgICAgICAgICAoY2FsbGVkLWludGVyYWN0aXZlbHktcCAnaW50ZXJhY3RpdmUpKQor ICAgICh3aXRoLWhlbHAtd2luZG93IChoZWxwLWJ1ZmZlcikKKyAgICAgIChwcmluYyAoZm9ybWF0 LW1lc3NhZ2UgIiVTIiBrZXltYXApKQorICAgICAgKHByaW5jIChmb3JtYXQtbWVzc2FnZQorICAg ICAgICAgICAgICAiIGlzIGEga2V5bWFwIHZhcmlhYmxlIGRlZmluZWQgaW4gYCVzJy5cblxuIgor ICAgICAgICAgICAgICAoaWYgKGVxIGZpbGUtbmFtZSAnQy1zb3VyY2UpCisgICAgICAgICAgICAg ICAgICAiQyBzb3VyY2UgY29kZSIKKyAgICAgICAgICAgICAgICAoZmlsZS1uYW1lLW5vbmRpcmVj dG9yeSBmaWxlLW5hbWUpKSkpCisgICAgICAod2l0aC1jdXJyZW50LWJ1ZmZlciBzdGFuZGFyZC1v dXRwdXQKKyAgICAgICAgKHNhdmUtZXhjdXJzaW9uCisgICAgICAgICAgKHJlLXNlYXJjaC1iYWNr d2FyZCAoc3Vic3RpdHV0ZS1jb21tYW5kLWtleXMKKyAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAiYFxcKFteYCddK1xcKSciKQorICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgbmls IHQpCisgICAgICAgICAgKGhlbHAteHJlZi1idXR0b24gMSAnaGVscC12YXJpYWJsZS1kZWYKKyAg ICAgICAgICAgICAgICAgICAgICAgICAgICBrZXltYXAgZmlsZS1uYW1lKSkpCisgICAgICAod2hl biAoYW5kIChub3QgKGVxdWFsICIiIGRvYykpIGRvYykKKyAgICAgICAgKHByaW5jICJEb2N1bWVu dGF0aW9uOlxuIikKKyAgICAgICAgKHByaW5jIChmb3JtYXQtbWVzc2FnZSAiJXNcblxuIiBkb2Mp KSkKKyAgICAgIDs7IFVzZSBgaW5zZXJ0JyBpbnN0ZWFkIG9mIGBwcmluYycsIHNvIGNvbnRyb2wg Y2hhcnMgKGUuZy4gXDM3NykKKyAgICAgIDs7IGluc2VydCBjb3JyZWN0bHkuCisgICAgICAod2l0 aC1jdXJyZW50LWJ1ZmZlciAiKkhlbHAqIgorICAgICAgICA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