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: Display of undisplayable characters: \U01F3A8 instead of diamond Date: Fri, 02 Sep 2022 19:03:33 +0300 Message-ID: <831qstpxuy.fsf@gnu.org> References: <87edx28cl1.fsf@disroot.org> <83y1v7w6eu.fsf@gnu.org> <2f302d1c3966849477b3@heytings.org> <2f302d1c3933a5091b66@heytings.org> <83ler2ot5t.fsf@gnu.org> <2f302d1c39bf1aa3cedc@heytings.org> <83czcdq5of.fsf@gnu.org> <2f302d1c3921c2a4649f@heytings.org> <837d2lpzu5.fsf@gnu.org> <2f302d1c39fe0cee958a@heytings.org> <2f302d1c394646fd65d4@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org To: Gregory Heytings Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 02 18:11:37 2022 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 1oU9Gb-0004zx-3Q for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 18:11:37 +0200 Original-Received: from localhost ([::1]:54944 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU9Ga-0001Rn-6m for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 12:11:36 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54316) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU98w-0001te-5F for emacs-devel@gnu.org; Fri, 02 Sep 2022 12:03:42 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:37924) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU98v-0001kL-BO; Fri, 02 Sep 2022 12:03:41 -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=gV+pyMIitVMTiUFVbDHj2ZDa829Rq0eFqUdCGfbH9ew=; b=d5rHljyl+qgg om3ocV1jflbx8S66Ec6KIMTEVpjS4J0HE7GXxsNPR0OWEQOu+lg54NIb+Bn6CLCUVAChdRWVN+o9s 524LNAiRnM7qi33mX4uj1ZWdeXU+qXmHgbVoGbQsywwNoahYzcqck2T+J/5vhXma9v3qDlD9PKzkv CYP5AEy5JZLoG9VmVyS1nja7C3NDhOGMVridRFQU9P844o5L8iP/TVAg0rydGfnRN2Fuv4l4Tiimf tUbToRal5III+5FOgHz39p07cW/sRtAZxFxOxG5nQcbk/P0tX3mNJnBw4P5a4lpAmhjhwHO4y1221 Jq225NPKQn+ZfRPDNSbzag==; Original-Received: from [87.69.77.57] (port=1644 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 1oU98u-0004Z5-8e; Fri, 02 Sep 2022 12:03:40 -0400 In-Reply-To: <2f302d1c394646fd65d4@heytings.org> (message from Gregory Heytings on Fri, 02 Sep 2022 15:34:51 +0000) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 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:294570 Archived-At: > Date: Fri, 02 Sep 2022 15:34:51 +0000 > From: Gregory Heytings > cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org > > > That's the value I get on my system, is it guaranteed to be the same on > > other systems? > > Answering my own question: no. I just tried on another computer, with a > similar kernel (5.17 instead of 5.18), and there display-color-cells > returns 8. So I guess we use the most conservative value here. We should use the actual value, not the most conservative one. > We could make the (xterm-register-default-colors > xterm-standard-colors) call conditional to the return value of > display-color-cells, though. If the value is >= 16, I believe that code does already do that, no?