[Arcana] problems with <deletechar>?

David Carlton carlton at bactrian.org
Thu Dec 25 01:20:25 CST 2008


On Thu, 25 Dec 2008 01:57:22 -0500, Karl Fogel <kfogel at red-bean.com> said:

> David Carlton <carlton at bactrian.org> writes:
>> I recently upgraded to a GNU Emacs snapshot (on Linux), and when logging
>> in from a Mac terminal, I've found that the key labelled 'delete' no
>> longer does what I want - Emacs seems to think it's something called
>> <deletechar> (rather than, say, DEL), and the bindings are all wrong.
>> (Forward rather than backward.)

> What command did you run to determine that it's called "<deletechar>"?
> Was it "C-h k"?

Yup.

> When I run "C-h k DEL", I get

>   | DEL (translated from <backspace>) runs the command
>   | delete-backward-char, which is an interactive built-in function in
>   | `C source code'.
>   | 
>   | It is bound to DEL.

> What do you get?

I get:

| <deletechar> (translated from DEL) runs the command delete-char, which
| is an interactive built-in function in `C source code'.

| It is bound to <deletechar>, C-d.

> I can't figure out what syntax to use to get 'keyboard-translate' to
> translate something called "<deletechar>" to ^?, unfortunately.  But
> that's where I was looking.

Thanks, I'll look in that area.  (One other thing I found bemusing: C-h
k refers to it as <deletechar>, but if I want to, say,
global-set-key-it, I have to refer to it as [deletechar].)

David Carlton
carlton at bactrian.org




More information about the Arcana mailing list