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:30:23 +0300 Message-ID: <83wnaloi1s.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> <2f302d1c39c343fd8df7@heytings.org> <83zgfhoj57.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18954"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org To: gregory@heytings.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Sep 02 18:34:01 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 1oU9cH-0004iC-Mg for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 18:34:01 +0200 Original-Received: from localhost ([::1]:46528 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU9cG-0001Rr-IM for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 12:34:00 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50526) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU9ZE-0006zl-A4 for emacs-devel@gnu.org; Fri, 02 Sep 2022 12:30:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46408) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU9ZC-0003R4-Gb; Fri, 02 Sep 2022 12:30:51 -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=NDMw35k6wxZwnBXjsgyZGaGdFGG8TgbLJ/GFRWl/JWQ=; b=p/mNaduD8mRm 3VcGR0eaJW3jcHarApfzOFuX/CSbcQzORFh9VC7ZgMyYb1vwJqCbjDVsgmo9pF+uZXi7oCLKaBoWf +Gq03pPsie+dM50IK4668pi9rXswkoHiIKx88X2xz/4j1bMv5rLIAzZ8/pYHsyKarnZUoewhhss/s IvlGi0ayXWj6NpLfC/DAqCrj8rp9n8OmWHoYRIRIoWhHto7fztRPXp2s0yoO/Oo49MUmq0Vyw+d6r 2JS6c5sHg+EPxnb0KUeYlxU4f49IH/OONdd4R45GKnM2tNmVpCOalBQQfKcuxWp8T3e5KlURoqCt5 aHa22IHFV3kHbyD4bjJdgQ==; Original-Received: from [87.69.77.57] (port=3282 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 1oU9Yt-0002Is-8q; Fri, 02 Sep 2022 12:30:32 -0400 In-Reply-To: <83zgfhoj57.fsf@gnu.org> (message from Eli Zaretskii on Fri, 02 Sep 2022 19:06:44 +0300) 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:294576 Archived-At: > Date: Fri, 02 Sep 2022 19:06:44 +0300 > From: Eli Zaretskii > Cc: acm@muc.de, rms@gnu.org, emacs-devel@gnu.org > > > Answering my own suggestion: no. I just tried, and for some reason it > > doesn't work. Here's a screenshot of list-colors-display with > > (xterm-register-default-colors xterm-standard-colors) in > > lisp/term/linux.el. As you can see, bright colors and non-bright colors > > are displayed in the same way, and other colors are displayed wrongly. > > Then I don't understand how come display-color-cells returns such a > large number. Does terminfo returns correct color commands? More generally, what are the color commands which the Linux console supports for more than 8 standard ANSI colors? Does it support any of the commands we can use, as you can see in term.c around lines 4130-4195?