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.bugs Subject: bug#54970: 28.1; Some emoji no longer display Date: Sun, 17 Apr 2022 21:58:23 +0300 Message-ID: <831qxvy1tc.fsf@gnu.org> References: <87ee1xdsc8.fsf@gnus.org> <87sfqdcc2c.fsf@gnus.org> <47359AAC-A4C5-4C1A-A6B4-2ACAD44A3459@gmail.com> <83sfqdyo7s.fsf@gnu.org> <7F25712C-DDA8-4BB1-951A-B3445C35834F@gmail.com> <83o810zxz8.fsf@gnu.org> <8C4B6A53-73D4-43F5-A3BE-9598EB06F843@gmail.com> <83bkx0zvcd.fsf@gnu.org> <838rs4z25a.fsf@gnu.org> <87lew33kb0.fsf@gmail.com> <7489F752-EA20-4B0F-9CAE-E3B9DF5E6484@gmail.com> <87wnfn213m.fsf@gmail.com> <8BFFC4B1-1FB3-421D-8377-376108A57905@gmail.com> 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="37172"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 54970@debbugs.gnu.org, rpluim@gmail.com, alan@idiocy.org To: Howard Melman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Apr 17 21:32:06 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1ngAcv-0009TR-S5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 21:32:05 +0200 Original-Received: from localhost ([::1]:44468 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ngAcu-0008Ob-VP for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 17 Apr 2022 15:32:05 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:35526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngA6w-0007tI-1B for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 14:59:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:43347) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ngA6v-0006Ns-NP for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 14:59:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ngA6v-00053b-Mc for bug-gnu-emacs@gnu.org; Sun, 17 Apr 2022 14:59:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 17 Apr 2022 18:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 54970 X-GNU-PR-Package: emacs Original-Received: via spool by 54970-submit@debbugs.gnu.org id=B54970.165022192619417 (code B ref 54970); Sun, 17 Apr 2022 18:59:01 +0000 Original-Received: (at 54970) by debbugs.gnu.org; 17 Apr 2022 18:58:46 +0000 Original-Received: from localhost ([127.0.0.1]:37244 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngA6g-000537-Eu for submit@debbugs.gnu.org; Sun, 17 Apr 2022 14:58:46 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42118) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ngA6f-00052t-Iu for 54970@debbugs.gnu.org; Sun, 17 Apr 2022 14:58:45 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55640) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ngA6Z-0006L2-Lx; Sun, 17 Apr 2022 14:58:39 -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=RoENXDtdOJ7PEy+rESeE8HPcJwOr2yBw91m9ziWJMw8=; b=I7wlfX2Y+bMlh7Nhz5nk uWTwnboa+7iaSQzFX3WybVd/lPs6CrgM5vN1KAI2YgVer/JOeSvwGKkeaeLoN2wImA4dLKweqdm4k rr0GAPVT0q4Eaz80cgAeybtu+vyWR+fJHha+kCgYMa/GcGzGasl/BzfBraKwPoOtZUU/AdhMwJfKk dPQHBlrTvhtKBML/hZXKSQeg0zgm/uD6JuMuRsFHx+HkAv+fFQ+b6mr1qwsk37wR8X6yZEAKwh4B2 Hqfeg5L6Qj5bXMzv4uEgTrS1fRm22YY4IihO5z1UkyAC0smxtDJ4pnBOwAiUA2DqLGXW0QyFs138L FbIO5/pPMVLNCA==; Original-Received: from [87.69.77.57] (port=1236 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 1ngA6Y-0004Mx-CI; Sun, 17 Apr 2022 14:58:39 -0400 In-Reply-To: <8BFFC4B1-1FB3-421D-8377-376108A57905@gmail.com> (message from Howard Melman on Sun, 17 Apr 2022 14:44:25 -0400) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:230116 Archived-At: > From: Howard Melman > Date: Sun, 17 Apr 2022 14:44:25 -0400 > Cc: Eli Zaretskii , > Alan Third , > Lars Ingebrigtsen , > 54970@debbugs.gnu.org > > I'm still confused as to why the above works but this didn't: > > (set-fontset-font t 'emoji '("Apple Color Emoji" . "iso10646-1") nil 'prepend) Because that character is not in the emoji script: (aref char-script-table #x1f37d) => symbol > And I as I look at script-representative-chars, emoji is defined to be (emoji 127744 128512) > which I think means the hex range x1F300 - x1F600 so shouldn't include x1f37d? You misinterpret script-representative-chars. That doesn't mean the range of characters between the values, but only the discrete examples of the script's characters, which Emacs uses to see if a font supports a script well enough to use it. IOW, only those specific codepoints are used as representatives, not any others. > Or does it not because the default expression is text? And if so how is that > factored into the emoji script symbol passed to set-fontset-font, I don't see > how that's defined other than as this range. See lisp/international/charscript.el for how we assign characters to scripts. (It's a file generated from the UCD.) > > Those characters get composed, so they get treated as a single > > unit. They really donʼt cause any problems. > > Well C-f and C-b seem to move point between them which is somewhat startling. No, they shouldn't. If they do, it means you don't have character composition working. "C-u C-x =" should describe the composition of it happened. > >>> Modulo `use-default-font-for-symbols' > > > > Howard> FWIW this variable set to t for me which I think is the default. > > > > I meant you should try setting it to 'nil'. > > In an emacs -Q in the scratch buffer I inserted a lone U+1F37D > Toggling use-default-font-for-symbols had no effect on its display. It will only have effect if the default font has a glyph for that character.