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

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

Re: simple editor required


From: Stefan Monnier
Subject: Re: simple editor required
Date: 17 Jun 2003 12:06:06 -0400
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

> (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")

As I said, it's probably better to fix your text-terminal to send
another key sequence than DEL.


        Stefan


reply via email to

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