all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* full keymap description in the Emacs Lisp manual (21-2.8)
@ 2003-08-05 14:43 Kevin Rodgers
  0 siblings, 0 replies; only message in thread
From: Kevin Rodgers @ 2003-08-05 14:43 UTC (permalink / raw)
  Cc: bug-gnu-emacs

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-08-05 14:43 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-08-05 14:43 full keymap description in the Emacs Lisp manual (21-2.8) Kevin Rodgers

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.