From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.devel Subject: Re: Entering emojis Date: Thu, 28 Oct 2021 16:37:55 -0700 Message-ID: References: <87cznths5j.fsf@gnus.org> <87ilxi7531.fsf@gnus.org> <875yth7bjr.fsf@gnus.org> <8335oltgyd.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40436"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 29 01:42:13 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 1mgF2D-000AHY-4p for ged-emacs-devel@m.gmane-mx.org; Fri, 29 Oct 2021 01:42:13 +0200 Original-Received: from localhost ([::1]:45154 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgF2A-0001mT-Lv for ged-emacs-devel@m.gmane-mx.org; Thu, 28 Oct 2021 19:42:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59898) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgEy7-0000tv-7W for emacs-devel@gnu.org; Thu, 28 Oct 2021 19:37:59 -0400 Original-Received: from mail-pf1-x42b.google.com ([2607:f8b0:4864:20::42b]:41511) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mgEy5-0000gt-TP; Thu, 28 Oct 2021 19:37:58 -0400 Original-Received: by mail-pf1-x42b.google.com with SMTP id p40so2636043pfh.8; Thu, 28 Oct 2021 16:37:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=eEjwpf/e2oOpZnrZoByZSqslTgaw7F8pwWru7XIXFlY=; b=XCAnksE+Sgd6msCTR7eEgufVomeLm0fA3ZkXnP2ktmG7WhOushGS0pjrBi3eX02gQC Us9w+oaMqaZta9Axh443QYIVJPY8NFhihOJzZTIClvaIimdFmKpLrMER5x91KI5PQMDk nL3YtOBgMPiinwahsqbfOzp4vH4g6D5YLYkEgvW8hHSN9uPgbFtALeFbbhvSd/d3jecO McP8JIF0REZU+B/8+SO+5DImNW0IRWkV65ly9koKicwyzQtyE73Ici13H4Y84SyYInA4 jbYJXn2F8vji8PjstZRGW+aTNoQMEw44l5iNvTI3m39sJmOn/CChuZkDJQPktWyN3TOe UV9A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=eEjwpf/e2oOpZnrZoByZSqslTgaw7F8pwWru7XIXFlY=; b=zssIJowT2NYin+B6Fq0OFdqyNHTX3ckBngNR/PYPbsr+sOyFw3XU7i4zrfrFFzFuSc pdEi/vPC0eEEHt7yWqpJeUfqbkhNVKv79tHoeFpqskDQMXuIau4zzT6V6Zlh4zRyoJZn dCCA5Cr6liH6DEHqNXeTW2D7zGeNP/5aiRefAPPwuQpSNIyNoYQ9Vn68bkuHZrPehQj9 NfqD5BYH3XKW501LcgNxL1aHMj3SBuzXFUFFOE28pQ0+TayX9XtuJoCYqgGuLmC3MopG OUmBNgcRpXUkICK/1dGvNpFRZYh6uFGn7wTk3hXJFg428FyO5CIZnDC9AIBEwPD3sC/a YMjw== X-Gm-Message-State: AOAM531EPLSRUrziKFbpptIWEjK0xSRf0J4XzMA6u9Nmao4ptZEpXEYF adQgrkMy4XiqUENZcdwYtsLwosrfVG2Tdg/abQOraVG6 X-Google-Smtp-Source: ABdhPJwupfdWIOomH9fZjVEGgasXhUwAs2cr6rK3wqqSi/NA/L1imb26lFMoG63y+rZ+M2fINB1icpwoXFWlD2wbDZM= X-Received: by 2002:a05:6a00:244d:b0:44d:c279:5155 with SMTP id d13-20020a056a00244d00b0044dc2795155mr7304435pfj.0.1635464276085; Thu, 28 Oct 2021 16:37:56 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Thu, 28 Oct 2021 16:37:55 -0700 In-Reply-To: <8335oltgyd.fsf@gnu.org> Received-SPF: pass client-ip=2607:f8b0:4864:20::42b; envelope-from=stefankangas@gmail.com; helo=mail-pf1-x42b.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:278155 Archived-At: Eli Zaretskii writes: > 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. Aha. Yes, that does sound like what I see. I fully trust that you know more than me about what makes sense in general, and I have no opinion about that. But in the specific case of emojis, I would have expected that the emojis just get deleted in one go, as that is what happens in other software where I use emojis. (Mostly chat programs on my phone.) Would it be possible and make sense to handle emojis differently from other grapheme clusters in that regard? The desire not to retype them from scratch might be less of a concern now that we have `emoji-insert'.