From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: Re: inconsistent bindings of backspace and delete between X and xterm Date: 08 Feb 2004 08:03:56 +0200 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: deer.gmane.org X-Trace: sea.gmane.org 1076220240 14694 80.91.224.253 (8 Feb 2004 06:04:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 8 Feb 2004 06:04:00 +0000 (UTC) Cc: schwab@suse.de, bug-gnu-emacs@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Feb 08 07:03:51 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1Api2o-0002Ox-00 for ; Sun, 08 Feb 2004 07:03:51 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1Api1s-0001oa-R9 for geb-bug-gnu-emacs@m.gmane.org; Sun, 08 Feb 2004 01:02:52 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1Api1q-0001oS-Vf for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2004 01:02:50 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1Api1K-0000ue-6R for bug-gnu-emacs@gnu.org; Sun, 08 Feb 2004 01:02:49 -0500 Original-Received: from [207.232.27.5] (helo=WST0054) by monty-python.gnu.org with asmtp (Exim 4.24) id 1Api1J-0000u3-42; Sun, 08 Feb 2004 01:02:17 -0500 Original-To: Dale Hagglund In-reply-to: (message from Dale Hagglund on Sat, 07 Feb 2004 17:32:16 -0700) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Bug reports for GNU Emacs, the Swiss army knife of text editors List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.bugs:6912 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6912 > From: Dale Hagglund > Date: Sat, 07 Feb 2004 17:32:16 -0700 > > My question boils down to this: Why not map the kdch1/kD sequence to > instead of ? 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: was there before , 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 is mapped to C-d is so you could use C-d on any text terminal and get the same results.