From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#37530: 26.1; Tack characters translated incorrectly Date: Fri, 27 Sep 2019 08:26:59 +0300 Message-ID: <83zhiqjom4.fsf@gnu.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="144880"; mail-complaints-to="usenet@blaine.gmane.org" Cc: 37530@debbugs.gnu.org To: Axel Svensson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 07:28:14 2019 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([209.51.188.17]) by blaine.gmane.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iDine-000bXj-Gr for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 07:28:14 +0200 Original-Received: from localhost ([::1]:46448 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDinc-0002L0-JE for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 01:28:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43875) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDinU-0002Ki-Vm for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 01:28:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDinT-00020u-Uz for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 01:28:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:36876) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDinT-00020S-RV for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 01:28:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDinS-00024P-Hi for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 01:28:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2019 05:28:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 37530 X-GNU-PR-Package: emacs Original-Received: via spool by 37530-submit@debbugs.gnu.org id=B37530.15695620387907 (code B ref 37530); Fri, 27 Sep 2019 05:28:02 +0000 Original-Received: (at 37530) by debbugs.gnu.org; 27 Sep 2019 05:27:18 +0000 Original-Received: from localhost ([127.0.0.1]:45697 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDimk-00023T-Hh for submit@debbugs.gnu.org; Fri, 27 Sep 2019 01:27:18 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35219) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDimi-00023G-O1 for 37530@debbugs.gnu.org; Fri, 27 Sep 2019 01:27:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52061) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1iDimd-0008WP-AZ; Fri, 27 Sep 2019 01:27:11 -0400 Original-Received: from [176.228.60.248] (port=1025 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1iDimc-0008AH-L7; Fri, 27 Sep 2019 01:27:11 -0400 In-reply-to: (message from Axel Svensson on Thu, 26 Sep 2019 23:31:34 +0200) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:167357 Archived-At: > From: Axel Svensson > Date: Thu, 26 Sep 2019 23:31:34 +0200 > > Press C-h l to run view-lossage. > The last lines display the erroneous characters that were inserted, > rather than the expected characters. > ⊣ [self-insert-command] > ⊢ [self-insert-command] > ⊥ [self-insert-command] > ⊤ [self-insert-command] > C-h l [view-lossage] > > In order to confirm that the behavior I have stated as expected is the > correct one, look to the XKB keysym definitions: > > #define XKB_KEY_downtack 0x0bc2 /* U+22A4 DOWN TACK */ > > #define XKB_KEY_uptack 0x0bce /* U+22A5 UP TACK */ > > #define XKB_KEY_lefttack 0x0bdc /* U+22A3 LEFT TACK */ > > #define XKB_KEY_righttack 0x0bfc /* U+22A2 RIGHT TACK */ > These can be found at: > https://github.com/xkbcommon/libxkbcommon/blob/master/xkbcommon/xkbcommon-keysyms.h > > It is understandable that bugs like these can go unnoticed seeing that > these characters probably aren't part of any widely used keyboard > layout. If this bug can be confirmed, and depending on what caused it, > it might be beneficial to add the complete mapping from X11 keysyms to > Unicode codepoints as automated tests. I'm willing to provide this > mapping, including source references. Isn't the output of "C-h l" evidence that Emacs actually received the codepoints it displayed? IOW, how do we know this is a problem in Emacs and not in the keyboard configuration and/or driver software? Thanks.