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: Dale Hagglund
Subject: Re: inconsistent bindings of backspace and delete between X and xterm
Date: Sat, 07 Feb 2004 17:32:16 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Andreas Schwab <address@hidden> writes:

> Emacs has to depend on the terminal information database.  There is no way
> to find out the physical location of a key in termcap/terminfo.

Sorry, I'm not making myself very clear.  I realize that emacs has to
depend on the termcap or terminfo entry, and that it doesn't know
anything about the physical keyboard layout.

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.

Dale.




reply via email to

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