From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.bugs Subject: bug#40240: 26.3; Wrong symbol inserted from keyboard: left tack instead of turnstile. Date: Thu, 26 Mar 2020 17:35:52 +0100 Message-ID: References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24949"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 40240-done@debbugs.gnu.org To: Ignat Insarov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Mar 26 17:37:18 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 1jHVVN-0006Mp-EB for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 17:37:17 +0100 Original-Received: from localhost ([::1]:56414 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHVVM-00037J-9L for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 26 Mar 2020 12:37:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34135) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jHVVA-00036U-Dd for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 12:37:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jHVV8-0003V0-SY for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 12:37:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53574) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jHVV8-0003Ut-NN for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 12:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jHVV8-0000S6-Ld for bug-gnu-emacs@gnu.org; Thu, 26 Mar 2020 12:37:02 -0400 Resent-From: Robert Pluim Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Thu, 26 Mar 2020 16:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 40240 X-GNU-PR-Package: emacs Mail-Followup-To: 40240@debbugs.gnu.org, rpluim@gmail.com, kindaro@gmail.com Original-Received: via spool by 40240-done@debbugs.gnu.org id=D40240.15852405671666 (code D ref 40240); Thu, 26 Mar 2020 16:37:02 +0000 Original-Received: (at 40240-done) by debbugs.gnu.org; 26 Mar 2020 16:36:07 +0000 Original-Received: from localhost ([127.0.0.1]:59545 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHVUE-0000Qn-Fs for submit@debbugs.gnu.org; Thu, 26 Mar 2020 12:36:06 -0400 Original-Received: from mail-wr1-f49.google.com ([209.85.221.49]:32938) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jHVU9-0000QC-Ui for 40240-done@debbugs.gnu.org; Thu, 26 Mar 2020 12:36:04 -0400 Original-Received: by mail-wr1-f49.google.com with SMTP id a25so8658169wrd.0 for <40240-done@debbugs.gnu.org>; Thu, 26 Mar 2020 09:36:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :mime-version; bh=LKVyoErqWkzGNhHgfjQDSwUt57wddlXSebTBKYQTG+k=; b=XNMGgbNgpWMf0UCEovbtNzHBXCzy6sOkBZFeSxGdnm9aisgWqY1dCyQVmLirouZPrM Nl/2C7P+7ciq5Tgva6Y2GnSKB57nv3rr3+SjT3bQOSdasNusis4VrrLI833BUY+pKKl2 wfuddX6GcXCDl5yR8pxuM+wtmpvxhIWFUEnC+VBv7ah8lM6qM3ZKrdIxEQTuo9xlKoig Me6nfpyusjiQ/x5IkvDJTMDypTvHhlHMdk8XlRkcVsoJWcD1MPnVF+oFV1ON082o9GO8 bA0m8K+EiHWgT5/NnyyrPQ9v14ICG2Oif2x6aw32mgGa/24NyQ9G3mm9vn25I1colGIs 3mkQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:mime-version; bh=LKVyoErqWkzGNhHgfjQDSwUt57wddlXSebTBKYQTG+k=; b=TaANFzORwXFQZz8YgV6R7DShAsOokiu4hWgr64KezEnwRsnWcQE7tMIUyxqEfTSIOl hy4RlTRZY7JCMTdPO+V4zF2uqYakMRGBTSS0SpZf5CzhLm9cAk04z2xdj6VNaF3r9aZr 9D8Em8X4GnHvMWEgcIC/ns7/peyrixBcHW1QOaqxQKsLDm/UmNb/OP8vdoU8J53VGfVt Tq0tSf+hl+F7Cx0RIbWv/Iwb7sRJznYXwTuQ4mCp4KNrxQvQRv+9MOSiIKg2Lk3mh7Rg cLDlr791/X1C8KjE4/rB+MqVSFtY6v8syTgL+IH89PrS8NJxhMsNQmh79flESeIishqp w8kQ== X-Gm-Message-State: ANhLgQ1vUgbgc+hoqr4zuSoiMlUY1GLzquhAtzBeE0VJV+nO0Xn4hJEb ZUOyfhpbNODafUuJHwXyg2G517Vq X-Google-Smtp-Source: ADFU+vuM+wZQaZhsOh0ZzCgBXLz4E0oCG6K4DdAqQYrk6ty7rZM5X4ThGJ8Eg5gJVBRyVT/bWQaSeg== X-Received: by 2002:adf:9e94:: with SMTP id a20mr10394926wrf.334.1585240555558; Thu, 26 Mar 2020 09:35:55 -0700 (PDT) Original-Received: from rpluim-mac ([2a01:e34:ecfc:a860:bdc9:e98c:bf1f:4cce]) by smtp.gmail.com with ESMTPSA id 98sm4465396wrk.52.2020.03.26.09.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 26 Mar 2020 09:35:54 -0700 (PDT) In-Reply-To: (Ignat Insarov's message of "Thu, 26 Mar 2020 12:29:39 +0300") 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:177752 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable >>>>> On Thu, 26 Mar 2020 12:29:39 +0300, Ignat Insarov = said: Ignat> When I type `=E2=8A=A2` (Unicode right tack, also called =C2=ABt= urnstile=C2=BB), the left Ignat> tack symbol appears instead.=E2=80=82I can insert the turnstile = with other Ignat> methods without problem. Hi, this issue has been fixed already in emacs-27, under bug#37530. You can try out emacs-27, or if you want to stick to emacs-26 you can apply the patch from the bugfix to your local emacs. Here it is: --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline; filename=0001-Update-X-keysym-mapping.patch Content-Transfer-Encoding: quoted-printable >From 471ce18ae8890ab3444654fd7ac49950044f60d1 Mon Sep 17 00:00:00 2001 From: Axel Svensson Date: Sat, 28 Sep 2019 15:44:01 +0200 Subject: [PATCH] Update X keysym mapping To: emacs-devel@gnu.org * lisp/term/x-win.el (x-keysym-table): Update the mappings using current Xorg data. (Bug#37530) Copyright-paperwork-exempt: yes --- lisp/term/x-win.el | 40 +++++++++++++++++++++++++++++++++++----- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/lisp/term/x-win.el b/lisp/term/x-win.el index 56061371fe..d71bb34525 100644 --- a/lisp/term/x-win.el +++ b/lisp/term/x-win.el @@ -302,7 +302,11 @@ vendor-specific-keysyms (setq i (1+ i)))) =20 ;; Table from Kuhn's proposed additions to the `KEYSYM Encoding' -;; appendix to the X protocol definition. +;; appendix to the X protocol definition. As indicated, some of these +;; have been corrected using information found in keysymdef.h which on +;; a typical system is installed at /usr/include/X11/keysymdef.h. The +;; version used here is from xorgproto version 2019.1 found here: +;; https://gitlab.freedesktop.org/xorg/proto/xorgproto/blob/e0bba743ae7c54= 9c58f92677b239ec7878548228/include/X11/keysymdef.h (dolist (pair '( @@ -579,6 +583,7 @@ vendor-specific-keysyms (#x6aa . ?=D1=9A) (#x6ab . ?=D1=9B) (#x6ac . ?=D1=9C) + (#x6ad . ?=D2=91) ;; Source: keysymdef.h (#x6ae . ?=D1=9E) (#x6af . ?=D1=9F) (#x6b0 . ?=E2=84=96) @@ -594,6 +599,7 @@ vendor-specific-keysyms (#x6ba . ?=D0=8A) (#x6bb . ?=D0=8B) (#x6bc . ?=D0=8C) + (#x6bd . ?=D2=90) ;; Source: keysymdef.h (#x6be . ?=D0=8E) (#x6bf . ?=D0=8F) (#x6c0 . ?=D1=8E) @@ -810,6 +816,7 @@ vendor-specific-keysyms (#xaa8 . ?=E2=80=8A) (#xaa9 . ?=E2=80=94) (#xaaa . ?=E2=80=93) + (#xaac . ?=E2=90=A3) ;; Source: keysymdef.h (#xaae . ?=E2=80=A6) (#xaaf . ?=E2=80=A5) (#xab0 . ?=E2=85=93) @@ -822,7 +829,17 @@ vendor-specific-keysyms (#xab7 . ?=E2=85=9A) (#xab8 . ?=E2=84=85) (#xabb . ?=E2=80=92) + ;; In keysymdef.h, the keysyms 0xabc and 0xabe are listed as + ;; U+27E8 and U+27E9 respectively. However, the parentheses + ;; indicate that these mappings are deprecated legacy keysyms + ;; that are either not one-to-one or semantically unclear. In + ;; order to not introduce any incompatibility with possible + ;; existing workflows that expect these keysyms to map as they + ;; currently do, to 0x2329 and 0x232a, respectively, they are + ;; left as they are. In particular, PuTTY is known to agree + ;; with this mapping. (#xabc . ?=E2=8C=A9) + (#xabd . ?.) ;; Source: keysymdef.h (#xabe . ?=E2=8C=AA) (#xac3 . ?=E2=85=9B) (#xac4 . ?=E2=85=9C) @@ -839,6 +856,7 @@ vendor-specific-keysyms (#xad2 . ?=E2=80=9C) (#xad3 . ?=E2=80=9D) (#xad4 . ?=E2=84=9E) + (#xad5 . ?=E2=80=B0) ;; Source: keysymdef.h (#xad6 . ?=E2=80=B2) (#xad7 . ?=E2=80=B3) (#xad9 . ?=E2=9C=9D) @@ -883,20 +901,29 @@ vendor-specific-keysyms (#xba8 . ?=E2=88=A8) (#xba9 . ?=E2=88=A7) (#xbc0 . ?=C2=AF) - (#xbc2 . ?=E2=8A=A5) + ;; Source for #xbc2: keysymdef.h. Note that the + ;; `KEYSYM Encoding' appendix to the X protocol definition is + ;; incorrect. + (#xbc2 . ?=E2=8A=A4) (#xbc3 . ?=E2=88=A9) (#xbc4 . ?=E2=8C=8A) (#xbc6 . ?_) (#xbca . ?=E2=88=98) (#xbcc . ?=E2=8E=95) - (#xbce . ?=E2=8A=A4) + ;; Source for #xbce: keysymdef.h. Note that the + ;; `KEYSYM Encoding' appendix to the X protocol definition is + ;; incorrect. + (#xbce . ?=E2=8A=A5) (#xbcf . ?=E2=97=8B) (#xbd3 . ?=E2=8C=88) (#xbd6 . ?=E2=88=AA) (#xbd8 . ?=E2=8A=83) (#xbda . ?=E2=8A=82) - (#xbdc . ?=E2=8A=A2) - (#xbfc . ?=E2=8A=A3) + ;; Source for #xbdc and #xbfc: keysymdef.h. Note that the + ;; `KEYSYM Encoding' appendix to the X protocol definition is + ;; incorrect. + (#xbdc . ?=E2=8A=A3) + (#xbfc . ?=E2=8A=A2) ;; Hebrew (#xcdf . ?=E2=80=97) (#xce0 . ?=D7=90) @@ -1143,6 +1170,9 @@ vendor-specific-keysyms ;; #x0aff CURSOR Publish ;; #x0dde THAI MAIHANAKAT Thai =20 +;; However, keysymdef.h does have mappings for #x0aac and #x0abd, which +;; are used above. + ;;;; Selections =20 --=20 2.25.0.232.gd8437c57fa --=-=-=--