From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Display of undisplayable characters: \U01F3A8 instead of diamond Date: Fri, 02 Sep 2022 22:51:27 -0400 Message-ID: References: <87edx28cl1.fsf@disroot.org> <83y1v7w6eu.fsf@gnu.org> <2f302d1c3966849477b3@heytings.org> <83mtbiovzr.fsf@gnu.org> <83a67hq3l7.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4041"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, gregory@heytings.org, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Sep 03 04:52:47 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 1oUJH5-0000u0-FY for ged-emacs-devel@m.gmane-mx.org; Sat, 03 Sep 2022 04:52:47 +0200 Original-Received: from localhost ([::1]:50800 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUJH4-0006OK-Iu for ged-emacs-devel@m.gmane-mx.org; Fri, 02 Sep 2022 22:52:46 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUJFo-0003gN-LG for emacs-devel@gnu.org; Fri, 02 Sep 2022 22:51:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:52036) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUJFo-0001ma-8q; Fri, 02 Sep 2022 22:51:28 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=+nyBX2reRzLus2NICLBM5aMpd0w3B1eqqar01J/pTlk=; b=PiV0MjKenhn1 ZlE57JB+ENKxtO9YMsiWlXch/UfU+CG+JClR1MovOcIP7BJbcpeAPFGtx4rZy94ZThEAKrnHHcH9L nCzeADzIXz+RjprjXil45kC936OwrgMiyVE1hgv5GB/x1eUPj9wBHWFigw0/vzEEmI+M/J/j2zsv9 TGzhmG475JsckUajAaUox2MTAH6vItRo3iIxVpQ/sZKVMN2K3+WSFROlra7Za0htirk0jX7O25nSR mqK+GTwo6hmTvlRD7uFivZSzBkb9rxBXvxMBJDroJIoveyS1TsmgVGXSk2xTa2eLeI8Sv15KvVchh l7v1XMu4ciPmtTyOm35zPw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oUJFn-0006B7-SL; Fri, 02 Sep 2022 22:51:27 -0400 In-Reply-To: <83a67hq3l7.fsf@gnu.org> (message from Eli Zaretskii on Fri, 02 Sep 2022 16:59:48 +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:294595 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > How can Emacs know which characters does your Linux console actually > support, out of all the Unicode range? A few days ago you said it could use char-displayable-p to determine this. If that works, it solves the problem of finding out which characters to display as diamond. As for how, it would be asy to add a variable whose value should be a vector containing integers, or a single-byte string, saying what to send. This will be adequate for a Linux console, and it doesn't need to handle anything else. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)