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, 18 Jun 2003 09:50:51 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: <%BWHa.584$H5.7401@news-server.bigpond.net.au> References: <8465nduadj.fsf@lucy.is.informatik.uni-duisburg.de> <5lfzmgbrio.fsf@rum.cs.yale.edu> <84el1zcze6.fsf@lucy.is.informatik.uni-duisburg.de> <841xxzto54.fsf@lucy.is.informatik.uni-duisburg.de> <5lu1aqcev2.fsf@rum.cs.yale.edu> <5lvfv4bsep.fsf@rum.cs.yale.edu> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1055930281 1538 80.91.224.249 (18 Jun 2003 09:58:01 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Wed, 18 Jun 2003 09:58:01 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+gnu-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 18 11:58:00 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 19SZhX-0000OP-00 for ; Wed, 18 Jun 2003 11:57:59 +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 19SZf0-0002Cw-6v for gnu-help-gnu-emacs@m.gmane.org; Wed, 18 Jun 2003 05:55:22 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!enews.sgi.com!news.xtra.co.nz!newsfeeds.ihug.co.nz!ihug.co.nz!ken-transit.news.telstra.net!news.telstra.net!news-server.bigpond.net.au!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 25 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 1055929851 144.132.167.28 (Wed, 18 Jun 2003 19:50:51 EST) Original-NNTP-Posting-Date: Wed, 18 Jun 2003 19:50:51 EST Original-Xref: shelby.stanford.edu gnu.emacs.help:114546 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:11038 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11038 "Stefan Monnier" wrote in message news:5lvfv4bsep.fsf@rum.cs.yale.edu... > > (define-key function-key-map "\C-?" "\C-d") > > after commenting out the thing that actually works, the > > above doesn't do anything, ie DEL is still backspace. > > I think you're right. My brain is still full of crap. > The mapping is ignored because there's a binding for ?\C-?, > so you'd want to use key-translation-map instead: > > (define-key key-translation-map "\C-?" "\C-d") This worked, so I have adopted it and commented out the other thing that worked, as your one is more generic, in case I ever use non-text mode. > As I said, it's probably better to fix your text-terminal to send > another key sequence than DEL. I'm not sure that DEL sending DEL is actually wrong! :-) Anyway, thanks for the new fix. BFN. Paul.