From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#16645: 24.3; in xterm, keypad = is translated to M-o x Date: Sat, 28 Mar 2020 01:55:40 +0100 Message-ID: <87bloh47sj.fsf@stefankangas.se> References: <87k3da2zxl.fsf@xvii.vinc17.org> <20140205001548.GE10242@xvii.vinc17.org> <20140205011701.GH10242@xvii.vinc17.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="35314"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: 16645@debbugs.gnu.org To: Vincent Lefevre Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Mar 28 01:56:13 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jHzlk-00093A-3j for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Mar 2020 01:56:12 +0100 Original-Received: from localhost ([::1]:48812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHzlj-0007VD-6a for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 27 Mar 2020 20:56:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43364) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHzlb-0007V4-64 for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 20:56:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHzla-0004oc-5L for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 20:56:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55811) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHzlZ-0004oK-US for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 20:56:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHzlZ-0001fM-Sh for bug-gnu-emacs@gnu.org; Fri, 27 Mar 2020 20:56:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 28 Mar 2020 00:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 16645 X-GNU-PR-Package: emacs Original-Received: via spool by 16645-submit@debbugs.gnu.org id=B16645.15853569516380 (code B ref 16645); Sat, 28 Mar 2020 00:56:01 +0000 Original-Received: (at 16645) by debbugs.gnu.org; 28 Mar 2020 00:55:51 +0000 Original-Received: from localhost ([127.0.0.1]:33551 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHzlP-0001ep-ES for submit@debbugs.gnu.org; Fri, 27 Mar 2020 20:55:51 -0400 Original-Received: from ted.gofardesign.uk ([67.225.143.91]:49826) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHzlN-0001eW-LH for 16645@debbugs.gnu.org; Fri, 27 Mar 2020 20:55:50 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=marxist.se; s=default; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=VqfRwcg7b5QKQlmz9GOi1OtVxJ1Cxaxyr1jjystDCfc=; b=NCo9KO++o1Sa/ByErf9OjZae6p Flem1cBJqMN0hqZZiIdiSFwn3dtJG+xHVGI6Y1biwV4iJoLZ2KN5Pplp3xDOZhLGC60sBoS5ZzSV6 RcyAIFJdz0fiFD2owFO+UbmB+Y8se2YpahqWowsOJNriY99KTVRV3XB+ylRx0dydMafNBPo3Vda9I y41CneWF8BWfwvEVGlKRE80sQn/j+QiPeS+17CDZNn7Vx+rGmDLS61VDiMLQZ5iiviJWdfG3Jz6Tq Dc13jBM5+YDV4gjJFz0Ldc/lxgwuSZojKuz7vTY+4sGIZyiJBeuEz8fg7XICOo1yChGxuNPO9OqLr jQmctnXw==; Original-Received: from h-4-70-69.a785.priv.bahnhof.se ([155.4.70.69]:46390 helo=localhost) by ted.gofardesign.uk with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.93) (envelope-from ) id 1jHzlG-001Bxu-GD; Fri, 27 Mar 2020 20:55:42 -0400 In-Reply-To: <20140205011701.GH10242@xvii.vinc17.org> (Vincent Lefevre's message of "Wed, 5 Feb 2014 02:17:01 +0100") X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - ted.gofardesign.uk X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - marxist.se X-Get-Message-Sender-Via: ted.gofardesign.uk: authenticated_id: stefan@marxist.se X-Authenticated-Sender: ted.gofardesign.uk: stefan@marxist.se X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.51.188.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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:177793 Archived-At: Vincent Lefevre writes: > 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 it seems like this was not a bug in Emacs? Could this bug therefore be closed? > 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: I'm assuming you are here referring the difference between "^[OX" and "\eOx"? It seems to me that it's just a difference in how this keysym is displayed by Emacs and tack. >> 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]) Best regards, Stefan Kangas