From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: Re: inconsistent bindings of backspace and delete between X and xterm Date: Sat, 07 Feb 2004 16:56:52 +0100 Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <7137-Sat07Feb2004174147+0200-eliz@elta.co.il> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1076169600 10273 80.91.224.253 (7 Feb 2004 16:00:00 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2004 16:00:00 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, Dale Hagglund Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 07 16:59:50 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 1ApUs2-0003kt-00 for ; Sat, 07 Feb 2004 16:59:50 +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 1ApUre-0008Rv-Q7 for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Feb 2004 10:59:26 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApUrc-0008Rf-F0 for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 10:59:24 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApUr6-0008LX-QO for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 10:59:23 -0500 Original-Received: from [195.135.220.2] (helo=Cantor.suse.de) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.24) id 1ApUr6-0008LP-DD for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 10:58:52 -0500 Original-Received: from hermes.suse.de (Hermes.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id 475A316F596; Sat, 7 Feb 2004 16:56:57 +0100 (CET) Original-Received: by sykes.suse.de (Postfix, from userid 597) id 7F2E614C9F459; Sat, 7 Feb 2004 16:56:52 +0100 (CET) Original-To: Eli Zaretskii X-Yow: YOU'D cry too if it happened to YOU!! In-Reply-To: <7137-Sat07Feb2004174147+0200-eliz@elta.co.il> (Eli Zaretskii's message of "Sat, 07 Feb 2004 17:41:47 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3.50 (gnu/linux) 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:6901 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6901 "Eli Zaretskii" writes: >> From: Dale Hagglund >> 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 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, schwab@suse.de 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."