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: Sun, 28 Aug 2022 23:36:01 -0400 Message-ID: References: <87edx28cl1.fsf@disroot.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="27507"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Akib Azmain Turja Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Aug 29 05:37:51 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 1oSVax-00070U-Ja for ged-emacs-devel@m.gmane-mx.org; Mon, 29 Aug 2022 05:37:51 +0200 Original-Received: from localhost ([::1]:37186 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oSVaw-0007x8-JZ for ged-emacs-devel@m.gmane-mx.org; Sun, 28 Aug 2022 23:37:50 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50932) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSVZC-0006OF-1T for emacs-devel@gnu.org; Sun, 28 Aug 2022 23:36:02 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:33446) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oSVZB-0005MP-DJ; Sun, 28 Aug 2022 23:36:01 -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=JOo3D9bxNGgYinWfcpkWkpNVsdaJWNJUHnle9YyEDDY=; b=kMlFoAXrW7Lr Rv6a0HIByWnoqlQ/GcIgQqmhxgBa3174YHLaAtQ+7bZ+FYL2RBESqP8bN7PbW3JOsnO6vU5dhvnjY Ug/lpeSGIlgjrPCgxZlNai2/m0G8i6BJpAdo31ZJriEZmPod0SxfbJutbpB3lEHdwxBzKrYQdvkrS w0lnTfq+K/n7iEhRCw87oLQkA0NT9kG8Hn/32/sQ9Bk2qUFeq9fk2Dblxw8TBpM5DQBU6QBH5FRK7 7Lz09TP+vp19iYQpUE2t7xe9bPppN8pI5Na0al/mHeKY25wig8Y02YsLjfDV7tQMD+4ktD2zORg8q 8Y8/Po+YLlDUlimmHmiCzw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oSVZB-0008Vf-1X; Sun, 28 Aug 2022 23:36:01 -0400 In-Reply-To: <87edx28cl1.fsf@disroot.org> (message from Akib Azmain Turja on Sat, 27 Aug 2022 11:44:42 +0600) 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:294274 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. ]]] > Anyway, > I workarounded it by modifying glyphless-char-display with the following > in terminal buffers: > --8<---------------cut here---------------start------------->8--- > (set-char-table-extra-slot glyphless-char-display 0 'thin-space) > --8<---------------cut here---------------end--------------->8--- > This shows a single space character. Could a variant of that display a diamond instead of a space? Eli wrote > One way of verifying this is to type > C-x 8 RET fffd RET > in an Emacs session which displays on the Linux console, and see if > that shows the diamond-like glyph or the \Unnnn thing. If it's the > latter, it means the console doesn't support that character, and we > cannot send its code from Emacs. but what is so bad about sending a glyph that the terminal can't display? What bad results does it cause? Or how about fixing it by sending an official code for that diamond glyph? -- 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)