help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: simple editor required


From: Paul Edwards
Subject: Re: simple editor required
Date: Wed, 18 Jun 2003 09:50:51 GMT

"Stefan Monnier" <monnier+gnu.emacs.help/news/@flint.cs.yale.edu> wrote in 
message news:address@hidden
> > (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.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]