From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bob Babcock Newsgroups: gmane.emacs.help Subject: Re: How do I make the delete key work? Date: Tue, 24 Dec 2002 03:10:22 GMT Organization: EarthLink Inc. -- http://www.EarthLink.net Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <340bc066.0212231242.64277e4c@posting.google.com> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1040699715 29614 80.91.224.249 (24 Dec 2002 03:15:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Tue, 24 Dec 2002 03:15:15 +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 18QfXE-0007hV-00 for ; Tue, 24 Dec 2002 04:15:12 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10.13) id 18QfXY-0005jN-00 for gnu-help-gnu-emacs@m.gmane.org; Mon, 23 Dec 2002 22:15:32 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!snoopy.risq.qc.ca!newsfeed.news2me.com!newsfeed2.earthlink.net!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!tornadotest1.news.pas.earthlink.net.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help User-Agent: Xnews/05.08.12 Original-Lines: 13 Original-NNTP-Posting-Host: 66.167.185.2 Original-X-Complaints-To: abuse@earthlink.net Original-X-Trace: tornadotest1.news.pas.earthlink.net 1040699422 66.167.185.2 (Mon, 23 Dec 2002 19:10:22 PST) Original-NNTP-Posting-Date: Mon, 23 Dec 2002 19:10:22 PST Original-Xref: shelby.stanford.edu gnu.emacs.help:108457 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1b5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Help: List-Post: List-Subscribe: , List-Archive: List-Unsubscribe: , Errors-To: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:4986 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:4986 lng2@spray.se (Lars Gustafsson) wrote in news:340bc066.0212231242.64277e4c@posting.google.com: > How do I make the delete key work? (require 'delbs) is supposed to > work for XEmacs. But it doesn't work for Emacs. I want it to delete > the character just right of where the cursor is. I use these with emacs 20.7.1 under Win/2K: (global-set-key [delete] 'delete-char) (global-set-key "\C-h" 'delete-backward-char) (global-set-key "\C-?" 'delete-backward-char) (define-key emacs-lisp-mode-map "\C-?" 'delete-backward-char)