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:02:18 +0300 Message-ID: <8335d9pxx1.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2419"; 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:15:57 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 1oU9Kn-0000Su-3p for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 18:15:57 +0200 Original-Received: from localhost ([::1]:40656 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU9Km-0008LC-6Z for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 12:15:56 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46170) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU97j-0000AX-OM for emacs-devel@gnu.org; Fri, 02 Sep 2022 12:02:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:60626) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU97i-00019J-J3; Fri, 02 Sep 2022 12:02:26 -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=mUp+U+kBaRrVEBtUko0iYjjjLbututZkbiHrIIQLY3k=; b=o23FvNOvpLUz seaV5Pt+7Yen5eK6+QVdILWoIl7F4iLEGv/xueCCNp60Fk6lgR3fQazuQVvBjDFkmHA7zdijocUMl 9YACn04VhKRgbYD8whWgIB0TZtt5BXKByg56xpNheCjsHzb+tAl27rMYRf/a7art+8ovs9M2loRbv ZNe39yapK5hKGUzmSA/RrAa6DS/a6WQ+RyjFG6cKNKlEO62rsEYyd8MPeOHLhvnxoIGQGWgUVmxpS CPdc1SF2fxN3R0YW/8vOpH5xEusrM05FxKsZfo3U+EIEHgdD2JUBFBcBxUB3XsdL0VuRL5/GugRTs Hh6Dhdv0ewQcAaGgDZUbCg==; Original-Received: from [87.69.77.57] (port=1568 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 1oU97g-0004U2-6g; Fri, 02 Sep 2022 12:02:24 -0400 In-Reply-To: <2f302d1c39fe0cee958a@heytings.org> (message from Gregory Heytings on Fri, 02 Sep 2022 15:27:24 +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:294574 Archived-At: > Date: Fri, 02 Sep 2022 15:27:24 +0000 > From: Gregory Heytings > cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org > > > >>>> I just checked again, and list-colors-display only lists eight colors > >>>> in a raw Linux console. > >>> > >>> What does display-color-cells return in that case? > >> > >> 16777216 > > > > Then I guess linux.el should call the same color setup code as xterm.el > > does in this case. > > > > That's the value I get on my system, is it guaranteed to be the same on > other systems? As long as display-color-cells returns a value greater or equal to 16, I think the result will be correct for the number of colors actually supported? If display-color-cells says 8, then we don't need to do anything.