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, 26 Aug 2022 10:15:14 +0300 Message-ID: <83zgfr1nnh.fsf@gnu.org> References: <87bks77azu.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22485"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: =?utf-8?Q?K=C3=A9vin?= Le Gouguec Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Aug 26 09:23:44 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 1oRTgt-0005l0-Uz for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Aug 2022 09:23:44 +0200 Original-Received: from localhost ([::1]:36948 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oRTgs-0003md-VZ for ged-emacs-devel@m.gmane-mx.org; Fri, 26 Aug 2022 03:23:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39646) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRTYV-0000Q2-TD for emacs-devel@gnu.org; Fri, 26 Aug 2022 03:15:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:55010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oRTYV-0007Cf-Id; Fri, 26 Aug 2022 03:15:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=JipMxWSA9QXKljHHqoJ03kTHaPAs3dA5piye5a5nYho=; b=g4LpmFZvwug2saP6aBTl +IuQfJ6Owue8vH29h24sPRRA0Q6GUAdN1C17C20+9vSvAL5tss08Ni2GG3JXlHA/ndvx6uo521ylI Sr3PcM1TovmMKbffAiNZhRab7g0SWEqjFhSjkMZDJE4l2pzBQ5t/1AUqWcjuaIcmez5fqkZgqnHLK X8a93Mw03tNoHaG5ZrTgHub5yoqI9zu1rpKIUSnZFJs2P2LLmk21lA/V17p+aTZSmk21qgyhG+bjr qi3/caXMFZ+oc9HfVVhGxTfra+uu3vREwE4OfNZPlHNemqfsOSN0SAdS3q38y7q1NRuEPguptH9IU JY+9fT6IXCr2AA==; Original-Received: from [87.69.77.57] (port=4964 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 1oRTYU-0004Sq-Na; Fri, 26 Aug 2022 03:15:03 -0400 In-Reply-To: <87bks77azu.fsf@gmail.com> (message from =?utf-8?Q?K=C3=A9vin?= Le Gouguec on Fri, 26 Aug 2022 08:52:05 +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:294134 Archived-At: > From: Kévin Le Gouguec > Date: Fri, 26 Aug 2022 08:52:05 +0200 > > I can't find a way to tweak glyphless-char-display-control to let TTY > frames show diamonds again… maybe a new value display method would be > needed for that purpose? The diamond is a non-ASCII character, so to display it by default, we'd need to make sure the terminal is capable of displaying it. Also, do you really mean diamond, or do you mean U+FFFD REPLACEMENT CHARACTER (which on GUI display is shown as a diamond with a question mark inside)? And why the diamond, of all the possible characters? why not simply '?', for example? (FWIW, providing such an option makes very little sense to me, for the reasons I explained in my previous message. But if people insist, and if we can find a good and safe replacement character to show instead of the hex code, I won't object adding such an option.)