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

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

Re: inconsistent bindings of backspace and delete between X and xterm


From: Eli Zaretskii
Subject: Re: inconsistent bindings of backspace and delete between X and xterm
Date: 08 Feb 2004 08:03:56 +0200

> From: Dale Hagglund <address@hidden>
> Date: Sat, 07 Feb 2004 17:32:16 -0700
> 
> My question boils down to this: Why not map the kdch1/kD sequence to
> <delete> instead of <deletechar>?  Wouldn't that make bindings like
> 
>         (global-set-key [delete] 'what-ever)
> 
> work the same both under X and within xterm or other terminal
> emulators?  Please forgive me if I'm missing something blindingly
> obvious here.

Nothing is ever obvious in the key-binding arcana... ;-)

IIRC, it's the other way around: <delete> was there before
<deletechar>, since it worked first in a windowed Emacs.  So it's
xterm and other terminals that are chasing window-system.  I may be
wrong, though.

In any case, the reason <delete> is mapped to C-d is so you could use
C-d on any text terminal and get the same results.





reply via email to

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