unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "J.P." <jp@neverwas.me>
Cc: 56952@debbugs.gnu.org
Subject: bug#56952: 29.0.50; Emoji skin-tone modifiers disrupt terminal output
Date: Wed, 03 Aug 2022 17:28:06 +0300	[thread overview]
Message-ID: <8335ed5rm1.fsf@gnu.org> (raw)
In-Reply-To: <87a68l1m1b.fsf@neverwas.me> (jp@neverwas.me)

> From: "J.P." <jp@neverwas.me>
> 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.)





  reply	other threads:[~2022-08-03 14:28 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-03 13:42 bug#56952: 29.0.50; Emoji skin-tone modifiers disrupt terminal output J.P.
2022-08-03 14:28 ` Eli Zaretskii [this message]
2022-08-03 19:42   ` J.P.
2022-08-04  5:28     ` Eli Zaretskii
2022-08-04 12:55       ` J.P.
2022-08-06 16:20         ` Eli Zaretskii

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8335ed5rm1.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=56952@debbugs.gnu.org \
    --cc=jp@neverwas.me \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).