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: Tue, 06 Sep 2022 16:03:42 +0300 Message-ID: <834jxkk635.fsf@gnu.org> References: <87edx28cl1.fsf@disroot.org> <83y1v7w6eu.fsf@gnu.org> <2f302d1c3966849477b3@heytings.org> <83mtbiovzr.fsf@gnu.org> <83a67hq3l7.fsf@gnu.org> <83mtbhneht.fsf@gnu.org> <83czcakqd3.fsf@gnu.org> <87a67dxhfw.fsf@dataswamp.org> <875yi0wzx7.fsf@dataswamp.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20123"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Emanuel Berg Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Sep 06 16:00:13 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 1oVZ7c-00058H-Fh for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 16:00:12 +0200 Original-Received: from localhost ([::1]:52240 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVZ7b-000694-GT for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 10:00:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43340) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVYFF-0008JN-SN for emacs-devel@gnu.org; Tue, 06 Sep 2022 09:04:10 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:50598) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVYFF-00043e-15; Tue, 06 Sep 2022 09:04:01 -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=GgxFrK5648MYpoB8tV4CZb9aWE4WalAu1uiRfYvfC3s=; b=beaerhhGDFoe rkVNzM5rNy/y6TtGBTicFMgu3v86LoSPl3+7mfZk1C1IuHITkKZRokE2bTn9IdpfLQn9wlhmAJZpx uLZxXtTn+fDtGS6kt6mQy+HAic8ctHyryCZwFBQNACvKy/RPKYAZS7s8/wpmKVFjACq5jhLNvnTix Zi+Geli9aS2GGHsktVNZX/3Eo7DarneDUuYkSg2lSp4nXJIcgLlSCAUtXzw7GMHIrmexs597Cy6gC 5g1fMdhDRyNU/0jP+/q/g1j9mkyCH0vAgMwn6FVqp1THHyAgzL+3jnef8n0vwG5sftf7JMm6SxOv0 Fxc7FRoTwh3LBpEOHt+qfg==; Original-Received: from [87.69.77.57] (port=4483 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 1oVYFE-0004gr-ER; Tue, 06 Sep 2022 09:04:00 -0400 In-Reply-To: <875yi0wzx7.fsf@dataswamp.org> (message from Emanuel Berg on Tue, 06 Sep 2022 12:38:28 +0200) 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:294785 Archived-At: > From: Emanuel Berg > Date: Tue, 06 Sep 2022 12:38:28 +0200 > > Eli Zaretskii wrote: > > > The command has a doc string. Did you read it? If so, and if > > the doc string didn't explain that, please ask > > specific questions. > > Don't we need an interface that actually executes the wishes > of the user as specified with the provided argument(s) so that > middle level of using "produced code" can be > skipped altogether? The doc string says: This function produces a buffer with code to set up `standard-display-table' such that characters that cannot be displayed by the terminal, and don't already have their display set up in `standard-display-table', will be represented by a replacement character. You can evaluate the produced code to use the setup for the current Emacs session, or copy the code into your init file, to make Emacs use it for subsequent sessions. The last sentence says how to cause the code to be "executed". > Something like > > (set-unprintable-char-char chr) That would require Emacs to detect all the "unprintable" characters on each startup, which would slow down startup, sometimes to unacceptable lengths of time. If you followed the discussion, this was explained and unanimously rejected.