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#43889: 28.0.50; [PATCH] Add new smiley-style emoji to Gnus Date: Mon, 12 Oct 2020 18:03:40 +0300 Message-ID: <83tuuz32r7.fsf@gnu.org> References: <87tuv3ry51.fsf@tullinup.koldfront.dk> <83lfge615e.fsf@gnu.org> <87pn5qgwrj.fsf@tullinup.koldfront.dk> <83362m5naw.fsf@gnu.org> <87lfgegur9.fsf@tullinup.koldfront.dk> 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="4403"; mail-complaints-to="usenet@ciao.gmane.io" Cc: asjo@koldfront.dk, 43889@debbugs.gnu.org To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Oct 12 17:04:19 2020 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 1kRzN5-0000w3-94 for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 17:04:19 +0200 Original-Received: from localhost ([::1]:38812 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRzN4-0002Ln-9v for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 12 Oct 2020 11:04:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48404) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kRzMo-0002L5-Qs for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:04:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60375) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kRzMo-0003I7-HE for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kRzMo-000523-DQ for bug-gnu-emacs@gnu.org; Mon, 12 Oct 2020 11:04:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Oct 2020 15:04:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43889 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43889-submit@debbugs.gnu.org id=B43889.160251502519321 (code B ref 43889); Mon, 12 Oct 2020 15:04:02 +0000 Original-Received: (at 43889) by debbugs.gnu.org; 12 Oct 2020 15:03:45 +0000 Original-Received: from localhost ([127.0.0.1]:43688 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRzMX-00051Y-3j for submit@debbugs.gnu.org; Mon, 12 Oct 2020 11:03:45 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41384) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kRzMV-00051L-D2 for 43889@debbugs.gnu.org; Mon, 12 Oct 2020 11:03:43 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:44566) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kRzMM-0003FQ-Nm; Mon, 12 Oct 2020 11:03:35 -0400 Original-Received: from [176.228.60.248] (port=2648 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1kRzMM-0000gB-4A; Mon, 12 Oct 2020 11:03:34 -0400 In-Reply-To: (message from Robert Pluim on Mon, 12 Oct 2020 11:03:53 +0200) 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:190332 Archived-At: > From: Robert Pluim > Cc: Eli Zaretskii , 43889@debbugs.gnu.org > Date: Mon, 12 Oct 2020 11:03:53 +0200 > > >> How about adding that: the font-backend frame parameter should tell > >> you if HarfBuzz is available. > > By looking for the substring 'hb' in it? Not necessarily. The set of HarfBuzz-based font backends is very small, so we could just have a list and test against it. > Could we add something a little less icky, along the lines of > 'libxml-available-p'? We could, but it wouldn't tell us whether HarfBuzz is actually being used (as opposed to being the fallback). But this looks like a moot point, given what you write below: > Adam> Do you mean removing the option if HarfBuzz isn't available? > > I donʼt think this is dependent on Harfbuzz, etc/NEWS.27: > > ** Multicolor fonts such as "Noto Color Emoji" can be displayed on > Emacs configured with Cairo drawing and linked with cairo >= 1.16.0. > > (and on macOS, if explicitly requested) > > Adam> As far as I understand it, emoji can be displayed without, they just > Adam> won't have color? Which might be something that users without HarfBuzz > Adam> would like to be able to choose. > > Adam> (Having color emoji is just my motivation to make the patch.) > > They'd be displayed with whatever font Emacs found for them. > > >> Perhaps when HarfBuzz is being used, it should be the default? I > >> don't use Gnus, but maybe such a new default will make sense to Gnus > >> users? > > > Adam> I think changing the default would be annoying to users, but I don't > Adam> have any evidence in either direction. Maybe some users would consider > Adam> it "modern" to change it. > > As a Gnus user I wouldnʼt object to it being the default, as long as > there was a reasonable fallback for when those characters cannot be > displayed.