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: Wed, 27 Oct 2021 16:34:58 +0300 Message-ID: <83ee86wpz1.fsf@gnu.org> References: <87cznths5j.fsf@gnus.org> <83zgqxymd3.fsf@gnu.org> <878rygj4gt.fsf@gnus.org> <83wnm0zz0q.fsf@gnu.org> <874k94j3rn.fsf@gnus.org> <83v91kzydh.fsf@gnu.org> <87tuh4holf.fsf@gnus.org> <822aec9d01909cecfc6c@heytings.org> <87a6iwhltf.fsf@gnus.org> <83tuh4zfg5.fsf@gnu.org> <87y26gfobr.fsf@gnus.org> <87tuh4f1ie.fsf@gnus.org> <83tuh2wuwa.fsf@gnu.org> <87pmrqod9f.fsf@gmail.com> <87wnlymx96.fsf@gmail.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28716"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, emacs-devel@gnu.org, gregory@heytings.org, stefankangas@gmail.com To: Robert Pluim Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Oct 27 16:27:38 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 1mfjtw-0007CQ-0q for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 16:27:36 +0200 Original-Received: from localhost ([::1]:43388 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mfjtu-00082r-OG for ged-emacs-devel@m.gmane-mx.org; Wed, 27 Oct 2021 10:27:34 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36406) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfj54-0002eM-6t for emacs-devel@gnu.org; Wed, 27 Oct 2021 09:35:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37238) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mfj53-0000iU-8o; Wed, 27 Oct 2021 09:35:01 -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=e2kyTWbISVK8W7snHl/iwL5iPuAKl8bM7ggjYbxo9t8=; b=rjY1V2y/tM1j KR2zXE2+/azshufmgOhZEYdF27G65kz9bUsAZwNypUeDRuJAd+OK2nVWodmBp8iVOkrRy27ZYJ8JW 5PpJ/Rp9xjAa5cMzjKlMk2Or4QhBaHcXFaYw0TNBCmlSstjtUjJARqZ9UCy6h1ZlocTj36uTTtBcY 85hOJSx8LsWA5VMNTtzEwxFK7uVX5QSe0L3rB3Si5rPT+3t7K8rsmlb4gxdPpKPNlinpHgh2TxWLl XJ1PrVb/4IXdolexngGSzeXbLIxxs8zxwbMDsPu/mhO9/jhvP49YNaoGXoLuK+WhRK0SUq0wQCTyu rD9hwYBQO6lLCLceil9msA==; Original-Received: from [87.69.77.57] (port=4837 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 1mfj52-0007va-P3; Wed, 27 Oct 2021 09:35:01 -0400 In-Reply-To: <87wnlymx96.fsf@gmail.com> (message from Robert Pluim on Wed, 27 Oct 2021 15:07:49 +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:277965 Archived-At: > From: Robert Pluim > Cc: larsi@gnus.org, gregory@heytings.org, Stefan Kangas > , emacs-devel@gnu.org > Date: Wed, 27 Oct 2021 15:07:49 +0200 > > /* Don't use a color bitmap font unless its family is > explicitly specified. */ > if ((sym_traits & kCTFontTraitColorGlyphs) && NILP (family)) > continue; > > which I asked Yamamoto-san about last year, and the response was: > > > which does a good job of explaining *what* was done for the Mac port > (which is a separate port) but not why. > > Anyway, if I delete the above, Apple Color Emoji is used for emoji. Do we have the 'emoji' script in AREF (spec, FONT_EXTRA_INDEX) in that function, when Emacs is looking for a font to display Emoji? If so, we could refrain from the above condition only when a font for Emoji is being sought, and that could be safe enough for the release branch.