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 02:17:01 +0100 Message-ID: <20140205011701.GH10242@xvii.vinc17.org> References: <87k3da2zxl.fsf@xvii.vinc17.org> <20140205001548.GE10242@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 1391563091 19107 80.91.229.3 (5 Feb 2014 01:18:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 5 Feb 2014 01:18:11 +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 02:18:18 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 1WAr85-00019o-HP for geb-bug-gnu-emacs@m.gmane.org; Wed, 05 Feb 2014 02:18:17 +0100 Original-Received: from localhost ([::1]:56977 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAr85-00009o-0y for geb-bug-gnu-emacs@m.gmane.org; Tue, 04 Feb 2014 20:18:17 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37436) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAr7w-00009R-Q0 for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 20:18:14 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WAr7q-0003rO-CL for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 20:18:08 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:35866) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WAr7q-0003rF-97 for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 20:18:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1WAr7p-00067U-O0 for bug-gnu-emacs@gnu.org; Tue, 04 Feb 2014 20:18: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 01:18: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.139156302623448 (code B ref 16645); Wed, 05 Feb 2014 01:18:01 +0000 Original-Received: (at 16645) by debbugs.gnu.org; 5 Feb 2014 01:17:06 +0000 Original-Received: from localhost ([127.0.0.1]:49885 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAr6v-000667-W6 for submit@debbugs.gnu.org; Tue, 04 Feb 2014 20:17:06 -0500 Original-Received: from ioooi.vinc17.net ([92.243.22.117]:35895) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1WAr6s-00065y-Vm for 16645@debbugs.gnu.org; Tue, 04 Feb 2014 20:17:03 -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 8F4023F0; Wed, 5 Feb 2014 02:17:01 +0100 (CET) Original-Received: by xvii.vinc17.org (Postfix, from userid 1000) id 57E4621A05E; Wed, 5 Feb 2014 02:17:01 +0100 (CET) Content-Disposition: inline In-Reply-To: <20140205001548.GE10242@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:84575 Archived-At: On 2014-02-05 01:15:48 +0100, Vincent Lefevre wrote: > 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. It was due to my XKB settings (only the "=" keypad key gave a KP_something keysym due to missing configuration for this key, contrary to the other keypad ones). So, now that the "=" keypad key gives a normal "=" keysym, the problem is no longer visible in Emacs on my machine. However I'm still wondering about the remarks below: > 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)