From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Dale Hagglund Newsgroups: gmane.emacs.bugs Subject: Re: inconsistent bindings of backspace and delete between X and xterm Date: Sat, 07 Feb 2004 10:21:41 -0700 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=us-ascii X-Trace: sea.gmane.org 1076174597 19725 80.91.224.253 (7 Feb 2004 17:23:17 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 7 Feb 2004 17:23:17 +0000 (UTC) Cc: bug-gnu-emacs@gnu.org, rdh@yottayotta.com Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Feb 07 18:23:09 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 1ApWAf-0007oy-00 for ; Sat, 07 Feb 2004 18:23:09 +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 1ApWAS-0002nQ-OB for geb-bug-gnu-emacs@m.gmane.org; Sat, 07 Feb 2004 12:22:56 -0500 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1ApWAP-0002hs-5k for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 12:22:53 -0500 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1ApW9r-0001hU-Te for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 12:22:51 -0500 Original-Received: from [198.161.246.10] (helo=isengard.yottayotta.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ApW9q-0001bJ-OD for bug-gnu-emacs@gnu.org; Sat, 07 Feb 2004 12:22:18 -0500 Original-Received: from fw-edm-dmz.yottayotta.com ([192.168.1.2] helo=edm-app01.yottayotta.com) by isengard.yottayotta.com with esmtp (Exim 3.33 #1) id 1ApWAA-0002Sm-00; Sat, 07 Feb 2004 10:22:38 -0700 Original-Received: from tethys.edmonton.yottayotta.com ([10.0.1.8]) by edm-app01.yottayotta.com with SMTP (Microsoft Exchange Internet Mail Service Version 5.5.2653.13) id DY4S7CLJ; Sat, 7 Feb 2004 10:21:42 -0700 Original-Received: from dernhelm.edmonton.yottayotta.com ([10.0.1.76]) by tethys.edmonton.yottayotta.com with esmtp (Exim 3.22 #2) id 1ApW9G-0003a3-00; Sat, 07 Feb 2004 10:21:42 -0700 Original-Received: from dernhelm.edmonton.yottayotta.com (desktopinstall [127.0.0.1]) by dernhelm.edmonton.yottayotta.com (8.12.8/8.12.8) with ESMTP id i17HLgk3005374; Sat, 7 Feb 2004 10:21:42 -0700 Original-Received: (from rdh@localhost) by dernhelm.edmonton.yottayotta.com (8.12.8/8.12.8/Submit) id i17HLfAo005372; Sat, 7 Feb 2004 10:21:41 -0700 X-Authentication-Warning: dernhelm.edmonton.yottayotta.com: rdh set sender to rdh@yottayotta.com using -f Original-To: Eli Zaretskii 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 (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:6902 X-Report-Spam: http://spam.gmane.org/gmane.emacs.bugs:6902 "Eli Zaretskii" writes: > 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. > > What OS is that? Does it help to experiment with > normal-erase-is-backspace-mode? . . . . Did you also use the > --no-site-file switch? If not, can you use it in addition to -q and > see if that changes anything? The behaviour is the same with --no-site-file. To give a bit more information, I'm running my own build of 21.3 with no customizations under redhat 9 with linux kenel 2.4.20. I just checked the officially installed emacs, 21.2, and it appears to behave the same way. When I enable normal-erase-is-backspace-mode, things work as you say. However, mapping to C-d still leaves a minor inconsistency between and M-: the former deletes characters forward, and the still deletes words backwards. Something else that may be worth mentioning: I'm running all these emacses inside a vncserver session. I noticed in the description of normal-erase-is-backspace, it says that it's default setting depends on the keyboard. Perhaps the vncserver's virtual keyboard isn't quite responding as emacs expects? Dale.