From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.bugs Subject: bug#4393: 23.1; doc string of accessible-keymaps Date: Thu, 10 Sep 2009 22:06:24 -0400 Message-ID: References: <5AEE0882D73D443C9293E91EDEB9C00B@us.oracle.com> Reply-To: Stefan Monnier , 4393@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1252636121 9857 80.91.229.12 (11 Sep 2009 02:28:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 11 Sep 2009 02:28:41 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, 4393@emacsbugs.donarmstrong.com To: Drew Adams Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 11 04:28:33 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MlvsH-0005XD-9g for geb-bug-gnu-emacs@m.gmane.org; Fri, 11 Sep 2009 04:28:33 +0200 Original-Received: from localhost ([127.0.0.1]:53912 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MlvsG-0004iX-Ln for geb-bug-gnu-emacs@m.gmane.org; Thu, 10 Sep 2009 22:28:32 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Mlvqt-00045K-5C for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 22:27:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mlvqo-0003yk-Aj for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 22:27:06 -0400 Original-Received: from [199.232.76.173] (port=47211 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mlvqo-0003yc-5G for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 22:27:02 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:49735) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Mlvqn-000157-IJ for bug-gnu-emacs@gnu.org; Thu, 10 Sep 2009 22:27:01 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8B2QxtI024123; Thu, 10 Sep 2009 19:26:59 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.14.3/8.14.3/Submit) id n8B2F7Os022057; Thu, 10 Sep 2009 19:15:07 -0700 Resent-Date: Thu, 10 Sep 2009 19:15:07 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Stefan Monnier Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs 2Resent-Date: Fri, 11 Sep 2009 02:15:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 4393 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 4393-submit@emacsbugs.donarmstrong.com id=B4393.125263479220674 (code B ref 4393); Fri, 11 Sep 2009 02:15:06 +0000 Original-Received: (at 4393) by emacsbugs.donarmstrong.com; 11 Sep 2009 02:06:32 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from ironport2-out.pppoe.ca (ironport2-out.pppoe.ca [206.248.154.183] (may be forged)) by rzlab.ucr.edu (8.14.3/8.14.3/Debian-5) with ESMTP id n8B26Utq020663 for <4393@emacsbugs.donarmstrong.com>; Thu, 10 Sep 2009 19:06:32 -0700 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AtkEAOBNqUpFpZBe/2dsb2JhbACBU90HhBgFh20 X-IronPort-AV: E=Sophos;i="4.44,367,1249272000"; d="scan'208";a="45549650" Original-Received: from 69-165-144-94.dsl.teksavvy.com (HELO pastel.home) ([69.165.144.94]) by ironport2-out.pppoe.ca with ESMTP; 10 Sep 2009 22:04:54 -0400 Original-Received: by pastel.home (Postfix, from userid 20848) id DBA167F87; Thu, 10 Sep 2009 22:06:24 -0400 (EDT) In-Reply-To: <5AEE0882D73D443C9293E91EDEB9C00B@us.oracle.com> (Drew Adams's message of "Thu, 10 Sep 2009 16:31:14 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Resent-Date: Thu, 10 Sep 2009 22:27:06 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:30940 Archived-At: > (accessible-keymaps (current-global-map)) [...] > Search for [f2] in the result sexp. You'll find this: > ([f2] . t). That's one of the entries in the alist returned by > `accessible-keymaps'. > There are two other entries with cdr = t: ([24 11] . t) and > ([24 54] . t). All the other entries have a keymap as cdr. It turns out that these are prefixes bound to autoloaded keymaps that haven't yet been loaded (and they also happen to be the same keymap). `accessible-keymaps' does not autoload keymaps. I guess it should return ([f2] . 2C-command) and ([24 54] . 2C-command). Stefan