From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#56952: 29.0.50; Emoji skin-tone modifiers disrupt terminal output Date: Wed, 03 Aug 2022 17:28:06 +0300 Message-ID: <8335ed5rm1.fsf@gnu.org> References: <87a68l1m1b.fsf@neverwas.me> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1372"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56952@debbugs.gnu.org To: "J.P." Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 03 16:29:12 2022 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 1oJFN1-00009i-V2 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 16:29:12 +0200 Original-Received: from localhost ([::1]:56772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJFN1-00016N-09 for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 10:29:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40476) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJFMs-00014L-So for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 10:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:59937) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJFMs-0008VE-Jd for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 10:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJFMs-0003rR-Aj for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 10:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 03 Aug 2022 14:29:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56952 X-GNU-PR-Package: emacs Original-Received: via spool by 56952-submit@debbugs.gnu.org id=B56952.165953690014788 (code B ref 56952); Wed, 03 Aug 2022 14:29:02 +0000 Original-Received: (at 56952) by debbugs.gnu.org; 3 Aug 2022 14:28:20 +0000 Original-Received: from localhost ([127.0.0.1]:49686 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJFMB-0003qR-Q9 for submit@debbugs.gnu.org; Wed, 03 Aug 2022 10:28:20 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:55670) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJFM9-0003qE-RX for 56952@debbugs.gnu.org; Wed, 03 Aug 2022 10:28:18 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46294) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJFM4-0008R0-FU; Wed, 03 Aug 2022 10:28:12 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=I3U2XYzkKWdZ3C1gzI6x6Cqs82jEhSD2Ucm0EgCqF5s=; b=kJPpxo8/2bCE TaO1lGcrPxN8L9/9yCX10rAGHOE1GTq9owDlizcaYjHJgbKotPNBcC+UuCzwLagwuRsHemKgr+G2n yagBDjPRVPThMmG0AaBhpYckJCR5Qifg6e/ZnFn+R9NV+3VZCwha4i30ilXilXSVpPOBnaZcLT5Tt MTGkDV+4Em8TbNvjjqCYhvsLjVfEiXTN1m2HQWhELOKgSuBqfQEUu7eUolC/3R9Ekb1nN/FJSGnLW oPCgwjOS9ejQJtsNPflGCd1Lbox0wT+eb+Nb/ZLGRQYcyXtkwD49kR2joH8lMPM7E80of59nHQGNo kRBE8RSYOcSzFXyegMXIwA==; Original-Received: from [87.69.77.57] (port=1140 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJFM3-00057q-Un; Wed, 03 Aug 2022 10:28:12 -0400 In-Reply-To: <87a68l1m1b.fsf@neverwas.me> (jp@neverwas.me) 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:238642 Archived-At: > From: "J.P." > Date: Wed, 03 Aug 2022 06:42:08 -0700 > > - emacs -Q -nw > - In *scratch*, M-: > > (dotimes (_ 10) (insert ";; \U0001f9dc\U0001f3fc 12345\n\n\n\n\n\n")) > > - Make entire buffer the active region (put mark at BOB and point at EOB) > - Scroll down (M-v) once or twice > - Gaps appear in the mode line and visual artifacts elsewhere > > AFAICT, the two inserted characters can be any valid emoji/modifier > combination. Additional leading or trailing emojis (or other characters, > like ZWJ \u200d or VS-16 \ufe0f) don't seem to affect the result. > > This was initially noticed on an Alacritty terminal emulator displaying > a remote Emacs 28. The session in the screenshot below was run in a > stock VM image [1] with only Emacs 29 installed: On a TTY Emacs expects the terminal emulator to DTRT with composable sequences. Some emulators don't, so you need to turn off auto-composition-mode for those. (The value of auto-composition-mode can be a string naming the terminal where to disable it automatically.)