From: Robert Pluim <rpluim@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: monnier@iro.umontreal.ca, emacs-devel@gnu.org
Subject: Re: emacs-27 60c84ad: ; * etc/TODO: Fix last change.
Date: Thu, 05 Mar 2020 17:08:12 +0100 [thread overview]
Message-ID: <m2r1y6ss2b.fsf@gmail.com> (raw)
In-Reply-To: <83k13yvn8u.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 05 Mar 2020 17:24:01 +0200")
>>>>> On Thu, 05 Mar 2020 17:24:01 +0200, Eli Zaretskii <eliz@gnu.org> said:
Eli> I don't think it has little to do with the Unicode idea, it just
Eli> doesn't use the database. The blocks I was talking about are all
Eli> Emoji blocks, and Unicode is generally careful to put related
Eli> characters into the same blocks.
If you look at the list of Emoji codepoints I sent earlier, I think
you'll agree that they're all over the place. But at least this makes
the patch smaller :-)
Note that with this, and Symbola disabled, this does not display a
glyph for U+1F300 on macOS unless I prepend 'Apple Color Emoji' to the
frame's fontset. Is that expected on macOS?
Robert
diff --git c/admin/unidata/blocks.awk i/admin/unidata/blocks.awk
index 03acf1e4be..a6844871c5 100755
--- c/admin/unidata/blocks.awk
+++ i/admin/unidata/blocks.awk
@@ -54,7 +54,8 @@ BEGIN {
alias["enclosed alphanumerics"] = "symbol"
alias["box drawing"] = "symbol"
alias["block elements"] = "symbol"
- alias["miscellaneous symbols"] = "symbol"
+ alias["miscellaneous symbols and pictographs"] = "emoji"
+ alias["emoticons"] = "emoji"
alias["cjk strokes"] = "cjk-misc"
alias["cjk symbols and punctuation"] = "cjk-misc"
alias["halfwidth and fullwidth forms"] = "cjk-misc"
@@ -99,7 +100,8 @@ function name2alias(name , w, w2) {
else if (name ~ /cuneiform number/) return "cuneiform-numbers-and-punctuation"
else if (name ~ /cuneiform/) return "cuneiform"
else if (name ~ /mathematical alphanumeric symbol/) return "mathematical"
- else if (name ~ /punctuation|mathematical|arrows|currency|superscript|small form variants|geometric|dingbats|enclosed|alchemical|pictograph|emoticon|transport/) return "symbol"
+ else if (name ~ /transport|supplemental symbols/) return "emoji"
+ else if (name ~ /punctuation|mathematical|arrows|currency|superscript|small form variants|geometric|dingbats|enclosed|alchemical|pictograph/) return "symbol"
else if (name ~ /canadian aboriginal/) return "canadian-aboriginal"
else if (name ~ /katakana|hiragana/) return "kana"
else if (name ~ /myanmar/) return "burmese"
diff --git c/lisp/international/fontset.el i/lisp/international/fontset.el
index 529c7bb88b..e4a34d5f1c 100644
--- c/lisp/international/fontset.el
+++ i/lisp/international/fontset.el
@@ -267,7 +267,8 @@ font-encoding-charset-alist
(indic-siyaq-number #x1ec71)
(ottoman-siyaq-number #x1ed01)
(mahjong-tile #x1F000)
- (domino-tile #x1F030)))
+ (domino-tile #x1F030)
+ (emoji #x1F300)))
(defvar otf-script-alist)
@@ -866,6 +867,9 @@ setup-default-fontset
(#x1FA00 . #x1FA6F))) ;; Chess Symbols
(set-fontset-font "fontset-default" symbol-subgroup
'("Symbola" . "iso10646-1") nil 'prepend))
+ ;; This sets up the Emoji codepoints to use prettier fonts.
+ (set-fontset-font "fontset-default" 'emoji
+ "Noto Color Emoji" nil 'prepend)
;; Box Drawing and Block Elements
(set-fontset-font "fontset-default" '(#x2500 . #x259F)
'("FreeMono" . "iso10646-1") nil 'prepend)
next prev parent reply other threads:[~2020-03-05 16:08 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20200229173124.11831.98476@vcs0.savannah.gnu.org>
[not found] ` <20200229173125.E2D3A21167@vcs0.savannah.gnu.org>
2020-03-02 10:40 ` emacs-27 60c84ad: ; * etc/TODO: Fix last change Robert Pluim
2020-03-02 11:36 ` Eli Zaretskii
2020-03-02 14:08 ` Robert Pluim
2020-03-02 14:24 ` Eli Zaretskii
2020-03-02 14:36 ` Eli Zaretskii
2020-03-02 15:06 ` Robert Pluim
2020-03-02 15:25 ` Eli Zaretskii
2020-03-02 15:42 ` Robert Pluim
2020-03-02 15:58 ` Eli Zaretskii
2020-03-02 16:40 ` Robert Pluim
2020-03-02 15:34 ` Eli Zaretskii
2020-03-02 16:58 ` Stefan Monnier
2020-03-02 20:12 ` Robert Pluim
2020-03-02 20:21 ` Eli Zaretskii
2020-03-02 20:55 ` Robert Pluim
2020-03-03 12:51 ` Robert Pluim
2020-03-03 16:06 ` Eli Zaretskii
2020-03-04 7:23 ` Robert Pluim
2020-03-04 9:25 ` Robert Pluim
2020-03-04 16:04 ` Eli Zaretskii
2020-03-04 16:54 ` Robert Pluim
2020-03-04 17:19 ` Eli Zaretskii
2020-03-05 7:29 ` Robert Pluim
2020-03-05 7:56 ` Eli Zaretskii
2020-03-05 8:13 ` Robert Pluim
2020-03-05 9:38 ` Eli Zaretskii
2020-03-05 9:48 ` Robert Pluim
2020-03-05 9:53 ` Eli Zaretskii
2020-03-05 14:46 ` Robert Pluim
2020-03-05 14:59 ` Eli Zaretskii
2020-03-05 15:11 ` Robert Pluim
2020-03-05 15:24 ` Eli Zaretskii
2020-03-05 16:08 ` Robert Pluim [this message]
2020-03-05 19:04 ` Eli Zaretskii
2020-03-06 16:32 ` Robert Pluim
2020-03-06 17:05 ` Eli Zaretskii
2020-03-06 17:35 ` Robert Pluim
2020-03-09 23:12 ` chad
2020-03-10 7:33 ` Robert Pluim
2020-03-22 5:18 ` YAMAMOTO Mitsuharu
2020-03-04 15:51 ` Eli Zaretskii
2020-03-04 16:58 ` Robert Pluim
2020-03-04 17:24 ` Eli Zaretskii
2020-03-03 17:22 ` Eli Zaretskii
2020-03-04 7:26 ` Robert Pluim
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=m2r1y6ss2b.fsf@gmail.com \
--to=rpluim@gmail.com \
--cc=eliz@gnu.org \
--cc=emacs-devel@gnu.org \
--cc=monnier@iro.umontreal.ca \
/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).