From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Filipp Gunbin Newsgroups: gmane.emacs.bugs Subject: bug#48125: 28.0.50; Display garbled by emoji variation sequence Date: Fri, 30 Apr 2021 19:20:12 +0300 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16054"; mail-complaints-to="usenet@ciao.gmane.io" To: 48125@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Apr 30 18:29:34 2021 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 1lcW1G-000452-GM for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 18:29:34 +0200 Original-Received: from localhost ([::1]:46766 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lcW1F-0005pc-HE for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Apr 2021 12:29:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56124) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcVt0-0005u6-Kg for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:21:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:48162) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lcVt0-0002dj-9w for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:21:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lcVt0-0001TC-4q for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:21:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Filipp Gunbin Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Apr 2021 16:21:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 48125 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.16197996225558 (code B ref -1); Fri, 30 Apr 2021 16:21:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 30 Apr 2021 16:20:22 +0000 Original-Received: from localhost ([127.0.0.1]:59705 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcVsM-0001RZ-Kc for submit@debbugs.gnu.org; Fri, 30 Apr 2021 12:20:22 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:56952) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lcVsL-0001RS-LI for submit@debbugs.gnu.org; Fri, 30 Apr 2021 12:20:22 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55946) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcVsL-0004zb-By for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:20:21 -0400 Original-Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:40273) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lcVsJ-0002NC-4k for bug-gnu-emacs@gnu.org; Fri, 30 Apr 2021 12:20:21 -0400 Original-Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2558B1605 for ; Fri, 30 Apr 2021 12:20:16 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 30 Apr 2021 12:20:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.fm; h= from:to:subject:date:message-id:mime-version:content-type; s= fm3; bh=NBDS756zAkICt0/mZdhue/QwarCGFLif/WcXrMdg9YE=; b=CEUUuRlz qvLmcZP7mHNwZYQ1PwDOvgM+ZzMIXmhUwcspPX4fb8kXE7zxwi4Eciu5kBflRuFZ /zq3sWEf2mbgHIlVXE5sSFzwjk21SaA20p0J+cQA3bbvEn9YYGJ5p/Hd4hM0gMym iWc+dfuMJhepGohMPPt1sRofJkxz1O5Cm2QdTTRh3GLTe6euZtvm9UkhMgjjlaeb Mu79cEuuAAg/umPEw7gwIWGsaQ51WtD38oWJAYSC7U/HMrxOsdCaEf6RM6KTYAGx Crz1R2SBx8+Dn42kMzy13ALh/tWTJVCAvl24jEFd5xm8c+4xCu9AnrJSEIubCHB7 SuHmb7Yntz+3ag== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:message-id :mime-version:subject:to:x-me-proxy:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; bh=NBDS756zAkICt0/mZdhue/QwarCGF Lif/WcXrMdg9YE=; b=g5Twb9WwO6/lIiEBWRP32/D4C7IOT4iL8OsGMK2y3xE9N 2huMYTinaW7R70scmI0qDFevvtUq508slTd+fEsqeJy44+wKx49ptXGdK9kAW+YU RDzDHLVdjmYuBpgQ7cSGBdzIk56F4A8fUdH4OkWl2q9gKS80PBMj5S9IPOYFID2Z tsvseYigOH7y3cw2FThCavrsUzi8vD0w3uH165g1bSw0HgibhHdnWEU2Ur/1rV1D NtYWbe8LBD9zFFJwbCefYhUOsV9wfl7gI2g2NZZjtwi0zml1e3OXbF5iqaP+si9C UIIlPHBMXb3w+Po0UyqQlFYdKvwYBoh5Sx95I6W8w== X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrvddviedguddtudcutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkfggtgesthdtredttd dttdenucfhrhhomhephfhilhhiphhpucfiuhhnsghinhcuoehfghhunhgsihhnsehfrghs thhmrghilhdrfhhmqeenucggtffrrghtthgvrhhnpedtgeehgfeigfekleduteegtdetge etveehgeehuefghfeitdehteehheekieelgeenucffohhmrghinhepuhhnihgtohguvgdr ohhrghenucfkphepkeegrddvtdegrdduleefrddutdeinecuvehluhhsthgvrhfuihiivg eptdenucfrrghrrghmpehmrghilhhfrhhomhepfhhguhhnsghinhesfhgrshhtmhgrihhl rdhfmh X-ME-Proxy: Original-Received: from fgunbin.local (unknown [84.204.193.106]) by mail.messagingengine.com (Postfix) with ESMTPA for ; Fri, 30 Apr 2021 12:20:15 -0400 (EDT) Mail-Followup-To: bug-gnu-emacs@gnu.org Received-SPF: pass client-ip=64.147.123.20; envelope-from=fgunbin@fastmail.fm; helo=wout4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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:205278 Archived-At: emacs -Q Enter a base emoji char and composing variation selector right after it: C-x 8 RET SOCCER BALL C-x 8 RET VARIATION SELECTOR-16 Then, for example: C-a a s d f And the display becomes garbled. When auto-composition is turned off (M-x toggle-auto-composition), everything is fine. The above sequence is a real text which I got in an email header. It seems to be a valid variation sequence: http://www.unicode.org/Public/emoji/5.0/emoji-variation-sequences.txt ... 26BD FE0E ; text style; # (5.2) SOCCER BALL 26BD FE0F ; emoji style; # (5.2) SOCCER BALL ... This is in tty emacs, built from latest master, on macOS. Thanks. In GNU Emacs 28.0.50 (build 4, x86_64-apple-darwin20.3.0, NS appkit-2022.30 Version 11.2.3 (Build 20D91)) of 2021-04-30 built on fgunbin.local System Description: macOS 11.2.3 Configured features: ACL GLIB GNUTLS LCMS2 LIBXML2 MODULES NOTIFY KQUEUE NS PDUMPER PNG RSVG THREADS TOOLKIT_SCROLL_BARS XIM ZLIB