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: Andreas Schwab
Subject: Re: inconsistent bindings of backspace and delete between X and xterm
Date: Sat, 07 Feb 2004 16:56:52 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux)

"Eli Zaretskii" <address@hidden> writes:

>> From: Dale Hagglund <address@hidden>
>> Date: Fri, 06 Feb 2004 20:35:13 -0700
>> 
>> 1. Under X, the backspace and delete keys generate the respective
>>    window-system events, each of which is mapped to DEL via the
>>    function-key-map, which is then bound to
>>    `delete-previous-character'.
>
> This is wrong: the <delete> key should not be mapped to DEL.  It
> should be mapped to C-d, and thus run `delete-char', like it does in
> xterm.

Note that term/xterm.el maps "\e[3~" to [delete] by default (subject to
termcap settings).  That should probably be changed to [deletechar].

Andreas.

-- 
Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




reply via email to

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