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.devel Subject: Re: Entering emojis Date: Thu, 28 Oct 2021 16:30:18 +0300 Message-ID: <8335oltgyd.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <87ilxi7531.fsf@gnus.org> <875yth7bjr.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13924"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Stefan Kangas Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 28 15:32:39 2021 Return-path: Envelope-to: ged-emacs-devel@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 1mg5WG-0003My-Qi for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 15:32:37 +0200 Original-Received: from localhost ([::1]:54676 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mg5WE-0001vC-RI for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 09:32:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg5UG-00014D-Ie for emacs-devel@gnu.org; Thu, 28 Oct 2021 09:30:32 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49078) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mg5UG-0002Ti-4J; Thu, 28 Oct 2021 09:30:32 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=H/W7mlboz8OCd/IfbPB/6Ko4HY9jbW7w/s070XeY6PY=; b=daZfQ/Z2lV6mtCqh1Rrk /L5fh2a0/qHRGOE0gT+hQ6OLuLVUl1UCocO1/qvB3TTp0mMyQUO3k6i0a8pIilSWFkWKG6gHM++5S 9sKpfuCBH7D86dstukQk3tALVq6duFdbeixgSiLHmhxWiEleuyFpoIG5o0oozAzdvfgCIl3yP/ZoC RdvRS9cKgkOzbmkKcgsrQsNfFIC45WMwZI/CAeLqnYA1N1u/wFlg0/XFlBtOR9xgomCp4UlBGb+Mk Bz3wX0WLFvQdB/gnLsRdRwg0LobZhFojr6R5c6LIOoDosyddcdm+ZhlRtGK/Svi8HoeXylGLPzgNq XbQZv6ri6jOUuA==; Original-Received: from [87.69.77.57] (port=1907 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 1mg5U2-0008LT-40; Thu, 28 Oct 2021 09:30:19 -0400 In-Reply-To: (message from Stefan Kangas on Thu, 28 Oct 2021 06:33:55 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:278100 Archived-At: > From: Stefan Kangas > Date: Thu, 28 Oct 2021 06:33:55 -0400 > > BTW, when I insert this emoji "🧙🏿‍♀️" and then hit DEL repeatedly, the > buffer text first turns into "🧙🏿‍♀" and then "🧙🏿", and then "🧙🏿" > and then "🧙". Is that a known issue? It's hard to tell. You show the sequences of codepoints, and presumably expect everyone who reads the mail to see the same display as on your machine? But that is not a reliable assumption, especially if there's some bug involved. So images would be much better. In general, we allow to use DEL to delete the codepoints that were composed into a single grapheme cluster, one codepoint at a time, and that's a feature, because otherwise it would be very cumbersome to convert one sequence into a similar but different one: you'd need to delete everything and retype from scratch. If that is what you see, then yes, it's expected and intentional behavior, not a bug.