From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: HD Newsgroups: gmane.emacs.help Subject: Keymap / char-table syntax Date: Sat, 31 Mar 2012 22:10:38 -0700 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=e89a8ff1c71e27625f04bc971895 X-Trace: dough.gmane.org 1333259194 31931 80.91.229.3 (1 Apr 2012 05:46:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 1 Apr 2012 05:46:34 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Apr 01 07:46:34 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1SEDcX-0006d7-6z for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Apr 2012 07:46:33 +0200 Original-Received: from localhost ([::1]:48627 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SEDcW-0001Pd-DI for geh-help-gnu-emacs@m.gmane.org; Sun, 01 Apr 2012 01:46:32 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59358) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SED3q-0006gN-Lg for help-gnu-emacs@gnu.org; Sun, 01 Apr 2012 01:10:43 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SED3p-0001Sf-0a for help-gnu-emacs@gnu.org; Sun, 01 Apr 2012 01:10:42 -0400 Original-Received: from mail-ob0-f169.google.com ([209.85.214.169]:63512) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SED3o-0001Sb-Pe for help-gnu-emacs@gnu.org; Sun, 01 Apr 2012 01:10:40 -0400 Original-Received: by obbta14 with SMTP id ta14so3176616obb.0 for ; Sat, 31 Mar 2012 22:10:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=IiU6Z16kcXqTe7mYL85sTPQ2C1ZwwV3bL9g9leuZslk=; b=sA+y4gZ3Al3cN59P7quUHBJ5P2LXuWKkEktgX1whOe7xkw/KCIpna2sML11/RS7Jmj X7WH5+k4z1WqLNVHMFACi5dsHzbSTvAol/Sf2ePvwplEvuGqN5suco189J/mCBkGc1X/ l0/KhCBy+5nqyzdsfLlkeCf0Yeaj+erpxSpJwRCv59h22AzHZ26/h6cWU3XEMB14T23r E4vML+EdOGskBbzH5g5QZnBJ9NrlWuLHbFxb2iAZHyaY6YPGbBrLMhUTdWz3eIOYFxxI O88j7GnoYtR3JAz0dUnUVi7nigcH/l/+ClNwm2XXASuzzIMpm8LtC3btzT1IFcWIGMnc CQtQ== Original-Received: by 10.60.21.103 with SMTP id u7mr5607180oee.11.1333257038160; Sat, 31 Mar 2012 22:10:38 -0700 (PDT) Original-Received: by 10.182.55.131 with HTTP; Sat, 31 Mar 2012 22:10:38 -0700 (PDT) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.214.169 X-Mailman-Approved-At: Sun, 01 Apr 2012 01:46:25 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:84235 Archived-At: --e89a8ff1c71e27625f04bc971895 Content-Type: text/plain; charset=ISO-8859-1 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 --e89a8ff1c71e27625f04bc971895 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hello.
When I evaluate "(pp esc-map)" it pretty-prints a keyma= p that starts with the lines

(keymap
=A0#^[nil nil keymap
=A0= =A0=A0 #^^[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 d= oes "(aref (nth 1 esc-map) 0)" return "mark-sexp"?

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

-HD
--e89a8ff1c71e27625f04bc971895--