From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Brown Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#2057: 23.0.60; delete key and deletechar Date: Sun, 25 Jan 2009 18:01:26 -0500 Message-ID: <78d2fb3b0901251501q78585866h4856d8d0ca8d3ea6@mail.gmail.com> Reply-To: Robert Brown , 2057@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1232930530 1486 80.91.229.12 (26 Jan 2009 00:42:10 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 26 Jan 2009 00:42:10 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Jan 26 01:43:23 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRFZO-0007JI-Ry for geb-bug-gnu-emacs@m.gmane.org; Mon, 26 Jan 2009 01:43:19 +0100 Original-Received: from localhost ([127.0.0.1]:41165 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRFY7-0002by-4g for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Jan 2009 19:41:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LREKF-0002cf-AJ for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:23:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LREKD-0002bF-Gp for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:23:34 -0500 Original-Received: from [199.232.76.173] (port=36174 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LREKD-0002bA-EA for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:23:33 -0500 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:48368) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LREKC-0005KA-Te for bug-gnu-emacs@gnu.org; Sun, 25 Jan 2009 18:23:33 -0500 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PNNTVo019978; Sun, 25 Jan 2009 15:23:29 -0800 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n0PNA4sp016469; Sun, 25 Jan 2009 15:10:04 -0800 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Robert Brown Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Sun, 25 Jan 2009 23:10:04 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: report 2057 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.123292449514322 (code B ref -1); Sun, 25 Jan 2009 23:10:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 25 Jan 2009 23:01:35 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n0PN1VhU014316 for ; Sun, 25 Jan 2009 15:01:32 -0800 Original-Received: from mail.gnu.org ([199.232.76.166]:44247 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LRDxL-0007FI-9h for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 17:59:55 -0500 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LRDys-0003xu-3O for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 18:01:30 -0500 Original-Received: from mu-out-0910.google.com ([209.85.134.186]:31575) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRDyr-0003xg-IY for emacs-pretest-bug@gnu.org; Sun, 25 Jan 2009 18:01:29 -0500 Original-Received: by mu-out-0910.google.com with SMTP id i2so4156309mue.6 for ; Sun, 25 Jan 2009 15:01:27 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=j8CawTSlJBpBL1+zT9TldWmlVW4zBT1UYgxCXQ+OvkE=; b=MezwUmYQGU37GXQ30bAo4K0pWvqC+jGsAeldsgTwhdbnlk7ybH18fxlTyTW7dboda5 IlI4KzZ6WEPaI2w9e5siJ8yu7ksEdYSVZCzdfIZ7Ob0lO24GF4NkOGDouN5iAoYpsc6L NSE01f1i/qJmXfAQCVwm3eyKHvuh2Yjn5Tnwk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=K1SvlSc1GFe4BMwi7vAusv/MUAfyr/Rv4A//AoOx/qIluFUZfbStLfiDJR0HN258ZB X7BS4gS8O4P5UlyPNjCsCxr+GwOoKJfDU4AD19kx4bhh183Mqkbe8AoY1Qs/w6W2QQsR S0SPLaXHBGTn9JuVJnYrSkz8PCae+LYcUz1A4= Original-Received: by 10.103.106.1 with SMTP id i1mr211450mum.0.1232924486652; Sun, 25 Jan 2009 15:01:26 -0800 (PST) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 25 Jan 2009 18:23:34 -0500 X-Mailman-Approved-At: Sun, 25 Jan 2009 19:41:39 -0500 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:24541 gmane.emacs.pretest.bugs:23768 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: I start Emacs 23.0.60.2 on Ubuntu 8.10 inside a gnome-terminal emulation window using the command "emacs -q -nw". The backspace key on my keyboard is set up to generate ASCII code 127, but Emacs incorrectly maps this code to deletechar with input-decode-map which is: (keymap (127 . [deletechar]) (27 keymap (79 keymap (83 . .... I believe this input translation is set up by term_get_fkeys_1 in term.c when it looks at the termcap/terminfo function key definitions for my terminal type, xterm-color, and sees that the termcap description contains: kD=\177 which means that the delete *function* key produces ASCII code 127. Emacs should look at both kD and kb. If they are the same ASCII character, then Emacs should not install a translation in input-decode-map for delete. If Emacs crashed, and you have the Emacs process in the gdb debugger, please include the output from the following gdb commands: `bt full' and `xbacktrace'. If you would like to further debug the crash, please read the file /local/software/package/emacs-23.0.60.2/share/emacs/23.0.60/etc/DEBUG for instructions. In GNU Emacs 23.0.60.2 (i686-pc-linux-gnu) of 2009-01-18 on ugg configured using `configure '--without-x' '--prefix=/local/software/package/emacs-23.0.60.2'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: C value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: C value of $LANG: en_US.UTF-8 value of $XMODIFIERS: nil locale-coding-system: utf-8-unix default-enable-multibyte-characters: t Major mode: Info Minor modes in effect: savehist-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t global-auto-composition-mode: t auto-composition-mode: t auto-encryption-mode: t auto-compression-mode: t line-number-mode: t transient-mark-mode: t Recent input: ESC [ > 1 ; 1 7 0 4 ; 0 c C-h i m e m a c s RET C-s b u g SPC C-a C-n C-f C-f C-f C-f C-f C-f RET SPC SPC ESC x r e p o r t - e m a c s - b u g RET Recent messages: ("emacs") Composing main Info directory...done Mark saved where search started