From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: having trouble adding a key to an existing mode-map Date: Wed, 18 Dec 2013 09:51:00 -0800 (PST) Message-ID: <951189c2-3306-4128-a04f-861ed947aa01@default> References: <87ob4em5g7.fsf@nyu.edu> <87ppou3vqk.fsf@gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1387389115 29971 80.91.229.3 (18 Dec 2013 17:51:55 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2013 17:51:55 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Jambunathan K , gottlieb@nyu.edu Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 18 18:52:00 2013 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 1VtLHo-000254-MR for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 18:51:56 +0100 Original-Received: from localhost ([::1]:39962 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtLHo-0003Fy-Cu for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 12:51:56 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41089) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtLH7-0002Wf-Bd for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:51:20 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtLGz-0000U5-SY for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:51:13 -0500 Original-Received: from userp1040.oracle.com ([156.151.31.81]:36577) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtLGz-0000Tj-Kz for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:51:05 -0500 Original-Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by userp1040.oracle.com (Sentrion-MTA-4.3.1/Sentrion-MTA-4.3.1) with ESMTP id rBIHp2Hv004433 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Wed, 18 Dec 2013 17:51:02 GMT Original-Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBIHp1IF004118 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 18 Dec 2013 17:51:01 GMT Original-Received: from abhmp0013.oracle.com (abhmp0013.oracle.com [141.146.116.19]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id rBIHp1uV004104; Wed, 18 Dec 2013 17:51:01 GMT In-Reply-To: <87ppou3vqk.fsf@gmail.com> X-Priority: 3 X-Mailer: Oracle Beehive Extensions for Outlook 2.0.1.8 (707110) [OL 12.0.6680.5000 (x86)] X-Source-IP: acsinet21.oracle.com [141.146.126.237] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.4.x-2.6.x [generic] X-Received-From: 156.151.31.81 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:95081 Archived-At: > > But 116 is not "t"; it is down. > But 116 (decimal) is t. (IOW, 116 is the character `t'. In Emacs Lisp, characters are natural numb= ers- but not all natural numbers are characters.) Using `C-h v' to view a keymap is not very user-friendly. A better way is to load `help-fns+.el' and then use `C-h M-k', which is command `describe-keymap'. It prompts you for the keymap symbol - in this case, `nroff-mode-map', and then lists the keys bound in that map, in a human-readable way. http://www.emacswiki.org/emacs/download/help-fns%2b.el