bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

full keymap description in the Emacs Lisp manual (21-2.8)


From: Kevin Rodgers
Subject: full keymap description in the Emacs Lisp manual (21-2.8)
Date: Tue, 05 Aug 2003 08:43:26 -0600
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

The "Format of Keymaps" node of the Lisp manual describes a VECTOR element of a
keymap as binding the ASCII characters (codes 0 through 127).  The next node,
"Creating Keymaps", says that make-keymap creates a full keymap containing a
char-table of 384 slots.  But (length (cadr (make-keymap))) returns 507904 on my
system: GNU Emacs 21.3 .1 (i386-pc-solaris2.7, X toolkit).

So it's not clear whether codes 128 through 383 can be bound in a full keymap,
not to mention codes 384 through 507,903.

I think the "Format of Keymaps" node should refer to CHAR-TABLE       instead of
VECTOR.  If codes 128 through 255 can be bound, I think it should refer to
"ASCII and ISO 8859-N characters" instead of "ASCII characters".  And if codes
256 through 383 can be bound, it should say "and 128 additional characters from
another character set" and the "Creating Keymaps" node should say something
about what that character set is and how the codes are interpreted.

--
Kevin Rodgers






reply via email to

[Prev in Thread] Current Thread [Next in Thread]