From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Corneli Newsgroups: gmane.emacs.help Subject: Re: keymap problem Date: Sun, 20 Mar 2005 10:14:47 -0600 Message-ID: References: <348%d.20410$Pz7.15394@newssvr13.news.prodigy.com> NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1111335222 26114 80.91.229.2 (20 Mar 2005 16:13:42 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 20 Mar 2005 16:13:42 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Mar 20 17:13:41 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1DD33G-0005R6-G5 for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2005 17:13:18 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD3KB-0003ok-Mj for geh-help-gnu-emacs@m.gmane.org; Sun, 20 Mar 2005 11:30:47 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1DD3Jn-0003nE-AD for help-gnu-emacs@gnu.org; Sun, 20 Mar 2005 11:30:23 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1DD3Jj-0003lM-L4 for help-gnu-emacs@gnu.org; Sun, 20 Mar 2005 11:30:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1DD3Jj-0003ks-I6 for help-gnu-emacs@gnu.org; Sun, 20 Mar 2005 11:30:19 -0500 Original-Received: from [146.6.139.124] (helo=dell3.ma.utexas.edu) by monty-python.gnu.org with esmtp (Exim 4.34) id 1DD34i-0004zU-Ks for help-gnu-emacs@gnu.org; Sun, 20 Mar 2005 11:14:48 -0500 Original-Received: from lab45.ma.utexas.edu (mail@lab45.ma.utexas.edu [128.83.133.159]) by dell3.ma.utexas.edu (8.11.0.Beta3/8.10.2) with ESMTP id j2KGElQ18601; Sun, 20 Mar 2005 10:14:47 -0600 Original-Received: from jcorneli by lab45.ma.utexas.edu with local (Exim 3.36 #1 (Debian)) id 1DD34h-0001XH-00; Sun, 20 Mar 2005 10:14:47 -0600 Original-To: help-gnu-emacs@gnu.org In-reply-to: <348%d.20410$Pz7.15394@newssvr13.news.prodigy.com> (message from no spam on Sun, 20 Mar 2005 05:43:28 GMT) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org X-MailScanner-To: geh-help-gnu-emacs@m.gmane.org Xref: news.gmane.org gmane.emacs.help:25037 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:25037 You can always use M-x help RET k KEY until you figure out what all your keys are bound to. For example, if I use command and hit the big key on the upper-right corner of the keyboard when KEY is needed, a help window is brought up that says DEL (translated from ) runs the command previous-line which is an interactive compiled Lisp function in `simple'. [Bla bla bla.] Then I type M-x command-history, and I see (describe-key "^?" 1 nil) where the ^ and the ? are all part of one control character. All you need to do next is cut and paste that form into your .emacs and then edit it into a `global-set-key' form to do whatever you want, (global-set-key "^?" 'delete-backward-char-untabify) for example. That should be enough to get you started?