From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Vincent Lefevre Newsgroups: gmane.emacs.bugs Subject: bug#16645: 24.3; in xterm, keypad = is translated to M-o x Date: Wed, 5 Feb 2014 01:15:48 +0100 Message-ID: <20140205001548.GE10242@xvii.vinc17.org> References: <87k3da2zxl.fsf@xvii.vinc17.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1391559432 14679 80.91.229.3 (5 Feb 2014 00:17:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 00:17:12 +0000 (UTC) To: 16645@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Feb 05 01:17:20 2014 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1WAqB5-00030m-R3 for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 01:17:19 +0100 Original-Received: from localhost ([::1]:56475 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAqB5-0002BN-BK for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 19:17:19 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51674) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAqAu-0002AK-Ot for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 19:17:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAqAo-0000BH-Da for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 19:17:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35844) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAqAo-0000At-5t for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 19:17:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAqAn-0004gn-Ip for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 19:17:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Vincent Lefevre Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 05 Feb 2014 00:17:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16645 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 16645-submit@debbugs.gnu.org id=B16645.139155940618002 (code B ref 16645); Wed, 05 Feb 2014 00:17:01 +0000 Original-Received: (at 16645) by debbugs.gnu.org; 5 Feb 2014 00:16:46 +0000 Original-Received: from localhost ([127.0.0.1]:49863 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAqAX-0004gH-SE for submit@debbugs.gnu.org; Tue, 04 Feb 2014 19:16:46 -0500 Original-Received: from ioooi.vinc17.net ([92.243.22.117]:35867) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAqAV-0004g7-7f for 16645@debbugs.gnu.org; Tue, 04 Feb 2014 19:16:43 -0500 Original-Received: from smtp-xvii.vinc17.net (128.119.75.86.rev.sfr.net [86.75.119.128]) by ioooi.vinc17.net (Postfix) with ESMTPSA id 27FAC49D; Wed, 5 Feb 2014 01:16:42 +0100 (CET) Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 72C0721A05E; Wed, 5 Feb 2014 01:15:48 +0100 (CET) Content-Disposition: inline In-Reply-To: <87k3da2zxl.fsf@xvii.vinc17.org> X-Mailer-Info: http://www.vinc17.net/mutt/ User-Agent: Mutt/1.5.21-6305-vl-r59709 (2013-04-16) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org 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 Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:84573 Archived-At: On 2014-02-05 00:58:14 +0100, Vincent Lefevre wrote: > With "emacs -Q -nw" in xterm, the keypad = key (keysym 0xffbd, KP_Equal) > is translated to M-o x instead of the = character. According to "tack", the keypad "=" gives: ^[OX Unknown instead of = Unknown Then, I don't know yet whether this is intentional or this is a bug in xterm. And why the different case for "o" and "x" (uppercase in tack, lowercase in Emacs)? In any case, I can see nothing about kp-equal in the xterm.el file. About the keypad, just: (define-key map "\eOj" [kp-multiply]) (define-key map "\eOk" [kp-add]) (define-key map "\eOl" [kp-separator]) (define-key map "\eOm" [kp-subtract]) (define-key map "\eOo" [kp-divide]) (define-key map "\eOp" [kp-0]) (define-key map "\eOq" [kp-1]) (define-key map "\eOr" [kp-2]) (define-key map "\eOs" [kp-3]) (define-key map "\eOt" [kp-4]) (define-key map "\eOu" [kp-5]) (define-key map "\eOv" [kp-6]) (define-key map "\eOw" [kp-7]) (define-key map "\eOx" [kp-8]) (define-key map "\eOy" [kp-9]) -- Vincent Lefèvre - Web: 100% accessible validated (X)HTML - Blog: Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)