From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: john.nospam@nospamassen.nospamdemon.co.uk (John McCabe) Newsgroups: gmane.emacs.help Subject: Re: Inconsistant Delete Key Date: Wed, 11 Sep 2002 08:26:12 GMT Sender: help-gnu-emacs-admin@gnu.org Message-ID: <3d7efc39.1522729@news.demon.co.uk> References: <3d7c6002.2436493@news.demon.co.uk> NNTP-Posting-Host: localhost.gmane.org X-Trace: main.gmane.org 1031733368 17836 127.0.0.1 (11 Sep 2002 08:36:08 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Sep 2002 08:36:08 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17p2yk-0004dQ-00 for ; Wed, 11 Sep 2002 10:36:06 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17p2yq-0003P9-00; Wed, 11 Sep 2002 04:36:12 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!canoe.uoregon.edu!logbridge.uoregon.edu!kibo.news.demon.net!news.demon.co.uk!demon!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 29 Original-NNTP-Posting-Host: pipehawk.demon.co.uk Original-X-Trace: news.demon.co.uk 1031732565 17718 158.152.226.81 (11 Sep 2002 08:22:45 GMT) Original-X-Complaints-To: abuse@demon.net Original-NNTP-Posting-Date: Wed, 11 Sep 2002 08:22:45 +0000 (UTC) X-Newsreader: Forte Free Agent 1.21/32.243 Original-Xref: nntp.stanford.edu gnu.emacs.help:104724 Original-To: help-gnu-emacs@gnu.org Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1282 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1282 On Tue, 10 Sep 2002 21:32:26 GMT, "CarlC" wrote: >One thing that bothers me on this is that it is calling this key DEL. I >assume this is the same as [delete]. I also assume that [delete] is >synonymous with octal 177 value. In emacs-lips mode, with the setting I mentioned earlier, I find that the Backspace key on my keyboard returns: ========== DEL runs the command backward-delete-char-untabify which is an interactive compiled Lisp function in `simple'. (backward-delete-char-untabify ARG &optional KILLP) ========== So what you are talking about appears to be the backspace key, in which case you're trying to map the backspace key (which is synonymous with \177) to delete-char. In that case you should be able to use: (global-set-key [backspace] 'delete-char) What system are you using? If it's a windows system, does the key you're referring to the one above the Enter key or the key marked "Delete" in the "Home", "Insert", "End", "Delete", "Page Up", "Page Down" block?