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: Tue, 06 Sep 2022 00:13:12 -0400 Message-ID: References: <87edx28cl1.fsf@disroot.org> <83y1v7w6eu.fsf@gnu.org> <2f302d1c3966849477b3@heytings.org> <83mtbiovzr.fsf@gnu.org> <83o7vxnevs.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="27420"; 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 Tue Sep 06 06:14:39 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 1oVPyx-0006yW-7x for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 06:14:39 +0200 Original-Received: from localhost ([::1]:44440 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVPyv-0006Dd-5B for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Sep 2022 00:14:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41796) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVPxo-0004w8-LF for emacs-devel@gnu.org; Tue, 06 Sep 2022 00:13:28 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:59958) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVPxa-0004g5-0B; Tue, 06 Sep 2022 00:13:27 -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=gUL8RSqZyawlAM+d9O5HmvyxyUJ0kvFZ7cTUaOjGkHk=; b=eVVFxlp5W49p fxqE5hAq51TOr/3C0h7ePvo4uk/dN09hyWDttN87cXniXLvmwfe1uJ9IsUN2bkVhiWUUi5mX4PXHd uEJSC8mu3AGJ/xnthDSi5iSbxGYRUi1351iKGUUCPrclXuEjipt+a8Nzu/JeeDkOEwy21c9kgqjlc 0J587/itNWx8zw9FqiP1F0pZ2AYA4Uvg5iYjsb8up85JjqRQ8+NN9S4Ww7uECdVlZ04Gzipj1oTj9 OpWb7OjoY2Aw7St1eSQ7Qfxo0E8+oCFFOOXD9Qm7aecY9HeoItmFf8qwwdjlT5JnAN9lGtgobmBLv ABRRtE0NE7Ta4fAwm5la7w==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1oVPxY-0002CX-IZ; Tue, 06 Sep 2022 00:13:12 -0400 In-Reply-To: <83o7vxnevs.fsf@gnu.org> (message from Eli Zaretskii on Sat, 03 Sep 2022 09:36:23 +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:294770 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. ]]] > > Eli said it would be difficult to reliably display undisplayable > > characters as diamond _on all consoles_. But I contend that it is not > > hard to implement an option to do this _on Linux consoles_. > > Eli, is there something difficult about that? > Yes: I know of no way of identifying such a console except by its > name. And hard-coding a name of a specific console into our code is > inelegant at best. We are having two miscommunications here. I did not have in mind that Emacs should automatically identify Linux consoles or distinguish them from other text consoles. Rather, the feature should _reliably display diamonds_ on Linux consoles. I can easily make my .emacs file determine whether Emacs is on a Linux console in a way that is reliable _in my case_, and enable this feature only in that case. > More generally, I have no reason to believe that the "feature" of the > Linux console whereby it accepts _any_ UTF-8 encoded character and > displays the U+FFFD "diamond" replacement for those it has no glyphs, > is rock-solid enough. There is no need to set the requirement that high. If it works for user U, that's good enough. -- 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)