From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Robert Brown Newsgroups: gmane.emacs.bugs Subject: bug#2057: 23.0.60; delete key and deletechar Date: Thu, 16 Apr 2009 13:54:28 -0400 Message-ID: <18919.28884.261672.227349@paradicsom.nyc.corp.google.com> References: <200904161619.n3GGJt3l014011@godzilla.ics.uci.edu> Reply-To: Robert Brown , 2057@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1239905104 18257 80.91.229.12 (16 Apr 2009 18:05:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 16 Apr 2009 18:05:04 +0000 (UTC) Cc: 2057@emacsbugs.donarmstrong.com To: Dan Nicolaescu Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 16 20:06:21 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 1LuVxz-00036D-Hg for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 20:05:55 +0200 Original-Received: from localhost ([127.0.0.1]:34034 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuVwa-00036G-Tp for geb-bug-gnu-emacs@m.gmane.org; Thu, 16 Apr 2009 14:04:12 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LuVwW-00034t-ND for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 14:04:08 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LuVwS-00032G-Rj for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 14:04:08 -0400 Original-Received: from [199.232.76.173] (port=46047 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LuVwS-000324-CE for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 14:04:04 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:58678) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LuVwR-0001uM-LL for bug-gnu-emacs@gnu.org; Thu, 16 Apr 2009 14:04:03 -0400 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 n3GI3prp025802; Thu, 16 Apr 2009 11:03:51 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n3GI06x2024877; Thu, 16 Apr 2009 11:00:06 -0700 X-Loop: owner@emacsbugs.donarmstrong.com Resent-From: Robert Brown Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Thu, 16 Apr 2009 18:00:06 +0000 Resent-Message-ID: Resent-Sender: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: followup 2057 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 2057-submit@emacsbugs.donarmstrong.com id=B2057.123990447823265 (code B ref 2057); Thu, 16 Apr 2009 18:00:06 +0000 Original-Received: (at 2057) by emacsbugs.donarmstrong.com; 16 Apr 2009 17:54:38 +0000 X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. Original-Received: from smtp-out.google.com (smtp-out.google.com [216.239.45.13]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n3GHsWj8023259 for <2057@emacsbugs.donarmstrong.com>; Thu, 16 Apr 2009 10:54:33 -0700 Original-Received: from spaceape14.eur.corp.google.com (spaceape14.eur.corp.google.com [172.28.16.148]) by smtp-out.google.com with ESMTP id n3GHsVgT007045; Thu, 16 Apr 2009 10:54:31 -0700 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=google.com; s=beta; t=1239904472; bh=0imgYbpdXtA13x/SMlWVipS5aJE=; h=DomainKey-Signature:From:MIME-Version:Content-Type: Content-Transfer-Encoding:Message-ID:Date:To:Cc:Subject: In-Reply-To:References:X-Mailer:X-System-Of-Record; b=EBHtL1j3+f9E vYqb2TeSJukmwP5oLF89l50t/RM564LQbbi9x3aFwCNrsiy9CBIXi8WP2hBrCuCC5Ju TnszVeQ== DomainKey-Signature: a=rsa-sha1; s=beta; d=google.com; c=nofws; q=dns; h=from:mime-version:content-type: content-transfer-encoding:message-id:date:to:cc:subject:in-reply-to:references:x-mailer:x-system-of-record; b=Qq5owEEiDa25GkMvuerVhrg/nPAbNIQD+Vt5KuS5RMTIq85ZMHBqeTaGqGLSKhFwj XKZhXTy+lWHgPXsg75oRA== Original-Received: from paradicsom.nyc.corp.google.com.google.com (paradicsom.nyc.corp.google.com [172.26.104.255]) by spaceape14.eur.corp.google.com with ESMTP id n3GHsSPG023570; Thu, 16 Apr 2009 10:54:29 -0700 In-Reply-To: <200904161619.n3GGJt3l014011@godzilla.ics.uci.edu> X-Mailer: VM 7.19 under Emacs 22.0.55.1 X-System-Of-Record: true X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Thu, 16 Apr 2009 14:04:08 -0400 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:27249 Archived-At: Dan Nicolaescu writes: > Robert Brown writes: > > > I believe the following patch may be the right fix for bug 2057. When > > looking at the key sequences generated by function keys, Emacs should only > > register those that generate two or more ASCII characters. > > > > My termcap entry, xterm-color, contains "kD=\177", which means that the > > delete *function* key generates code 177. > > Interesting, it seems that you have a modified termcap database, the normal one > has kD=\E[3~ for xterm-color. Yes, it's definitely a bug in the termcap entry. Hitting the delete function key generates \E[3~ for me. I can fix the termcap. > Can you try setting TERM to xterm-256color and see if that the delete > key works better then? Switching to a different termcap works well. I still think it may incorrect for Emacs to map single character function key sequences. But perhaps these just never occur in practice. bob