From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai =?iso-8859-1?q?Gro=DFjohann?=) Newsgroups: gmane.emacs.help Subject: Re: Inconsistant Delete Key Date: Fri, 13 Sep 2002 23:47:46 +0200 Organization: University of Dortmund, Germany Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3d7c6002.2436493@news.demon.co.uk> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 8bit X-Trace: main.gmane.org 1031954170 3234 127.0.0.1 (13 Sep 2002 21:56:10 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 13 Sep 2002 21:56:10 +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 17pyQ3-0000pl-00 for ; Fri, 13 Sep 2002 23:56:07 +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 17pyQB-0008WT-00; Fri, 13 Sep 2002 17:56:15 -0400 Original-Path: shelby.stanford.edu!nntp.stanford.edu!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!eusc.inter.net!Informatik.Uni-Dortmund.DE!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: lucy.cs.uni-dortmund.de Mail-Copies-To: never User-Agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) Cancel-Lock: sha1:jRBqUuxNVPOnaNwvwMrKWZ+lYH4= Original-Xref: nntp.stanford.edu gnu.emacs.help:104894 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:1449 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1449 "CarlC" writes: > "Kai Großjohann" wrote in message > news:vafu1kv8d6n.fsf@lucy.cs.uni-dortmund.de... >> "CarlC" writes: >> >> > Here is the describe key output from my to edit sessions: >> > >> > --------------------------------------------- >> > GOOD: >> > DEL runs the command delete-char >> > -------------------------------------------------------- >> > BAD: >> > DEL runs the command backward-delete-char-untabify >> >> I think that you have a statement that binds DEL to delete-char in >> your ~/.emacs file. Don't do that. > > I have [delete] bound to delete-char. I don't have any references to DEL. That's okay, then. (You don't have reference to ^? or C-? either, right? Okay, okay, just a check.) >> You should arrange that Emacs sees when you hit the delete >> key and DEL when you hit the backspace key. DEL is ascii 127. > > I _believe_ that my "delete" key sends 127 and my "backspace" key send ^H. Whee. So what might be wrong? Does it help to frob normal-erase-is-backspace (from customize only, use function normal-erase-is-backspace-mode from Lisp)? And then, you can still do (define-key emacs-lisp-mode-map (kbd "") 'delete-char) I wonder if that does anything useful. (It takes effect only for *.el files.) kai -- ~/.signature is: umop 3p!sdn (Frank Nobis)