From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED.blaine.gmane.org!not-for-mail From: Axel Svensson Newsgroups: gmane.emacs.bugs Subject: bug#37530: 26.1; Tack characters translated incorrectly Date: Fri, 27 Sep 2019 19:19:46 +0200 Message-ID: References: <83zhiqjom4.fsf@gnu.org> <87muepq2z5.fsf@gnus.org> <831rw1ke9n.fsf@gnu.org> <83v9tdiwoi.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="0000000000006e14d805938c18e1" Injection-Info: blaine.gmane.org; posting-host="blaine.gmane.org:195.159.176.226"; logging-data="223196"; mail-complaints-to="usenet@blaine.gmane.org" Cc: Lars Ingebrigtsen , 37530@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Sep 27 19:21:24 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 1iDtvn-000vvm-9c for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 19:21:23 +0200 Original-Received: from localhost ([::1]:54402 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDtvl-0004ET-NB for geb-bug-gnu-emacs@m.gmane.org; Fri, 27 Sep 2019 13:21:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54602) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iDtvU-00047Q-Nz for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 13:21:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iDtvS-0008F0-4S for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 13:21:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:39814) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iDtvR-0008EV-VY for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 13:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1iDtvR-0003Lo-Mx for bug-gnu-emacs@gnu.org; Fri, 27 Sep 2019 13:21:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Axel Svensson Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 27 Sep 2019 17:21:01 +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.156960480712758 (code B ref 37530); Fri, 27 Sep 2019 17:21:01 +0000 Original-Received: (at 37530) by debbugs.gnu.org; 27 Sep 2019 17:20:07 +0000 Original-Received: from localhost ([127.0.0.1]:48635 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDtuY-0003Jg-Uy for submit@debbugs.gnu.org; Fri, 27 Sep 2019 13:20:07 -0400 Original-Received: from wout5-smtp.messagingengine.com ([64.147.123.21]:46193) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iDtuX-0003J1-3T for 37530@debbugs.gnu.org; Fri, 27 Sep 2019 13:20:05 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.west.internal (Postfix) with ESMTP id 7065C764 for <37530@debbugs.gnu.org>; Fri, 27 Sep 2019 13:19:59 -0400 (EDT) Original-Received: from mailfrontend2 ([10.202.2.163]) by compute7.internal (MEProxy); Fri, 27 Sep 2019 13:19:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=4uHd9D lkoxagw8NN9G39l1qghL0slRub56bZ5d4WjKs=; b=Sj6gPQhDWIje3nGOD1aJr6 F2JXU77rT/PZuoEvYzuR0n8vpNVzVPYFyMPVjD/kJHZkOtN/LnaPMCPiptvpJQHb DyaVnCU8ZVN3T0PzY89E+U9kEYG8S+HvFaMZJGR7lsjKDubtSuG7hua9RjdsvLLC tmC/eylYK9oSXcLIgaZnbhYylXeaZiknLoDmQSWTXgwh2q95H1Msp2r0/m4VFaf5 06x7MsDy/J91iymyQl7xB6+VB8dVFk/kGcpJTBdI4yUGP8BVxClupXoB63uKmpMz jC12TmvFy/yfpkB47BF/6Mqz2hJXpQFSzDjCBPIPh4TN4xUB28V/NTGYrDf4twRA == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrfeeigddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepgghfjgfhfffkuffvtgesmhdtreertddtjeenucfhrhhomhepteigvghlucfu vhgvnhhsshhonhcuoehmrghilhesrgigvghlshhvvghnshhsohhnrdgtohhmqeenucffoh hmrghinhepfhhoshhsihgvshdrohhrghenucfkphepvddtledrkeehrdduieejrddukedv necurfgrrhgrmhepmhgrihhlfhhrohhmpehmrghilhesrgigvghlshhvvghnshhsohhnrd gtohhmnecuvehluhhsthgvrhfuihiivgeptd X-ME-Proxy: Original-Received: from mail-oi1-f182.google.com (mail-oi1-f182.google.com [209.85.167.182]) by mail.messagingengine.com (Postfix) with ESMTPA id 89C86D6005A for <37530@debbugs.gnu.org>; Fri, 27 Sep 2019 13:19:58 -0400 (EDT) Original-Received: by mail-oi1-f182.google.com with SMTP id x3so5869578oig.2 for <37530@debbugs.gnu.org>; Fri, 27 Sep 2019 10:19:58 -0700 (PDT) X-Gm-Message-State: APjAAAUn58to+G/u6N1QQugv3hPi+lO/nQ9v2PcN5z+oikCNHxx6Dcbn abC5xvhds1kiaWfqpaVPe+fUV/1Q7O3gfhHmOrE= X-Google-Smtp-Source: APXvYqxv8b5fIK1Idk5/eoz5k2WuELVg63DNiVokk4Q7hBKH58ZVn3zNrYt9xvb1KUImuxpaTyBDE7wI/vfimiLNgBY= X-Received: by 2002:aca:f3d4:: with SMTP id r203mr7679405oih.164.1569604798114; Fri, 27 Sep 2019 10:19:58 -0700 (PDT) In-Reply-To: <83v9tdiwoi.fsf@gnu.org> X-Gmail-Original-Message-ID: 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:167428 Archived-At: --0000000000006e14d805938c18e1 Content-Type: text/plain; charset="UTF-8" On Fri, Sep 27, 2019 at 5:33 PM Eli Zaretskii wrote: > I thought that older versions might perhaps assign different mappings > to the same keysyms. If they don't assign any mappings, then I agree > with you. XKB lists quite a few keysyms as deprecated, but no keysyms we have discussed here are affected. I believe this indicates that they have never been used for another mapping previously, but I haven't checked extensively. However, it is also stated in xkbcommon-keysyms.h that: > * Where the correspondence is either not one-to-one or semantically > * unclear, the Unicode position and name are enclosed in > * parentheses. Such legacy keysyms should be considered deprecated > * and are not recommended for use in future keyboard mappings. This affects four of the keysyms mentioned: > #define XKB_KEY_signifblank 0x0aac /*(U+2423 OPEN BOX)*/ > #define XKB_KEY_leftanglebracket 0x0abc /*(U+27E8 MATHEMATICAL LEFT ANGLE BRACKET)*/ > #define XKB_KEY_decimalpoint 0x0abd /*(U+002E FULL STOP)*/ > #define XKB_KEY_rightanglebracket 0x0abe /*(U+27E9 MATHEMATICAL RIGHT ANGLE BRACKET)*/ For two of these keysyms, I managed to find at least one application that agrees with the current Emacs mapping that we now consider changing: > {0xabc, 0x2329}, > {0xabe, 0x232a}, See https://fossies.org/dox/putty-src/xkeysym_8c_source.html I believe that we should consider carefully whether changing these two mappings could introduce a regression for some use case, e.g. PuTTY/ssh/emacs. My proposed changes are attached. --0000000000006e14d805938c18e1 Content-Type: text/x-patch; charset="UTF-8"; name="bug-37530.diff" Content-Disposition: attachment; filename="bug-37530.diff" Content-Transfer-Encoding: base64 Content-ID: X-Attachment-Id: f_k12e4yh60 ZGlmZiAtLWdpdCBhL2xpc3AvdGVybS94LXdpbi5lbCBiL2xpc3AvdGVybS94LXdpbi5lbAppbmRl eCA1NjA2MTM3MWZlLi4xN2JiYmFlYjEyIDEwMDY0NAotLS0gYS9saXNwL3Rlcm0veC13aW4uZWwK KysrIGIvbGlzcC90ZXJtL3gtd2luLmVsCkBAIC01NzksNiArNTc5LDcgQEAgYXMgcmV0dXJuZWQg YnkgYHgtc2VydmVyLXZlbmRvcicuIgogCSgjeDZhYSAuID/RmikKIAkoI3g2YWIgLiA/0ZspCiAJ KCN4NmFjIC4gP9GcKQorCSgjeDZhZCAuID/SkSkgOzsgU291cmNlOiB4a2Jjb21tb24ta2V5c3lt cy5oCiAJKCN4NmFlIC4gP9GeKQogCSgjeDZhZiAuID/RnykKIAkoI3g2YjAgLiA/4oSWKQpAQCAt NTk0LDYgKzU5NSw3IEBAIGFzIHJldHVybmVkIGJ5IGB4LXNlcnZlci12ZW5kb3InLiIKIAkoI3g2 YmEgLiA/0IopCiAJKCN4NmJiIC4gP9CLKQogCSgjeDZiYyAuID/QjCkKKwkoI3g2YmQgLiA/0pEp IDs7IFNvdXJjZTogeGtiY29tbW9uLWtleXN5bXMuaAogCSgjeDZi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