From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Robert Pluim Newsgroups: gmane.emacs.devel Subject: Re: emacs-27 60c84ad: ; * etc/TODO: Fix last change. Date: Thu, 05 Mar 2020 15:46:34 +0100 Message-ID: References: <20200229173124.11831.98476@vcs0.savannah.gnu.org> <83zhczxa2t.fsf@gnu.org> <83eeuay0ch.fsf@gnu.org> <83d09txw29.fsf@gnu.org> <83lfogw1gn.fsf@gnu.org> <83eeu8vy0e.fsf@gnu.org> <83v9njutez.fsf@gnu.org> <83tv33uop0.fsf@gnu.org> <83o8tbunzh.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="6460"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Mar 05 15:47:26 2020 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 1j9rmV-0001Tx-Cq for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Mar 2020 15:47:23 +0100 Original-Received: from localhost ([::1]:50582 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9rmU-0008Md-Eb for ged-emacs-devel@m.gmane-mx.org; Thu, 05 Mar 2020 09:47:22 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39368) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j9rlo-0007VQ-4B for emacs-devel@gnu.org; Thu, 05 Mar 2020 09:46:41 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j9rln-0000n2-5o for emacs-devel@gnu.org; Thu, 05 Mar 2020 09:46:40 -0500 Original-Received: from mail-wm1-x32d.google.com ([2a00:1450:4864:20::32d]:50389) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j9rlm-0000lM-Ul; Thu, 05 Mar 2020 09:46:39 -0500 Original-Received: by mail-wm1-x32d.google.com with SMTP id a5so6634536wmb.0; Thu, 05 Mar 2020 06:46:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:gmane-reply-to-list:date:in-reply-to :message-id:mime-version; bh=QPYzs5dyiX60r8nHd2IDN/sBUA7dTdLR8mO/gs4w6AQ=; b=CnQ0jA/lhXD0Bn4YMM3D0mEUuwjJE9w+eEXx+SvzYyu4Ur7i8VsdB+mRYveT17d2Ua BQsQ5eLLPbvC0pi+kWHjpa3+RJqUWnbGm2Yx2QH4x7wEbkXcUxCcflIrD2rCk0E2YOm7 sEpisWNj3ZPNAr90sm4hU/xsjZNTVTxu31ADOdLleKWsw1dZX5WZwf3TdtQit0EujNna p3MYl+mkmFNrIriyY9Xo1L+WUvi6uAYifdAwyIscubazmGZup3ko0QSZui1Ag20Y0MC7 Y8M9yaSjYnujghXoXcbmrJ6bQ/J4oY1Ddq6BtlrR9WGDk1a7Kx7NOPYe/GwJedXwZ5TF /KAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references :gmane-reply-to-list:date:in-reply-to:message-id:mime-version; bh=QPYzs5dyiX60r8nHd2IDN/sBUA7dTdLR8mO/gs4w6AQ=; b=s0hiiNKu+Tc4HmmuTfH7TaOVT2D7Ec/rpU/aEDem7IVcSmlXw7dbDGOoqxTQnt7Pfs 5N99aeAGTXhaSeveZzUPRu1YXQnfFMzamljBbqoq9xTVv6lzMSsKSkl5nige13MhWxWs YuPIlDElleigA7MZLmtfOaoYDozdRoauw6dSST4QF9NU5aDFkefTu5QV+INxZVweuxAJ +JW5AXTJ7R9BNzl027RDhlWoq+A13Wc4LkLcD3boJA+hq9k1o5vHnejElJ/s5QN3GMkO 1n2k4hv7H8FlTstdSTbe7eL5lPszjQH03OgEc4v//DJ7PIFl8S2Ob6T0fKKKl8l5ohca BuNw== X-Gm-Message-State: ANhLgQ3ZFCsUHOLbHfJ3E3++rAaQUxJctmXyesd2A8PxYrD9KHLDjdSN 3ltS3sx7gCPBSxCAO5smiKRvdWoK X-Google-Smtp-Source: ADFU+vvd0Di76KBeek3k0wXdLvfupRozTzwEinghKYPg7JqbAZaDXwjzegTqLt6XR24IcNOxxUYnzg== X-Received: by 2002:a1c:9e85:: with SMTP id h127mr9599266wme.145.1583419596562; Thu, 05 Mar 2020 06:46:36 -0800 (PST) Original-Received: from rpluim-mac ([149.5.228.1]) by smtp.gmail.com with ESMTPSA id q1sm3010431wrx.19.2020.03.05.06.46.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 05 Mar 2020 06:46:35 -0800 (PST) Gmane-Reply-To-List: yes In-Reply-To: <83o8tbunzh.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Mar 2020 11:53:22 +0200") X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32d 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:245266 Archived-At: --=-=-= Content-Type: text/plain >>>>> On Thu, 05 Mar 2020 11:53:22 +0200, Eli Zaretskii said: Eli> The u+2XXX and U+3XXX characters are not Emoji by default, they are Eli> supposed to be displayed as Emoji only if followed by the Emoji-style Eli> variation selector. Otherwise, they should be displayed in text Eli> representation. Ok, so based on emoji-data.txt, my awk script produces the attached .el file. It excludes U+2XXX and U+3XXX, plus U+A9 and U+AE and anything ASCII. Note that there are duplicates in there, since some codepoints have multiple Emoji-type properties. Of course, we could just decide a bunch of ranges from Block.txt that we want to treat as emoji, and hardcode that. Robert --=-=-= Content-Type: application/emacs-lisp Content-Disposition: inline; filename=emoji-fontset.el Content-Transfer-Encoding: quoted-printable ;;; emoji-fontset.el --- emoji fontset setup ;;; Automatically generated from admin/unidata/emoji-data.txt (defconst emoji-codepoint-list '( #x1F0CF (#x1F170 . #x1F171) #x1F17E #x1F17F #x1F18E (#x1F191 . #x1F19A) (#x1F1E6 . #x1F1FF) (#x1F201 . #x1F202) #x1F21A #x1F22F (#x1F232 . #x1F23A) (#x1F250 . #x1F251) (#x1F300 . #x1F320) #x1F321 (#x1F324 . #x1F32C) (#x1F32D . #x1F32F) (#x1F330 . #x1F335) #x1F336 (#x1F337 . #x1F37C) #x1F37D (#x1F37E . #x1F37F) (#x1F380 . #x1F393) (#x1F396 . #x1F397) (#x1F399 . #x1F39B) (#x1F39E . #x1F39F) (#x1F3A0 . #x1F3C4) #x1F3C5 (#x1F3C6 . #x1F3CA) (#x1F3CB . #x1F3CE) (#x1F3CF . #x1F3D3) (#x1F3D4 . #x1F3DF) (#x1F3E0 . #x1F3F0) (#x1F3F3 . #x1F3F5) #x1F3F7 (#x1F3F8 . #x1F3FF) (#x1F400 . #x1F43E) #x1F43F #x1F440 #x1F441 (#x1F442 . #x1F4F7) #x1F4F8 (#x1F4F9 . #x1F4FC) #x1F4FD #x1F4FF (#x1F500 . #x1F53D) (#x1F549 . #x1F54A) (#x1F54B . #x1F54E) (#x1F550 . #x1F567) (#x1F56F . #x1F570) (#x1F573 . #x1F579) #x1F57A #x1F587 (#x1F58A . #x1F58D) #x1F590 (#x1F595 . #x1F596) #x1F5A4 #x1F5A5 #x1F5A8 (#x1F5B1 . #x1F5B2) #x1F5BC (#x1F5C2 . #x1F5C4) (#x1F5D1 . #x1F5D3) (#x1F5DC . #x1F5DE) #x1F5E1 #x1F5E3 #x1F5E8 #x1F5EF #x1F5F3 #x1F5FA (#x1F5FB . #x1F5FF) #x1F600 (#x1F601 . #x1F610) #x1F611 (#x1F612 . #x1F614) #x1F615 #x1F616 #x1F617 #x1F618 #x1F619 #x1F61A #x1F61B (#x1F61C . #x1F61E) #x1F61F (#x1F620 . #x1F625) (#x1F626 . #x1F627) (#x1F628 . #x1F62B) #x1F62C #x1F62D (#x1F62E . #x1F62F) (#x1F630 . #x1F633) #x1F634 (#x1F635 . #x1F640) (#x1F641 . #x1F642) (#x1F643 . #x1F644) (#x1F645 . #x1F64F) (#x1F680 . #x1F6C5) (#x1F6CB . #x1F6CF) #x1F6D0 (#x1F6D1 . #x1F6D2) #x1F6D5 (#x1F6E0 . #x1F6E5) #x1F6E9 (#x1F6EB . #x1F6EC) #x1F6F0 #x1F6F3 (#x1F6F4 . #x1F6F6) (#x1F6F7 . #x1F6F8) #x1F6F9 #x1F6FA (#x1F7E0 . #x1F7EB) (#x1F90D . #x1F90F) (#x1F910 . #x1F918) (#x1F919 . #x1F91E) #x1F91F (#x1F920 . #x1F927) (#x1F928 . #x1F92F) #x1F930 (#x1F931 . #x1F932) (#x1F933 . #x1F93A) (#x1F93C . #x1F93E) #x1F93F (#x1F940 . #x1F945) (#x1F947 . #x1F94B) #x1F94C (#x1F94D . #x1F94F) (#x1F950 . #x1F95E) (#x1F95F . #x1F96B) (#x1F96C . #x1F970) #x1F971 (#x1F973 . #x1F976) #x1F97A #x1F97B (#x1F97C . #x1F97F) (#x1F980 . #x1F984) (#x1F985 . #x1F991) (#x1F992 . #x1F997) (#x1F998 . #x1F9A2) (#x1F9A5 . #x1F9AA) (#x1F9AE . #x1F9AF) (#x1F9B0 . #x1F9B9) (#x1F9BA . #x1F9BF) #x1F9C0 (#x1F9C1 . #x1F9C2) (#x1F9C3 . #x1F9CA) (#x1F9CD . #x1F9CF) (#x1F9D0 . #x1F9E6) (#x1F9E7 . #x1F9FF) (#x1FA70 . #x1FA73) (#x1FA78 . #x1FA7A) (#x1FA80 . #x1FA82) (#x1FA90 . #x1FA95) #x1F0CF #x1F18E (#x1F191 . #x1F19A) (#x1F1E6 . #x1F1FF) #x1F201 #x1F21A #x1F22F (#x1F232 . #x1F236) (#x1F238 . #x1F23A) (#x1F250 . #x1F251) (#x1F300 . #x1F320) (#x1F32D . #x1F32F) (#x1F330 . #x1F335) (#x1F337 . #x1F37C) (#x1F37E . #x1F37F) (#x1F380 . #x1F393) (#x1F3A0 . #x1F3C4) #x1F3C5 (#x1F3C6 . #x1F3CA) (#x1F3CF . #x1F3D3) (#x1F3E0 . #x1F3F0) #x1F3F4 (#x1F3F8 . #x1F3FF) (#x1F400 . #x1F43E) #x1F440 (#x1F442 . #x1F4F7) #x1F4F8 (#x1F4F9 . #x1F4FC) #x1F4FF (#x1F500 . #x1F53D) (#x1F54B . #x1F54E) (#x1F550 . #x1F567) #x1F57A (#x1F595 . #x1F596) #x1F5A4 (#x1F5FB . #x1F5FF) #x1F600 (#x1F601 . #x1F610) #x1F611 (#x1F612 . #x1F614) #x1F615 #x1F616 #x1F617 #x1F618 #x1F619 #x1F61A #x1F61B (#x1F61C . #x1F61E) #x1F61F (#x1F620 . #x1F625) (#x1F626 . #x1F627) (#x1F628 . #x1F62B) #x1F62C #x1F62D (#x1F62E . #x1F62F) (#x1F630 . #x1F633) #x1F634 (#x1F635 . #x1F640) (#x1F641 . #x1F642) (#x1F643 . #x1F644) (#x1F645 . #x1F64F) (#x1F680 . #x1F6C5) #x1F6CC #x1F6D0 (#x1F6D1 . #x1F6D2) #x1F6D5 (#x1F6EB . #x1F6EC) (#x1F6F4 . #x1F6F6) (#x1F6F7 . #x1F6F8) #x1F6F9 #x1F6FA (#x1F7E0 . #x1F7EB) (#x1F90D . #x1F90F) (#x1F910 . #x1F918) (#x1F919 . #x1F91E) #x1F91F (#x1F920 . #x1F927) (#x1F928 . #x1F92F) #x1F930 (#x1F931 . #x1F932) (#x1F933 . #x1F93A) (#x1F93C . #x1F93E) #x1F93F (#x1F940 . #x1F945) (#x1F947 . #x1F94B) #x1F94C (#x1F94D . #x1F94F) (#x1F950 . #x1F95E) (#x1F95F . #x1F96B) (#x1F96C . #x1F970) #x1F971 (#x1F973 . #x1F976) #x1F97A #x1F97B (#x1F97C . #x1F97F) (#x1F980 . #x1F984) (#x1F985 . #x1F991) (#x1F992 . #x1F997) (#x1F998 . #x1F9A2) (#x1F9A5 . #x1F9AA) (#x1F9AE . #x1F9AF) (#x1F9B0 . #x1F9B9) (#x1F9BA . #x1F9BF) #x1F9C0 (#x1F9C1 . #x1F9C2) (#x1F9C3 . #x1F9CA) (#x1F9CD . #x1F9CF) (#x1F9D0 . #x1F9E6) (#x1F9E7 . #x1F9FF) (#x1FA70 . #x1FA73) (#x1FA78 . #x1FA7A) (#x1FA80 . #x1FA82) (#x1FA90 . #x1FA95) (#x1F3FB . #x1F3FF) #x1F385 (#x1F3C2 . #x1F3C4) #x1F3C7 #x1F3CA (#x1F3CB . #x1F3CC) (#x1F442 . #x1F443) (#x1F446 . #x1F450) (#x1F466 . #x1F478) #x1F47C (#x1F481 . #x1F483) (#x1F485 . #x1F487) #x1F48F #x1F491 #x1F4AA (#x1F574 . #x1F575) #x1F57A #x1F590 (#x1F595 . #x1F596) (#x1F645 . #x1F647) (#x1F64B . #x1F64F) #x1F6A3 (#x1F6B4 . #x1F6B6) #x1F6C0 #x1F6CC #x1F90F #x1F918 (#x1F919 . #x1F91E) #x1F91F #x1F926 #x1F930 (#x1F931 . #x1F932) (#x1F933 . #x1F939) (#x1F93C . #x1F93E) (#x1F9B5 . #x1F9B6) (#x1F9B8 . #x1F9B9) #x1F9BB (#x1F9CD . #x1F9CF) (#x1F9D1 . #x1F9DD) #xFE0F (#x1F1E6 . #x1F1FF) (#x1F3FB . #x1F3FF) (#x1F9B0 . #x1F9B3) (#xE0020 . #xE007F) )) (defun emoji-fontset-setup-default-fontset (&optional fname) (let ((font (or fname) "Noto Color Emoji")) (dolist (elt emoji-codepoint-list) (set-fontset-font "fontset-default" elt font nil 'prepend)))) (provide 'emoji-fontset) --=-=-=--