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#56691: outline-minor-mode displays navigation arrow buttons as emojis Date: Fri, 29 Jul 2022 16:35:17 +0300 Message-ID: <83sfmk6nze.fsf@gnu.org> References: <15cd39ee8fe919a8656095fbfa5ae85e@purelymail.com> <83k085lhj1.fsf@gnu.org> <87o7xg5ob9.fsf@gnus.org> <83tu78i9xz.fsf@gnu.org> <875yjo47a8.fsf@gnus.org> <83pmhwi8i7.fsf@gnu.org> <87k0842s4s.fsf@gnus.org> <83o7xgi53z.fsf@gnu.org> <87zggyyiy3.fsf@gnus.org> <874jz1wgzm.fsf@gnus.org> <83sfml8gez.fsf@gnu.org> <87czdom9w6.fsf@gnus.org> <83wnbw6r9o.fsf@gnu.org> <87sfmkjda6.fsf@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="8963"; mail-complaints-to="usenet@ciao.gmane.io" Cc: larsi@gnus.org, 56691@debbugs.gnu.org, hello@paulwrankin.com To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 29 15:38:10 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 1oHQBu-0002BT-0e for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 15:38:10 +0200 Original-Received: from localhost ([::1]:45044 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oHQBt-0008IF-1S for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 29 Jul 2022 09:38:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46830) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHQ9r-0006Tk-0T for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 09:36:13 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42200) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oHQ9q-00016x-7U for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 09:36:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oHQ9q-0006Ch-3V for bug-gnu-emacs@gnu.org; Fri, 29 Jul 2022 09:36: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: Fri, 29 Jul 2022 13:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56691 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: notabug Original-Received: via spool by 56691-submit@debbugs.gnu.org id=B56691.165910172623790 (code B ref 56691); Fri, 29 Jul 2022 13:36:02 +0000 Original-Received: (at 56691) by debbugs.gnu.org; 29 Jul 2022 13:35:26 +0000 Original-Received: from localhost ([127.0.0.1]:60182 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHQ9G-0006Be-1x for submit@debbugs.gnu.org; Fri, 29 Jul 2022 09:35:26 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:33608) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oHQ9D-0006BN-TT for 56691@debbugs.gnu.org; Fri, 29 Jul 2022 09:35:24 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:39586) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oHQ97-0000Fm-Sw; Fri, 29 Jul 2022 09:35:18 -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=Q6MO+bv0iL2M72mCp7PdNeEwfQzdXclPBLlUuW5LTaY=; b=pbxnRDE3EtvG8o3LsarK R+AAmSAceXk3d1OvDltZcqhqQ7iysY2T2ShuZOtPjPirbGQbUsadzqJaSFrXndNOphHBEqL2ADV7S BQx3p9YkEFR66JBTP75a8inkhYJWvs3LA9YPNmGjN6dwQLk9ripCmdnl+L/eh9hE9UV5IpknBJX4d o5RqSjKLyEXNQ6oBLQY2Pit1gMEzdIGkN29f53UA94i0jztYR9k05wc2ptLaz2O4GqpW0UEZyRcYS NId4A1S3LZERKPfGxmnF0j/FoXna6PHT9KAU+ON8NpHgrxvllsGee5pDJ+VtcDlRaVzd9XzQ6wxkj RdBIcoI7M1IijA==; Original-Received: from [87.69.77.57] (port=4763 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 1oHQ8w-0006vN-DW; Fri, 29 Jul 2022 09:35:17 -0400 In-Reply-To: <87sfmkjda6.fsf@gmail.com> (message from Robert Pluim on Fri, 29 Jul 2022 14:48:01 +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:238166 Archived-At: > From: Robert Pluim > Cc: Lars Ingebrigtsen , hello@paulwrankin.com, > 56691@debbugs.gnu.org > Date: Fri, 29 Jul 2022 14:48:01 +0200 > > Eli> (font-get (font-at 0 nil "😄") :family) > Eli> => Symbola > > There are dozens if not hundreds of fonts capable of displaying colour > emoji. Really, hundreds? Are you sure? Dozens don't scare me, and I thought there are actually very few? > Is it such a bad thing if we donʼt use the emoji when we could? You mean, by default assume color Emoji aren't supported? That'd contradict what the documentation currently says, and is a strange thing to do in such features. > Eli> (defun display-color-emoji-p (&optional frame) > Eli> "DOC" > Eli> (and (display-multi-font-p frame) > Eli> (let ((font-obj (font-at 0 (frame-selected-window frame) "😄"))) > Eli> (and (fontp font-at) > Eli> (member (font-get font-obj :family) > Eli> list-of-known-emoji-font-families))))) > > That will return nil here, but in this particular terminal emulator, > colour emoji display fine. Terminal emulators is a separate issue. If we need to support that, we will have to let the user specify that. (The current code doesn't support that, either, right?) > Iʼve not been following, but I assume thereʼs a "damn the torpedoes, > I know what Iʼm doing" option for this stuff. But the option's value is not a simple scalar, it is a list of preferences, and they are supposed to be used in the order listed when possible. How do you reconcile that with "I know what I'm doing"? Are users supposed to know in advance, for every display they use, what are its capabilities? And even if they do, are they supposed to configure Emacs to use the lowest common denominator of those displays?