From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: gottlieb@nyu.edu Newsgroups: gmane.emacs.help Subject: having trouble adding a key to an existing mode-map Date: Wed, 18 Dec 2013 12:31:20 -0500 Message-ID: <87ob4em5g7.fsf@nyu.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1387387902 14952 80.91.229.3 (18 Dec 2013 17:31:42 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Dec 2013 17:31:42 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Dec 18 18:31:47 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 1VtKyH-0005Ai-WE for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 18:31:46 +0100 Original-Received: from localhost ([::1]:39882 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtKyH-00007b-Ks for geh-help-gnu-emacs@m.gmane.org; Wed, 18 Dec 2013 12:31:45 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36547) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtKy2-000079-Mv for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:31:38 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1VtKxu-0002gz-W6 for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:31:30 -0500 Original-Received: from smtp.cs.nyu.edu ([128.122.49.97]:43807) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1VtKxu-0002gi-SW for help-gnu-emacs@gnu.org; Wed, 18 Dec 2013 12:31:22 -0500 Original-Received: from newlap.localdomain (ool-182df3df.dyn.optonline.net [24.45.243.223]) (authenticated bits=0) by smtp.cs.nyu.edu (8.14.3/8.14.4) with ESMTP id rBIHVLoK018790 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Wed, 18 Dec 2013 12:31:21 -0500 (EST) Original-Received: by newlap.localdomain (Postfix, from userid 1000) id F2408A90F7; Wed, 18 Dec 2013 12:31:20 -0500 (EST) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 128.122.49.97 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:95079 Archived-At: My actual goal is to bind C-c t when in nroff mode to my command ajg-preview-troff. To isolate any of my code I have tried emacs -Q -nw (require 'nroff-mode) (define-key nroff-mode-map "t" 'dired) nroff-mode-map The result is (keymap (116 . dired) ...) But 116 is not "t"; it is down. Where is my error? thanks, allan