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: Sat, 30 Oct 2021 15:30:49 +0300 Message-ID: <834k8ypudi.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <87ilxi7531.fsf@gnus.org> <875yth7bjr.fsf@gnus.org> <8335oltgyd.fsf@gnu.org> <837ddws6p5.fsf@gnu.org> <87zgqrsdwg.fsf@gnus.org> <87v91fschk.fsf@gnus.org> <83mtmrox0k.fsf@gnu.org> <83k0hvow7b.fsf@gnu.org> <87r1c2r96c.fsf@gnus.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10676"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mardani29@yahoo.es, stefankangas@gmail.com, emacs-devel@gnu.org To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Oct 30 14:39:35 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 1mgne2-0002aa-NK for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 14:39:34 +0200 Original-Received: from localhost ([::1]:36872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mgne0-0005G9-Nj for ged-emacs-devel@m.gmane-mx.org; Sat, 30 Oct 2021 08:39:32 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40312) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgnVq-0007TE-RL for emacs-devel@gnu.org; Sat, 30 Oct 2021 08:31:07 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52056) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mgnVp-0007dn-Rk; Sat, 30 Oct 2021 08:31:06 -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=80gw6uSk1LR4389QoRnoQFxUrP2Iy21cDrpnI5VyBA0=; b=ezDnR9ifWx+C T+rJ0NeIx/36wTnZYz8VDOIlat668qReSMEN5ZyQcQ3JJAQlNPw7iypjLpqVwu2w9QXOcOhVNE79I xKZJLjJM8YfJZkBdzuF07cJu7Kr+3iK2D7Lc8/c+6+9p5QzDAmGvmywHjXhuCJ87bpfkHRINJHZLj l3PjPt7X6UfmvJUgea/TeBq92gHgc+SPDyMC7kgMcI+UtX2TAZBgN3cT6B4OSq6OVsomD1PpAxfLS Q8ybkBTxi+Kq+X3dSKr4IjyILMpuCO6MVEpXbu5OGrtgStP6X13gcF0h19X/qlRRGgfAb6Agvgfud ZuxXTOc5nnNE3FfySQVdRA==; Original-Received: from [87.69.77.57] (port=4170 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 1mgnVm-00043o-LY; Sat, 30 Oct 2021 08:31:05 -0400 In-Reply-To: <87r1c2r96c.fsf@gnus.org> (message from Lars Ingebrigtsen on Sat, 30 Oct 2021 14:25:47 +0200) 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:278276 Archived-At: > From: Lars Ingebrigtsen > Cc: emacs-devel@gnu.org, stefankangas@gmail.com, mardani29@yahoo.es > Date: Sat, 30 Oct 2021 14:25:47 +0200 > > But perhaps we should have one new primitive here -- something like > string-glyph-split -- that would split a string into a list of strings > where each string represents a complete glyph. You mean, a complete grapheme cluster, I presume. That could be done, I think, by using the information returned by the composition stuff; see find-composition.