From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Paul Edwards" Newsgroups: gmane.emacs.help Subject: Re: simple editor required Date: Wed, 11 Jun 2003 09:23:57 GMT Organization: BigPond Internet Services (http://www.bigpond.net.au) Sender: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <5l7k7uc8x1.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1055323515 18657 80.91.224.249 (11 Jun 2003 09:25:15 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 11 Jun 2003 09:25:15 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 11 11:25:13 2003 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 19Q1qd-0004pU-00 for ; Wed, 11 Jun 2003 11:24:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19Q1rQ-0005E6-BC for gnu-help-gnu-emacs@m.gmane.org; Wed, 11 Jun 2003 05:25:40 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeed01.tsnz.net!ken-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 31 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Original-NNTP-Posting-Host: 144.132.167.28 Original-X-Complaints-To: abuse@bigpond.net.au Original-X-Trace: news-server.bigpond.net.au 1055323437 144.132.167.28 (Wed, 11 Jun 2003 19:23:57 EST) Original-NNTP-Posting-Date: Wed, 11 Jun 2003 19:23:57 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:114355 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:10849 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:10849 "Stefan Monnier" wrote in message news:5l7k7uc8x1.fsf@rum.cs.yale.edu... > >> (global-set-key (kbd "") #'delete-char) > > Unfortunately this command doesn't work. I get the same old > > Am I talking to a wall or what ? > Have you tried (define-key function-key-map [delete] "\C-d") ? In the message you responded to I also showed that this didn't work (or a slight variation, anyway). I actually tried both that and the slight variation yesterday, neither worked. But just to be sure, I tried the above again today, and still no effect. I know that I am getting a DEL go through to emacs, because emacs tells me so. I know that emacs is binding DEL to delete-backward-char, because emacs tells me so. What I can't do is coax emacs into shifting the binding of DEL from delete-backward-char to delete-char. And I know the other commands that have been recommended have been typed in correctly, because xemacs accepts them and behaves as expected. Unfortunately xemacs has different problems, which means it isn't so simple to just use xemacs, and I would ideally like the emacs I use to work as expected. Actually, I have an idea. Maybe I can hack the executable and change the default from delete-backward-char to delete-char? BFN. Paul.