unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* Keymap / char-table syntax
@ 2012-04-01  5:10 HD
  2012-04-05  6:33 ` HD
  0 siblings, 1 reply; 3+ messages in thread
From: HD @ 2012-04-01  5:10 UTC (permalink / raw)
  To: help-gnu-emacs

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

Hello.
When I evaluate "(pp esc-map)" it pretty-prints a keymap that starts with
the lines

(keymap
 #^[nil nil keymap
    #^^[3 0 mark-sexp beginning-of-defun backward-sexp ...

...and so on

Can someone explain this syntax?
eg Why is keymap the 3rd element in the char-table, and what does the "nil
nil" before it signify?
What is "#^^[3 0" ? What do the 3 and 0 mean here?

why does "(aref (nth 1 esc-map) 0)" return "mark-sexp"?

I couldn't find answers in the manuals for emacs or elisp, except maybe
that "#^[ nil nil keymap" means character code 3 corresponds to a keymap in
this char-table

-HD

[-- Attachment #2: Type: text/html, Size: 727 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-04-05  6:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <mailman.257.1333259187.20052.help-gnu-emacs@gnu.org>
2012-04-01  8:17 ` Keymap / char-table syntax Pascal J. Bourguignon
2012-04-01  5:10 HD
2012-04-05  6:33 ` HD

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).