From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#14797: 24.3.50; new, undocumented menu structure using VECTORS? Date: Sat, 06 Aug 2016 17:42:50 +0300 Message-ID: <83k2fuj6vp.fsf@gnu.org> References: <6b4ca396-4d2b-4719-8b1e-1ef9eb6f5610@default> <87d1lm6o2p.fsf@users.sourceforge.net> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1470494665 20422 195.159.176.226 (6 Aug 2016 14:44:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 6 Aug 2016 14:44:25 +0000 (UTC) Cc: monnier@iro.umontreal.ca, 14797@debbugs.gnu.org To: npostavs@users.sourceforge.net Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Aug 06 16:44:21 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW2pj-0003xr-Sh for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2016 16:44:16 +0200 Original-Received: from localhost ([::1]:49637 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW2pg-00067o-MA for geb-bug-gnu-emacs@m.gmane.org; Sat, 06 Aug 2016 10:44:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49959) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW2pa-00067g-Ei for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 10:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW2pW-0007XF-AJ for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 10:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW2pW-0007XB-6n for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 10:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bW2pW-0008Ni-2M for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2016 10:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2016 14:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 14797 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 14797-submit@debbugs.gnu.org id=B14797.147049459932160 (code B ref 14797); Sat, 06 Aug 2016 14:44:02 +0000 Original-Received: (at 14797) by debbugs.gnu.org; 6 Aug 2016 14:43:19 +0000 Original-Received: from localhost ([127.0.0.1]:58068 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW2op-0008Me-IJ for submit@debbugs.gnu.org; Sat, 06 Aug 2016 10:43:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bW2oo-0008MR-6P for 14797@debbugs.gnu.org; Sat, 06 Aug 2016 10:43:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bW2og-0007Oy-2P for 14797@debbugs.gnu.org; Sat, 06 Aug 2016 10:43:13 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35908) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bW2of-0007Ou-Vo; Sat, 06 Aug 2016 10:43:10 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:2236 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1bW2oa-0004ED-7f; Sat, 06 Aug 2016 10:43:05 -0400 In-reply-to: <87d1lm6o2p.fsf@users.sourceforge.net> (npostavs@users.sourceforge.net) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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: 208.118.235.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:121902 Archived-At: > From: npostavs@users.sourceforge.net > Date: Sat, 06 Aug 2016 09:09:50 -0400 > Cc: Stefan Monnier , 14797@debbugs.gnu.org > > --- a/doc/lispref/keymaps.texi > +++ b/doc/lispref/keymaps.texi > @@ -199,6 +199,14 @@ Format of Keymaps > bindings. A keymap with such a char-table is called a @dfn{full > keymap}. Other keymaps are called @dfn{sparse keymaps}. > > +@item @var{vector} > +This kind of element is similar to a char-table: element @var{n} is > +the binding for the character with code @var{n}. Since the range of > +characters that can be bound this way is limited by the vector size, > +and vector creation allocates space for all character codes from 0 up, > +this format should not be used except for creating menu keymaps > +(@pxref{Menu Keymaps}), where the bindings themselves don't matter. > + > @item @var{string} > @cindex keymap prompt string > @cindex overall prompt string LGTM, except that "the character with code N" could use some better wording. How about ... element whose index is @var{c} is the binding for the character @var{c}. instead?